PySide6.QtQml.QQmlPropertyValueSource

class QQmlPropertyValueSource

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

Synopsis

Methods

Virtual methods

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:

propertyQQmlProperty

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