[Qt-interest] Question about inputMask for lineEdit
Alan Ezust
alan.ezust at gmail.com
Wed Jan 20 18:02:42 CET 2010
Is there any reason you are not using a QDateEdit?
That will probably give you what you want without any input masks.
On Wed, Jan 20, 2010 at 8:02 AM, jorma kala <jjkk73 at gmail.com> wrote:
> Hi,
> I want to create a lineEdit for entering dates in the format YYYY-MM-DD so
> I've set an input mask "0000-00-00". But what appears on the widget are only
> the separators "-"; I would like "YYYY-MM-DD" to be displayed in the
> lineEdit widget initially and let the user type the actual date on top of
> the letters YYYY MM DD.
> Do you have any idea of how I could do this?
> Thank you very much
>
> jorma k.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100120/20f9e45a/attachment.html
More information about the Qt-interest-old
mailing list