以下成员源于类 QWidget 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
windowIconText
: QString
(obsolete)
bool
|
isEnabledToTLW () const |
(obsolete)
bool
|
isTopLevel () const |
(obsolete)
QWidget *
|
topLevelWidget () const |
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 .
This function is deprecated. It is equivalent to isEnabled ()
使用 isWindow () 代替。
使用 window () 代替。
[signal]
void
QWidget::
windowIconTextChanged
(const
QString
&
iconText
)
This signal is emitted when the window's icon text has changed, with the new iconText 作为自变量。
This signal is deprecated.
该函数在 Qt 5.2 引入。
注意: 通知程序信号对于特性 windowIconText .