summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-02-07 14:12:59 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-28 14:45:14 +0000
commita0d484d1ee38a527aa6f95b091b564e8a1f8c224 (patch)
tree84d82aaeab833499ff7193fe260dabc221d6e865
parent06eb9948af5015b612ba729fdc69beb2be57bb95 (diff)
downloadqtwayland-a0d484d1ee38a527aa6f95b091b564e8a1f8c224.tar.gz
doc: Add missing documentation screenshots
A few examples were missing screenshots. Having something visual makes it a lot easier to understand the example without having to compile and run it. Task-number: QTBUG-110993 Change-Id: I2c95262f79a94a5da12421e9c19e42ff73a178c0 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 95edcfabc2a289f74421b7e6228e1c58bbdfb8a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/wayland/custom-shell/doc/images/custom-shell.jpgbin0 -> 47699 bytes
-rw-r--r--examples/wayland/custom-shell/doc/src/custom-shell.qdoc2
-rw-r--r--examples/wayland/multi-screen/doc/images/multi-screen.jpgbin0 -> 61459 bytes
-rw-r--r--examples/wayland/multi-screen/doc/src/multi-screen.qdoc2
-rw-r--r--examples/wayland/qtshell/doc/images/qtshell.jpgbin0 -> 148259 bytes
-rw-r--r--examples/wayland/qtshell/doc/src/qtshell.qdoc2
6 files changed, 6 insertions, 0 deletions
diff --git a/examples/wayland/custom-shell/doc/images/custom-shell.jpg b/examples/wayland/custom-shell/doc/images/custom-shell.jpg
new file mode 100644
index 00000000..81f1ed20
--- /dev/null
+++ b/examples/wayland/custom-shell/doc/images/custom-shell.jpg
Binary files differ
diff --git a/examples/wayland/custom-shell/doc/src/custom-shell.qdoc b/examples/wayland/custom-shell/doc/src/custom-shell.qdoc
index 36e84d8b..01cb48f7 100644
--- a/examples/wayland/custom-shell/doc/src/custom-shell.qdoc
+++ b/examples/wayland/custom-shell/doc/src/custom-shell.qdoc
@@ -13,6 +13,8 @@
* extensions, but in some circumstances it can be useful to be able to write a custom one which
* contains the exact features your applications need.
*
+ * \image custom-shell.jpg
+ *
* This requires that you implement the shell extension on both the server-side and client-side
* of the Wayland connection, so it is mainly useful when you are building a platform and are in
* control of both the compositor and its client applications.
diff --git a/examples/wayland/multi-screen/doc/images/multi-screen.jpg b/examples/wayland/multi-screen/doc/images/multi-screen.jpg
new file mode 100644
index 00000000..f43aca07
--- /dev/null
+++ b/examples/wayland/multi-screen/doc/images/multi-screen.jpg
Binary files differ
diff --git a/examples/wayland/multi-screen/doc/src/multi-screen.qdoc b/examples/wayland/multi-screen/doc/src/multi-screen.qdoc
index 235886bd..c2389237 100644
--- a/examples/wayland/multi-screen/doc/src/multi-screen.qdoc
+++ b/examples/wayland/multi-screen/doc/src/multi-screen.qdoc
@@ -13,6 +13,8 @@
* Multi-screen is a desktop-style Wayland compositor example for multiple
* screens.
*
+ * \image multi-screen.jpg
+ *
* For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt,
* see the \l{Minimal QML}{Minimal QML example}.
*
diff --git a/examples/wayland/qtshell/doc/images/qtshell.jpg b/examples/wayland/qtshell/doc/images/qtshell.jpg
new file mode 100644
index 00000000..53b9aa18
--- /dev/null
+++ b/examples/wayland/qtshell/doc/images/qtshell.jpg
Binary files differ
diff --git a/examples/wayland/qtshell/doc/src/qtshell.qdoc b/examples/wayland/qtshell/doc/src/qtshell.qdoc
index 969b35b1..9cd3d760 100644
--- a/examples/wayland/qtshell/doc/src/qtshell.qdoc
+++ b/examples/wayland/qtshell/doc/src/qtshell.qdoc
@@ -12,6 +12,8 @@
* complete Qt Wayland Compositor which uses the specialized
* \l{Shell Extensions - Qt Wayland Compositor}{shell extension protocol} called \l{QtShell}.
*
+ * \image qtshell.jpg
+ *
* The compositor is implemented with Qt Quick and QML.
*
* \section1 Making the Connection