diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-28 10:33:36 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-28 16:27:50 +0100 |
| commit | f017d4abe8199e203a5e625738d312932804601d (patch) | |
| tree | 51932b873bbc7577a1ae7803076c3ada43842f50 /sources/pyside6/doc/extras | |
| parent | 9ef3c0041c489bd9f939c45a571026c3e2227685 (diff) | |
Implement QQmlPropertyValueSource
As is done with the other interfaces, add a class
QPyQmlPropertyValueSource inheriting from QObject and
QQmlPropertyValueSource. Store its offset in
QQmlPrivate::RegisterType::valueSourceCast if it is found as a base
class.
[ChangeLog][PySide6] class QPyQmlPropertyValueSource for
implementing QML value sources for properties has been added.
Task-number: PYSIDE-1709
Change-Id: Icd1bd57972f339f9839ccd8d9bf6ff9e5e16ec62
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/extras')
| -rw-r--r-- | sources/pyside6/doc/extras/QtQml.QPyQmlPropertyValueSource.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/pyside6/doc/extras/QtQml.QPyQmlPropertyValueSource.rst b/sources/pyside6/doc/extras/QtQml.QPyQmlPropertyValueSource.rst new file mode 100644 index 000000000..576b8baa0 --- /dev/null +++ b/sources/pyside6/doc/extras/QtQml.QPyQmlPropertyValueSource.rst @@ -0,0 +1,10 @@ +.. currentmodule:: PySide6.QtQml +.. _QPyQmlPropertyValueSource: + +QPyQmlPropertyValueSource +************************* + +QPyQmlPropertyValueSource is the base class for implementing +`QQmlPropertyValueSource <https://doc.qt.io/qt-6/qqmlpropertyvaluesource.html>`_ + +It provides the required inheritance from **QObject**. |
