The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings. More...
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS Qml) |
target_link_libraries(mytarget PRIVATE Qt6::Qml)
|qmake:||QT += qml|
|virtual void||setTarget(const QQmlProperty &property) = 0|
See Property Value Sources for information on writing custom property value sources.
Member Function Documentation
Constructs a QQmlPropertyValueSource.
Destroys the value source.
[pure virtual] void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)
Set the target property for the value source. This method will be called by the QML engine when assigning a value source.
© 2022 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.