aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/models
diff options
context:
space:
mode:
authorShyamnath Premnadh <[email protected]>2023-12-29 16:28:18 +0100
committerShyamnath Premnadh <[email protected]>2024-01-12 09:41:40 +0100
commitb6b607371898eea72c08180e87f57ba79533bcd7 (patch)
tree890f73d3e35ac0cc5d765c042861853d51680f8a /examples/quick/models
parentd39860235bbeb477c7ceac1716b78d23bab35db5 (diff)
Examples: Add Android tag
- Examples that work on Android are tagged Android. - Clicking the tag lists all PySide6 examples supported in Android. - sphinx-tags package added to add blog like tags to examples. [ChangeLog][PySide6] Examples supported on Android are tagged `Android` in documentation Pick-to: 6.6 Task-number: PYSIDE-1612 Change-Id: Ic4ea2c63756d060aeea85b0088da9ae248eda24e Reviewed-by: Christian Tismer <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/quick/models')
-rw-r--r--examples/quick/models/objectlistmodel/doc/objectlistmodel.rst2
-rw-r--r--examples/quick/models/stringlistmodel/doc/stringlistmodel.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/models/objectlistmodel/doc/objectlistmodel.rst b/examples/quick/models/objectlistmodel/doc/objectlistmodel.rst
index d71ee61df..a4af62706 100644
--- a/examples/quick/models/objectlistmodel/doc/objectlistmodel.rst
+++ b/examples/quick/models/objectlistmodel/doc/objectlistmodel.rst
@@ -1,6 +1,8 @@
Object List Model Example
=========================
+.. tags:: Android
+
A list of QObject values can also be used as a model.
A list[QObject,] provides the properties of the objects in the list as roles.
diff --git a/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst b/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst
index 4c00ed130..ce11674b4 100644
--- a/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst
+++ b/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst
@@ -1,6 +1,8 @@
String List Model Example
=========================
+.. tags:: Android
+
A model may be a simple 'list',
which provides the contents of the list via the modelData role.