diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins')
| -rw-r--r-- | examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst b/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst index 95b14a77d..2320a8fa1 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst @@ -7,9 +7,9 @@ about extending QML with Python. This example refers to the Python version of using a QML plugin in Python. The idea of plugins in Python is non-existent because Python modules are dynamically loaded anyway. We use this idea and our QML type registration -decorators - ``QmlELement``/``QmlNamedElement`` - to register the QML modules as they -are imported. The ``pyside6-qml`` tool does this for you by simply pointing to the -``.qml`` file. +decorators - :deco:`~PySide6.QtQml.QmlElement` / :deco:`~PySide6.QtQml.QmlNamedElement` - +to register the QML modules as they are imported. +The :ref:`pyside6-qml` tool does this for you by simply pointing to the ``.qml`` file. .. image:: plugins.png :width: 400 |
