PySide6.QtQml.QQmlPropertyValueSource¶
- class QQmlPropertyValueSource¶
The
QQmlPropertyValueSource
class is an interface for property value sources such as animations and bindings. More…Synopsis¶
Methods¶
def
__init__()
Virtual methods¶
def
setTarget()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
See Property Value Sources for information on writing custom property value sources.
- __init__()¶
Constructs a
QQmlPropertyValueSource
.- abstract setTarget(property)¶
- Parameters:
property –
QQmlProperty
Set the target
property
for the value source. This method will be called by the QML engine when assigning a value source.