[Interest] QLineEdit placeholder text Qt 5.6.3
Federico Ferri
federico.ferri.it at gmail.com
Tue Sep 15 00:40:03 CEST 2020
https://stackoverflow.com/questions/50423658/qlineedit-paint-a-different-text-than-the-actual-text-placeholder-with-text-n/50425331#50425331
On 13 September 2020 at 14:00:02, Ramakanth Kesireddy (rama.kesi at gmail.com)
wrote:
Hi,
Am using Qt 5.6.3 widgets on embedded Linux.
To display placeholder text of datetimeformat YYYYMMDDhhmmss,QLineEdit is
being used.
It is removed by default as soon as text is entered from custom virtual
keyboard as expected.
Is it possible to display the above placeholder text when user enters the
date from custom keypad so that user could see the format to enter?
For example, when user enters 2, it could still be shown as 2YYYMMDDhhmmss
based on entered date and then follows. Does it makes makes sense to
consider custom QLineEdit to achieve the same?
Any other suggestions are welcome.
_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200914/9fa536c6/attachment.html>
More information about the Interest
mailing list