QQmlPropertyValueSource Class

The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings. 更多...

头: #include <QQmlPropertyValueSource>
qmake: QT += qml

公共函数

QQmlPropertyValueSource ()
virtual ~QQmlPropertyValueSource ()
virtual void setTarget (const QQmlProperty & property ) = 0

详细描述

Property Value Sources for information on writing custom property value sources.

成员函数文档编制

QQmlPropertyValueSource:: QQmlPropertyValueSource ()

Constructs a QQmlPropertyValueSource.

[虚拟] QQmlPropertyValueSource:: ~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.