[Kmymoney-devel] Date edit widget

Alvaro Soliverez asoliverez at gmail.com
Sun Jan 10 13:19:17 CET 2010


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.

Regards,
Alvaro


More information about the KMyMoney-devel mailing list