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
See Property Value Sources for information on writing custom property value sources.
- class PySide6.QtQml.QQmlPropertyValueSource#
- abstract PySide6.QtQml.QQmlPropertyValueSource.setTarget(arg__1)#
Set the target
property for the value source. This method will be called by the QML engine when assigning a value source.