![]() |
Qt 6.x
The Qt SDK
|
The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings. More...
#include <qqmlpropertyvaluesource.h>
Public Member Functions | |
QQmlPropertyValueSource () | |
Constructs a QQmlPropertyValueSource. | |
virtual | ~QQmlPropertyValueSource () |
Destroys the value source. | |
virtual void | setTarget (const QQmlProperty &)=0 |
Set the target property for the value source. | |
The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings.
\inmodule QtQml
See \l{Property Value Sources} for information on writing custom property value sources.
Definition at line 14 of file qqmlpropertyvaluesource.h.
QQmlPropertyValueSource::QQmlPropertyValueSource | ( | ) |
Constructs a QQmlPropertyValueSource.
Definition at line 20 of file qqmlpropertyvaluesource.cpp.
|
virtual |
Destroys the value source.
Definition at line 27 of file qqmlpropertyvaluesource.cpp.
|
pure virtual |
Set the target property for the value source.
This method will be called by the QML engine when assigning a value source.
Implemented in QQmlBind, and QQuickAbstractAnimation.
Referenced by QQmlCppOnAssignmentHelper::set().