The QDeclarativePropertyValueSource class is an interface for property value sources such as animations and bindings. 更多...
| 头: | #include <QDeclarativePropertyValueSource> |
| QDeclarativePropertyValueSource () | |
| virtual | ~QDeclarativePropertyValueSource () |
| virtual void | setTarget (const QDeclarativeProperty & property ) = 0 |
The QDeclarativePropertyValueSource class is an interface for property value sources such as animations and bindings.
见 Property Value Sources for information on writing custom property value sources.
构造 QDeclarativePropertyValueSource .
[虚拟]
QDeclarativePropertyValueSource::
~QDeclarativePropertyValueSource
()
Destroys the value source.
[pure virtual]
void
QDeclarativePropertyValueSource::
setTarget
(const
QDeclarativeProperty
&
property
)
Set the target property for the value source. This method will be called by the QML engine when assigning a value source.