diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-11-06 13:33:15 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-11-07 12:28:41 +0100 |
| commit | 65aea076261d0651c515999040460008d6183af4 (patch) | |
| tree | ba56d726c07a154bfe1d0701ca95c69d183d4af2 /examples/qml/tutorials/extending-qml/chapter6-plugins | |
| parent | 34110468cf63450827f693f6b29bebdd04d4beda (diff) | |
Documentation: Use more references in the QML tutorial examples
Pick-to: 6.8
Change-Id: Id40b51d321830477ad67545ef0e96124ccafc894
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
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 |
