aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending-qml/chapter6-plugins/doc
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-04 12:02:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-11 11:45:45 +0200
commitc8a2f15dc74c5b3a0cbf3f8c1891f6961578d8b2 (patch)
treedeae5c08d0b6fa4a6523fab1636a612ae66cb36c /examples/qml/tutorials/extending-qml/chapter6-plugins/doc
parentc07ebd5249904cc66393b33ab1e3d92e29ec3da5 (diff)
QML basic reference examples: Add the tutorial texts
Take over the texts from C++ with adaptions for Python. Task-number: PYSIDE-2206 Task-number: QTBUG-111033 Pick-to: 6.5 Change-Id: Iedfb9b6cd62bf467f965c94e5dbb707a88456278 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins/doc')
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst13
1 files changed, 9 insertions, 4 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 aeffd7e9a..a9d100812 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
@@ -3,10 +3,15 @@
Extending QML - Plugins Example
===============================
-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.
+This is the last of a series of 6 examples forming a tutorial
+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.
.. image:: plugins.png
:width: 400