Obsolete Members for QWidget

The following members of class QWidget are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Public Functions

(obsolete) bool isEnabledToTLW() const
(obsolete) bool isTopLevel() const
(obsolete) QWidget * topLevelWidget() const
  • 2 public functions inherited from QObject

Property Documentation

windowIconText : QString

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.

Access functions:

QString windowIconText() const
void setWindowIconText(const QString &)

Notifier signal:

void windowIconTextChanged(const QString &iconText)

See also windowIcon and windowTitle.

Member Function Documentation

bool QWidget::isEnabledToTLW() const

This function is deprecated. It is equivalent to isEnabled()

bool QWidget::isTopLevel() const

Use isWindow() instead.

QWidget *QWidget::topLevelWidget() const

Use window() instead.

[signal] void QWidget::windowIconTextChanged(const QString &iconText)

This signal is emitted when the window's icon text has changed, with the new iconText as an argument.

This signal is deprecated.

This function was introduced in Qt 5.2.

Note: Notifier signal for property windowIconText.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support