以下成員源於類 QWidget 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
windowIconText
: QString
(棄用)
bool
|
isTopLevel () const |
(棄用)
void
|
setWindowIconText (const QString &) |
(棄用)
QWidget *
|
topLevelWidget () const |
(棄用)
QString
|
windowIconText () const |
(棄用)
void
|
windowIconTextChanged (const QString & iconText ) |
[deprecated]
windowIconText
:
QString
This property is deprecated. We strongly advise against using it in new code.
This property holds the text to be displayed on the icon of a minimized window
This property only makes sense for windows. If no icon text has been set, this accessor returns an empty string. It is only implemented on the X11 platform, and only certain window managers use this window property.
This property is deprecated.
訪問函數:
| QString | windowIconText () const |
| void | setWindowIconText (const QString &) |
通知程序信號:
| void | windowIconTextChanged (const QString & iconText ) |
另請參閱 windowIcon and windowTitle .
[deprecated]
bool
QWidget::
isTopLevel
() const
This function is deprecated. We strongly advise against using it in new code.
使用 isWindow () 代替。
[deprecated]
QWidget
*QWidget::
topLevelWidget
() const
This function is deprecated. We strongly advise against using it in new code.
使用 window () 代替。
[signal, deprecated]
void
QWidget::
windowIconTextChanged
(const
QString
&
iconText
)
This function is deprecated. We strongly advise against using it in new code.
This signal is emitted when the window's icon text has changed, with the new iconText 作為自變量。
This signal is deprecated.
注意: 通知程序信號對於特性 windowIconText .