diff options
author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-03-16 23:39:14 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-17 21:51:46 +0000 |
commit | dc3e4a064ee7e88e0950b860f8d0aa7557fb6f5c (patch) | |
tree | 65b2c51d5e3d03f7771efc3ee83672b058162e6c /examples/widgets | |
parent | 5810a773a1e7ebcba77de76dcd701d45032be8b9 (diff) |
doc: migrate qdoc approach to document examples
There were two previous documented examples using the approach
based on qdoc: stardelegate, and classwizard.
This patch moves them into the 'doc/' directory for each example,
and partially revert the changes from
308157f01260c640e21f6972619d3b380c007acb
Additionally, an unrelated screenshot was moved to a new general
'images/' directory.
Task-number: PYSIDE-1112
Change-Id: I239a24fa4e4f970540857ba8b33b9b13c18142b1
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit d97aedf37809c479ab409c4247b60c0cfcef35d6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets')
-rw-r--r-- | examples/widgets/dialogs/classwizard/doc/classwizard.png | bin | 0 -> 57931 bytes | |||
-rw-r--r-- | examples/widgets/dialogs/classwizard/doc/classwizard.rst | 11 | ||||
-rw-r--r-- | examples/widgets/itemviews/stardelegate/doc/stardelegate.png | bin | 0 -> 22482 bytes | |||
-rw-r--r-- | examples/widgets/itemviews/stardelegate/doc/stardelegate.rst | 10 |
4 files changed, 21 insertions, 0 deletions
diff --git a/examples/widgets/dialogs/classwizard/doc/classwizard.png b/examples/widgets/dialogs/classwizard/doc/classwizard.png Binary files differnew file mode 100644 index 000000000..1706772d8 --- /dev/null +++ b/examples/widgets/dialogs/classwizard/doc/classwizard.png diff --git a/examples/widgets/dialogs/classwizard/doc/classwizard.rst b/examples/widgets/dialogs/classwizard/doc/classwizard.rst new file mode 100644 index 000000000..a6959c6e2 --- /dev/null +++ b/examples/widgets/dialogs/classwizard/doc/classwizard.rst @@ -0,0 +1,11 @@ +Classwizard Example +=================== + +Demonstrates the use of QDialog in a wizard application + +This example demonstrates the use a custom QDialog in a wizard, +which generates necessary C++ class template code. + +.. image:: classwizard.png + :width: 400 + :alt: classwizard screenshot diff --git a/examples/widgets/itemviews/stardelegate/doc/stardelegate.png b/examples/widgets/itemviews/stardelegate/doc/stardelegate.png Binary files differnew file mode 100644 index 000000000..343416397 --- /dev/null +++ b/examples/widgets/itemviews/stardelegate/doc/stardelegate.png diff --git a/examples/widgets/itemviews/stardelegate/doc/stardelegate.rst b/examples/widgets/itemviews/stardelegate/doc/stardelegate.rst new file mode 100644 index 000000000..fe8a2732a --- /dev/null +++ b/examples/widgets/itemviews/stardelegate/doc/stardelegate.rst @@ -0,0 +1,10 @@ +Star Delegate Example +===================== + +Demonstrates Qt's itemview architecture + +This example demonstrates the Qt model view architecture. + +.. image:: stardelegate.png + :width: 400 + :alt: Star Delegate Screenshot |