Hi
Does someone use current QDateTimeEdit in Qt4 ?
When one finishes editing one section, having typed the two digits most of the time,
a press of a non-digit key is required, easiest being "tab" (just one key press,
under the control of the left hand while the right hand can hold with numeric keypad).
If instead, a digit is entered, it is lost, non echoed because validate will have discarded
it. Not very friendly. And if one gets used to hitting "tab" between sections,
edtion of a date/time in a table will give surprise...
Furthermore, when one clicks into this widget to give it the focus,
no section is selected. So again, typing digits is vain, you have to select the section,
with whichever trick (a vertical movement is the quickest way).
A friend of mine that has used the QDateEdit in Qt3 says the component was perfect.
So what has happened and how can we get around this unkindness efficiently ?
I wrote a hack (bad, a hack is bad by essence) around validate but that does not satisfy me intellectually and I still
can not get around a special case (trying to enter a '1' in third place of month that
I translate into a '1' in first place of year, will trigger a "hard" validation
--because of the change of section-- that refuses the '1' in first position unless the next three digits are >= 752)
Should I file a bug ?
Thanks in advance. Regards


) around
Reply With Quote




Bookmarks