Qt4.8文档翻译:QLineEdit类参考,QLineEdit Class Reference
这个属性表示的是本输入条的占位文字。
如果设置此属性,则在该部件失去焦点并且其text()为空的情况下,该输入条会显示一个灰色的占位文字。
默认情况下,此属性为一个空字符串。
这个属性从Qt 4.7 开始引入。
访问函数:
QString |
placeholderText () const |
void |
setPlaceholderText ( const QString & ) |
参考text()。
Your opinionsHxLauncher: Launch Android applications by voice commands