Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 Symbian 3 开发一个 QT 应用程序。我有一个 QDialog,它接受用户的文本输入。除了看不到 QLineEdit 中输入的文本外,一切正常。文本在那里,但不可见。我使用了 update() 和 setText() 甚至样式,但它没有任何效果?谁能帮帮我吗??
所以没有文字显示,但是当你这样做的时候:your_line_edit->text();真的有你输入的文字吗?
your_line_edit->text();
我能想出的唯一解决方案是这样做:
your_line_edit->setEchoMode( QLineEdit::Normal );
让我知道这是否有效。