[Qt-interest] Question about inputMask for lineEdit
jorma kala
jjkk73 at gmail.com
Thu Jan 21 17:59:18 CET 2010
Thanks I'll try the QDateEdit
On Wed, Jan 20, 2010 at 5:02 PM, Alan Ezust <alan.ezust at gmail.com> wrote:
> 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/20100121/e3b74fd3/attachment.html
More information about the Qt-interest-old
mailing list