I have a QLineEdit
with a PlaceholderText
.
I want to clear the PlaceholderText
only when a person starts typing, else the blinking cursor and PlacehoderText
both should be there in that QLineEdit
.
It is the first field of the page, so I have set the focus to this QLineEdit
, but the PlaceholderText
disappears as soon as this page is displayed.
Please suggest if I'll have to add a SIGNAL/SLOT for this QLIneEdit
, so that the PlaceholderText
doesn't get cleared off.