aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/models/stringlistmodel/doc
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-15 13:21:53 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-16 10:30:36 +0200
commitcf32b66adbfb489cd6e5d5c0bf3f741b59ba204c (patch)
tree44be69c9487f5d4db1092d061a555bd6001c1ab4 /examples/quick/models/stringlistmodel/doc
parentb20d6f6906f91f9df608d7800f4e27f7a7160abe (diff)
Move examples around
Change the directory structure to closer match that of Qt. Task-number: PYSIDE-841 Change-Id: I87aca346b6654aafe94dd1fb83c184c182ceb2e6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/quick/models/stringlistmodel/doc')
-rw-r--r--examples/quick/models/stringlistmodel/doc/stringlistmodel.pngbin0 -> 1978 bytes
-rw-r--r--examples/quick/models/stringlistmodel/doc/stringlistmodel.rst9
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/quick/models/stringlistmodel/doc/stringlistmodel.png b/examples/quick/models/stringlistmodel/doc/stringlistmodel.png
new file mode 100644
index 000000000..eeb9b518a
--- /dev/null
+++ b/examples/quick/models/stringlistmodel/doc/stringlistmodel.png
Binary files differ
diff --git a/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst b/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst
new file mode 100644
index 000000000..4c00ed130
--- /dev/null
+++ b/examples/quick/models/stringlistmodel/doc/stringlistmodel.rst
@@ -0,0 +1,9 @@
+String List Model Example
+=========================
+
+A model may be a simple 'list',
+which provides the contents of the list via the modelData role.
+
+.. image:: stringlistmodel.png
+ :width: 400
+ :alt: String List Model Screenshot