QQmlPropertyValueSource Class
QQmlPropertyValueSource クラスは、アニメーションやバインディングなどのプロパティ値ソースのためのインターフェースです。詳細...
ヘッダー | #include <QQmlPropertyValueSource> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Qml) target_link_libraries(mytarget PRIVATE Qt6::Qml) |
qmake: | QT += qml |
パブリック関数
QQmlPropertyValueSource() | |
virtual | ~QQmlPropertyValueSource() |
virtual void | setTarget(const QQmlProperty &property) = 0 |
詳細説明
カスタムプロパティ値ソースの書き方については、プロパティ値ソースを参照してください。
メンバ関数のドキュメント
QQmlPropertyValueSource::QQmlPropertyValueSource()
QQmlPropertyValueSource を構築します。
[virtual noexcept]
QQmlPropertyValueSource::~QQmlPropertyValueSource()
値ソースを破棄する。
[pure virtual]
void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)
値ソースのターゲットproperty を設定する。このメソッドはQMLエンジンが値ソースを代入する際に呼び出されます。
© 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.