diff options
Diffstat (limited to 'sources/pyside6')
| -rw-r--r-- | sources/pyside6/doc/extras/QtCore.Property.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside6/doc/extras/QtCore.Property.rst b/sources/pyside6/doc/extras/QtCore.Property.rst index 9ed7de427..671b2dfe2 100644 --- a/sources/pyside6/doc/extras/QtCore.Property.rst +++ b/sources/pyside6/doc/extras/QtCore.Property.rst @@ -63,6 +63,10 @@ Despite the fact that the latter has an extra ``freset`` function, the usage of properties is almost the same. The main difference is that ``QtCore.Property`` requires a ``type`` parameter. + +.. note:: ``Python`` property objects do *not* work in QML; ``QtCore.Property`` + needs to be used. + In the above example, the following lines would be equivalent properties: .. code-block:: python |
