From a0d484d1ee38a527aa6f95b091b564e8a1f8c224 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 7 Feb 2023 14:12:59 +0100 Subject: 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 (cherry picked from commit 95edcfabc2a289f74421b7e6228e1c58bbdfb8a9) Reviewed-by: Qt Cherry-pick Bot --- .../wayland/custom-shell/doc/images/custom-shell.jpg | Bin 0 -> 47699 bytes .../wayland/custom-shell/doc/src/custom-shell.qdoc | 2 ++ .../wayland/multi-screen/doc/images/multi-screen.jpg | Bin 0 -> 61459 bytes .../wayland/multi-screen/doc/src/multi-screen.qdoc | 2 ++ examples/wayland/qtshell/doc/images/qtshell.jpg | Bin 0 -> 148259 bytes examples/wayland/qtshell/doc/src/qtshell.qdoc | 2 ++ 6 files changed, 6 insertions(+) create mode 100644 examples/wayland/custom-shell/doc/images/custom-shell.jpg create mode 100644 examples/wayland/multi-screen/doc/images/multi-screen.jpg create mode 100644 examples/wayland/qtshell/doc/images/qtshell.jpg 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 Binary files /dev/null and b/examples/wayland/custom-shell/doc/images/custom-shell.jpg 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 Binary files /dev/null and b/examples/wayland/multi-screen/doc/images/multi-screen.jpg 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 Binary files /dev/null and b/examples/wayland/qtshell/doc/images/qtshell.jpg 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 -- cgit v1.2.1