I am developing an application in QT For Symbian 3. I have a QDialog that takes text input from user. Everything works fine except that the text entered in QLineEdit cannot be seen. The text is there but it is not visible. I used update() and setText() and even styling but it doesn't have any effect? Can anyone please help me??
Asked
Active
Viewed 1,209 times
2
-
Does your cursor move along the line edit as you type? In that case it could just be that the line edit's text color is the same as its background? – Tim Meyer Aug 12 '11 at 08:13
1 Answers
0
So there is no text display, but when you do this: your_line_edit->text();
there is really the text you have entered?
The only solution I can come up with is to do this:
your_line_edit->setEchoMode( QLineEdit::Normal );
Let me know if that works.

Exa
- 4,020
- 7
- 43
- 60
-
1
-
No. `text()` returns the default text set with `setText()` or empty if none set – Mykola Tetiuk Jun 24 '23 at 18:08