aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/imageviewer
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-12-11 13:02:23 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-12-12 13:47:55 +0100
commitf6069b9330fc01b68296ef4dffd474ed98784ec6 (patch)
treed3f504d8070430e9f7dfe68e614cc11729420950 /examples/widgets/imageviewer
parent31a9db93d3c355d8e6be4d31eacc02b93d41ffd3 (diff)
Documentation/Examples: Add missing docs
Some examples did not have any documentation. This patch adds the respective documentation. Pick-to: 6.8 Change-Id: I9698752b654c2df29fd3572f6bc66a9df56f9903 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/imageviewer')
-rw-r--r--examples/widgets/imageviewer/doc/imageviewer.rst12
-rw-r--r--examples/widgets/imageviewer/doc/imageviewer.webpbin0 -> 49984 bytes
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/widgets/imageviewer/doc/imageviewer.rst b/examples/widgets/imageviewer/doc/imageviewer.rst
new file mode 100644
index 000000000..5a3001734
--- /dev/null
+++ b/examples/widgets/imageviewer/doc/imageviewer.rst
@@ -0,0 +1,12 @@
+Image Viewer Example
+====================
+
+This example demonstrates an image viewer application built using PySide6,
+featuring functionalities such as opening, saving, printing, copying, pasting,
+and zooming images within a scrollable area. This example demonstrates the
+analogous Qt example `Image Viewer Example
+<https://doc.qt.io/qt-6.2/qtwidgets-widgets-imageviewer-example.html>`_.
+
+.. image:: imageviewer.webp
+ :width: 400
+ :alt: imageviewer screenshot
diff --git a/examples/widgets/imageviewer/doc/imageviewer.webp b/examples/widgets/imageviewer/doc/imageviewer.webp
new file mode 100644
index 000000000..ecc2f6acc
--- /dev/null
+++ b/examples/widgets/imageviewer/doc/imageviewer.webp
Binary files differ