[Interest] QLineEdit placeholder text Qt 5.6.3

Ramakanth Kesireddy rama.kesi at gmail.com
Sun Sep 13 14:02:03 CEST 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200913/27298d3a/attachment.html>


More information about the Interest mailing list