このページでは

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エンジンによって呼び出されます。

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