以下成员源于类 QLineEdit 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
bool
|
validateAndSet (const QString & newText , int newPos , int newMarkAnchor , int newMarkDrag ) |
使用 setText (), setCursorPosition () 和 setSelection () 代替。