Obsolete Members for QWidget

QWidget クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが引き続き動作するように提供されているものです。新しいコードでの使用は強く推奨しません。

プロパティ

パブリック関数

(deprecated) bool isTopLevel() const
(deprecated) void setWindowIconText(const QString &)
(deprecated) QWidget *topLevelWidget() const
(deprecated) QString windowIconText() const

シグナル

(deprecated) void windowIconTextChanged(const QString &iconText)

プロパティのドキュメント

[deprecated] windowIconText : QString

この列挙型は非推奨となっています。新しいコードでの使用は強く推奨しません。

このプロパティは、最小化されたウィンドウのアイコンに表示されるテキストを保持します。

このプロパティはウィンドウに対してのみ意味を持ちます。アイコンテキストが設定されていない場合、このアクセサは空の文字列を返します。これは X11 プラットフォームでのみ実装されており、特定のウィンドウマネージャーのみがこのウィンドウプロパティを使用します。

このプロパティは非推奨です。

アクセス関数:

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

Notifierシグナル:

void windowIconTextChanged(const QString &iconText)

関連項目: windowIcon およびwindowTitle 。

メンバ関数のドキュメント

[deprecated] bool QWidget::isTopLevel() const

この関数は非推奨です。新しいコードでの使用は強く推奨しません。

代わりに `isWindow()` を使用してください。

[deprecated] QWidget *QWidget::topLevelWidget() const

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

代わりに `window()` を使用してください。

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

この関数は非推奨です。新しいコードでの使用は強く推奨しません。

このシグナルは、ウィンドウのアイコンテキストが変更された際に発火し、引数として新しいiconText が渡されます。

このシグナルは非推奨です。

注: プロパティ `windowIconText` に対する通知 シグナルです。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.