[Kmymoney-devel] Date edit widget

Thomas Baumgart thb at net-bembel.de
Sun Jan 10 13:46:31 CET 2010

On Sunday 10 January 2010 13:19:17 Alvaro Soliverez wrote:
> On Sun, Jan 10, 2010 at 8:20 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> > Hi,
> >
> > while looking into https://bugs.kde.org/show_bug.cgi?id=219742 I noticed,
> > that assigning an invalid date to the QDateEdit widget is not possible
> > anymore. This bites us when doing the multi-transaction edit.
> > Unfortunately, it is not possible to figure out, if the user changed the
> > date and we need to modify the selected transactions.
> >
> > A way out could be to use KDEPIM::KDateEdit widget. It has a different
> > behavior, but would allow to identify if the user changed it or not.
> > Unfortunately, the pim guys made it impossible to modify the date picker
> > behavior to support the 'no date selected' option.
> >
> > I see a few options out of this:
> >
> > a) implement our own widget from scratch
> > b) copy the code of KDEPIM::KDateEdit over into our source tree and
> > modify it to our needs
> > c) use the KDEPIM::KDateEdit widget as is (means we don't have the
> > feature to select 'no date' in the picker while still being able to clear
> > the text in the widget for not date selection)
> >
> > I could stick with c) but don't want to go for a)
> I would go with c), but I would check with the KDEPIM guys how stable
> we can expect that widget to be. I don't want to be bitten again by
> using a moving target.

The header file has not been changed for 19 months. And in case it changes, 
there's alwas option b)



Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
There are only 10 types of people in the world: those who
understand binary arithmetic and those who don't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100110/9308d2b1/attachment.sig 

More information about the KMyMoney-devel mailing list