[Kmymoney-devel] Date edit widget

Thomas Baumgart thb at net-bembel.de
Sun Jan 10 12:20:42 CET 2010


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)

Thoughts? Questions? Ideas?

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
My software never has bugs.
It just develops random features ... -- anonymous
-------------------------------------------------------------
-------------- 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/fdadcdf3/attachment.sig 


More information about the KMyMoney-devel mailing list