以下成員源於類 QLineEdit 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
void
|
getTextMargins (int * left , int * top , int * right , int * bottom ) const |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
使用 textMargins ()
Returns the widget's text margins for left , top , right ,和 bottom .
該函數在 Qt 4.5 引入。
另請參閱 setTextMargins ().