QDeclarativePropertyValueSource Class Reference

[ QtDeclarative module]

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

Inherited by QPyDeclarativePropertyValueSource .

方法


详细描述

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.__init__ ( self )

构造 QDeclarativePropertyValueSource .

QDeclarativePropertyValueSource.__init__ ( self , QDeclarativePropertyValueSource )

QDeclarativePropertyValueSource.setTarget ( self , QDeclarativeProperty )

This method is abstract and should be reimplemented in any sub-class.

Set the target property for the value source. This method will be called by the QML engine when assigning a value source.