Categories
How can I make a test on the background of a QLineEdit?
I wanted to know how to do this: I took this from the discord, such an inscription is in this line only when nothing is written in lineEdit, this text cannot be copied, etc.
Answer the question
In order to leave comments, you need to log in
QLineEdit *q = new QLineEdit(this); q->setPlaceholderText("Enter number");
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question