QQmlPropertyValueSource#

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

Synopsis#

Virtual functions#

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.

class PySide6.QtQml.QQmlPropertyValueSource#

Constructs a QQmlPropertyValueSource .

abstract PySide6.QtQml.QQmlPropertyValueSource.setTarget(arg__1)#
Parameters:

arg__1PySide6.QtQml.QQmlProperty

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