QQmlPropertyValueSourceclass is an interface for property value sources such as animations and bindings. 更多 …
见 Property Value Sources for information on writing custom property value sources.
QQmlPropertyValueSource
¶
PySide2.QtQml.QQmlPropertyValueSource.
setTarget
(
arg__1
)
¶
arg__1
–
QQmlProperty
Set the target
特性
for the value source. This method will be called by the QML engine when assigning a value source.