QQmlPropertyValueSource Class
The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings. More...
| Header: |
#include <QQmlPropertyValueSource> |
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Qml)
target_link_libraries(mytarget PRIVATE Qt6::Qml) |
| qmake: |
QT += qml |
Public Functions
Member Function Documentation
QQmlPropertyValueSource::QQmlPropertyValueSource()
Constructs a QQmlPropertyValueSource.
QQmlPropertyValueSource::~QQmlPropertyValueSource()
Destroys the value source.
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.