QPropertyNotifier Class
QPropertyNotifier クラスは、QProperty に設定された変更コールバックのライフサイクルを制御します。詳細...
| ヘッダー: | #include <QPropertyNotifier> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
| 以下のように: | Qt 6.2 |
| 継承元: | QPropertyObserver |
パブリック関数
詳細な説明
QPropertyNotifierは、QProperty::addNotifier を使用して、QProperty に対してプロパティ値の変更を監視するためのコールバックを登録する際に生成されます。変更ハンドラが存続している限り、コールバックはインストールされたままとなります。
ハンドラインスタンスは、移動セマンティクスを使用して C++ スコープ間で転送することができます。
メンバ関数のドキュメント
[noexcept default] QPropertyNotifier::QPropertyNotifier()
QPropertyNotifier のインスタンスをデフォルトコンストラクタで生成します。
© 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.