QDynamicPropertyChangeEvent Class

QDynamicPropertyChangeEvent クラスには、動的プロパティ変更イベントのイベント・パラメータが含まれています。詳細...

ヘッダー #include <QDynamicPropertyChangeEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
継承: QEvent

パブリック関数

QDynamicPropertyChangeEvent(const QByteArray &name)
QByteArray propertyName() const

詳細説明

動的プロパティ変更イベントは、QObject::setProperty() を使用してプロパティが動的に追加、変更、または削除されたときにオブジェクトに送信されます。

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

[explicit] QDynamicPropertyChangeEvent::QDynamicPropertyChangeEvent(const QByteArray &name)

プロパティ名をname に設定した動的プロパティ変更イベントオブジェクトを構築する。

QByteArray QDynamicPropertyChangeEvent::propertyName() const

追加、変更、または削除されたダイナミック・プロパティの名前を返します。

QObject::setProperty() およびQObject::dynamicPropertyNames()も参照して ください。

© 2025 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.