Re: [Interest] QLineEdit placeholder text Qt 5.6.3

2020-09-14 Thread Federico Ferri
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.k...@gmail.com)
wrote:

Hi,

Am using Qt 5.6.3 widgets on embedded Linux.
To display placeholder text of datetimeformat MMDDhhmmss,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@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] QLineEdit placeholder text Qt 5.6.3

2020-09-13 Thread Ramakanth Kesireddy
Hi,

Am using Qt 5.6.3 widgets on embedded Linux.
To display placeholder text of datetimeformat MMDDhhmmss,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@qt-project.org
https://lists.qt-project.org/listinfo/interest