diff options
Diffstat (limited to 'examples')
11 files changed, 32 insertions, 37 deletions
diff --git a/examples/wayland/custom-shell/doc/src/custom-shell.qdoc b/examples/wayland/custom-shell/doc/src/custom-shell.qdoc index 49e3b4e6..36e84d8b 100644 --- a/examples/wayland/custom-shell/doc/src/custom-shell.qdoc +++ b/examples/wayland/custom-shell/doc/src/custom-shell.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - Custom Shell + * \title Custom Shell * \example custom-shell * \meta category {Embedded} * \brief Custom Shell shows how to implement a custom shell extension. @@ -123,11 +123,11 @@ * * The final part of the example is the compositor itself. This has the same general structure as * the other compositor examples. See the - * \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example} for more details on + * \l{Minimal QML}{Minimal QML example} for more details on * the building blocks of a \l{Qt Wayland Compositor}. * * One notable difference in the Custom Shell compositor is the instantiation of the shell - * extension. Where the \l{Qt Wayland Compositor Examples - Minimal QML}{the Minimal QML example} + * extension. Where the \l{Minimal QML}{the Minimal QML example} * instantiates the shell extensions \l{IviApplication}, \l{XdgShell} and \l{WlShell}, the * Custom Shell example only creates an instance of the \c ExampleShell extension. * diff --git a/examples/wayland/ivi-compositor/doc/src/ivi-compositor.qdoc b/examples/wayland/ivi-compositor/doc/src/ivi-compositor.qdoc index ba583fd7..f220476e 100644 --- a/examples/wayland/ivi-compositor/doc/src/ivi-compositor.qdoc +++ b/examples/wayland/ivi-compositor/doc/src/ivi-compositor.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - IVI Compositor + * \title IVI Compositor * \example ivi-compositor * \meta category {Embedded} * \brief IVI Compositor is an example that demonstrates how to use the IviApplication extension. @@ -14,7 +14,7 @@ * server (also known as a Wayland compositor). * * For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt, - * see the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}. + * see the \l{Minimal QML}{Minimal QML example}. * * \section1 The Protocol * diff --git a/examples/wayland/minimal-cpp/doc/src/minimal-cpp.qdoc b/examples/wayland/minimal-cpp/doc/src/minimal-cpp.qdoc index a9092170..7690d1ce 100644 --- a/examples/wayland/minimal-cpp/doc/src/minimal-cpp.qdoc +++ b/examples/wayland/minimal-cpp/doc/src/minimal-cpp.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - \title Qt Wayland Compositor Examples - Minimal CPP + \title Minimal CPP \example minimal-cpp \brief Minimal CPP is an example that demonstrates how to write a Wayland compositor in C++. \ingroup qtwaylandcompositor-examples @@ -11,8 +11,8 @@ using C++. The C++ API of QtWaylandCompositor is low-level and intended for specialized applications, such as supporting hardware features, or if Qt Quick is not available. The QML API offers more convenience and functionality. For comparison, the - \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example} implements more - functionality with 30 lines of QML than this example does in 300+ lines. + \l{Minimal QML}{Minimal QML example} implements more functionality with 30 lines of QML than this + example does in 300+ lines. \image minimal-cpp.jpg diff --git a/examples/wayland/minimal-qml/doc/src/minimal-qml.qdoc b/examples/wayland/minimal-qml/doc/src/minimal-qml.qdoc index 263bbf82..2be82ac4 100644 --- a/examples/wayland/minimal-qml/doc/src/minimal-qml.qdoc +++ b/examples/wayland/minimal-qml/doc/src/minimal-qml.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - Minimal QML + * \title Minimal QML * \example minimal-qml * \meta category {Embedded} * \brief Minimal QML is a simple example that demonstrates how to write a Wayland compositor in QML. @@ -65,7 +65,7 @@ * a \l WaylandOutput object as the direct child of the \l WaylandCompositor. If there is only * a single output, this will represent the primary screen on the system. (You may also create * multiple \l WaylandOutput objects to address multiple screens if they are available. See - * the \l{Qt Wayland Compositor Examples - Multi Screen}{Multi Screen example} for more details + * the \l{Multi Screen}{Multi Screen example} for more details * about this.) * * \snippet minimal-qml/main.qml output @@ -89,5 +89,5 @@ * * And this is all the code needed to create a functional Wayland compositor using Qt Quick and * QML. For another example of a compositor written in QML but which has a few more features, take - * a look at the \l{Qt Wayland Compositor Examples - Pure QML}{Pure QML example}. + * a look at the \l{Pure QML}{Pure QML example}. */ diff --git a/examples/wayland/multi-output/doc/src/multi-output.qdoc b/examples/wayland/multi-output/doc/src/multi-output.qdoc index ba3a9a15..6f0ea7b7 100644 --- a/examples/wayland/multi-output/doc/src/multi-output.qdoc +++ b/examples/wayland/multi-output/doc/src/multi-output.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - \title Qt Wayland Compositor Examples - Multi Output + \title Multi Output \example multi-output \meta category {Embedded} \brief Multi Output is an example that demonstrates a compositor with multiple outputs. @@ -18,7 +18,7 @@ \image multi-output.jpg For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt, - see the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}. + see the \l{Minimal QML}{Minimal QML example}. \section1 Multiple Outputs @@ -50,6 +50,5 @@ \l Qt::AA_ShareOpenGLContexts attribute must be set before the \l QGuiApplication object is constructed. - \sa {Qt Wayland Compositor Examples - Multi Screen}, - {Qt Wayland Compositor Examples - Overview Compositor} + \sa {Multi Screen}, {Overview Compositor} */ diff --git a/examples/wayland/multi-screen/doc/src/multi-screen.qdoc b/examples/wayland/multi-screen/doc/src/multi-screen.qdoc index 53906e94..235886bd 100644 --- a/examples/wayland/multi-screen/doc/src/multi-screen.qdoc +++ b/examples/wayland/multi-screen/doc/src/multi-screen.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - Multi Screen + * \title Multi Screen * \example multi-screen * \meta category {Embedded} * \brief Multi Screen is a desktop-style Wayland compositor for multiple screens. @@ -14,7 +14,7 @@ * screens. * * For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt, - * see the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}. + * see the \l{Minimal QML}{Minimal QML example}. * * \section1 Supporting multiple screens * @@ -62,5 +62,5 @@ * * \snippet multi-screen/main.cpp share context * - * \sa {Qt Wayland Compositor Examples - Multi Output} + * \sa {Multi Output} */ diff --git a/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc b/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc index a4b08b39..e0b13937 100644 --- a/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc +++ b/examples/wayland/overview-compositor/doc/src/overview-compositor.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - Overview Compositor + * \title Overview Compositor * \example overview-compositor * \meta category {Embedded} * \brief Overview Compositor shows how to switch between clients in a grid. @@ -15,7 +15,7 @@ * \image overview-compositor.jpg * * For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt, - * see the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}. + * see the \l{Minimal QML}{Minimal QML example}. * * \section1 Application Grid * @@ -59,8 +59,7 @@ * * This example shows one way to have the compositor visualize clients in different modes. Another * way to achieve similar effects is to create multiple Qt Quick items that refer to the same - * surface. See \l{Qt Wayland Compositor Examples - Multi Output}{the Multi Output example} for a - * demonstration. + * surface. See \l{Multi Output}{the Multi Output example} for a demonstration. * * \ingroup qtwaylandcompositor-examples */ diff --git a/examples/wayland/pure-qml/doc/src/pure-qml.qdoc b/examples/wayland/pure-qml/doc/src/pure-qml.qdoc index 8e00c8a1..0fcb231d 100644 --- a/examples/wayland/pure-qml/doc/src/pure-qml.qdoc +++ b/examples/wayland/pure-qml/doc/src/pure-qml.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - \title Qt Wayland Compositor Examples - Pure QML + \title Pure QML \example pure-qml \meta category {Embedded} \brief Pure QML is an example that demonstrates how to write a Wayland compositor in pure QML. @@ -13,15 +13,13 @@ Pure QML is a small desktop-style Wayland compositor example that demonstrates the power and ease of the \l{Qt Wayland Compositor} QML APIs. - The Pure QML example is similar to the - \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}, in that it is a + The Pure QML example is similar to the \l{Minimal QML}{Minimal QML example}, in that it is a full-blown Wayland compositor, implemented only using QML code. \section1 Initializing the Compositor - Like the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}, Pure QML - supports the main \l{Shell Extensions - Qt Wayland Compositor}{shell extensions} that are - supported by Qt. + Like the \l{Minimal QML}{Minimal QML example}, Pure QML supports the main + \l{Shell Extensions - Qt Wayland Compositor}{shell extensions} that are supported by Qt. \snippet pure-qml/qml/main.qml shell extensions diff --git a/examples/wayland/qtshell/doc/src/qtshell.qdoc b/examples/wayland/qtshell/doc/src/qtshell.qdoc index 893c9e79..969b35b1 100644 --- a/examples/wayland/qtshell/doc/src/qtshell.qdoc +++ b/examples/wayland/qtshell/doc/src/qtshell.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - QtShell Compositor + * \title QtShell Compositor * \example qtshell * \meta category {Embedded} * \brief QtShell Compositor shows how to use the QtShell shell extension. diff --git a/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc b/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc index 63de91c4..a48e4c47 100644 --- a/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc +++ b/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - Server Side Decoration Compositor + * \title Server Side Decoration Compositor * \example server-side-decoration * \meta category {Embedded} * \brief Server Side Decoration Compositor is a simple example that demonstrates server side window decorations on xdg-shell. @@ -16,7 +16,7 @@ * server-side window decorations. * * For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt, - * see the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}. + * see the \l{Minimal QML}{Minimal QML example}. * * \section1 Decorations * diff --git a/examples/wayland/spanning-screens/doc/src/spanning-screens.qdoc b/examples/wayland/spanning-screens/doc/src/spanning-screens.qdoc index 5e98ca09..82568ec0 100644 --- a/examples/wayland/spanning-screens/doc/src/spanning-screens.qdoc +++ b/examples/wayland/spanning-screens/doc/src/spanning-screens.qdoc @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! - * \title Qt Wayland Compositor Examples - Spanning Screens + * \title Spanning Screens * \example spanning-screens * \meta category {Embedded} * \brief Spanning Screens is an example that demonstrates how to let Wayland clients span multiple screens. @@ -16,7 +16,7 @@ * \image spanning-screens.jpg * * For an introduction to the basic principles of creating a \l{Qt Wayland Compositor} with Qt, - * see the \l{Qt Wayland Compositor Examples - Minimal QML}{Minimal QML example}. + * see the \l{Minimal QML}{Minimal QML example}. * * \section1 Supporting Multiple Screens * @@ -49,11 +49,10 @@ * * Referencing the same client surface from multiple items is a tool which can be used for many * things. For a demonstration of a desktop-style compositor where windows can be moved from screen - * to screen, take a look at the - * \l{Qt Wayland Compositor Examples - Multi Screen}{Multi Screen example}. + * to screen, take a look at the \l{Multi Screen}{Multi Screen example}. * - * The \l{Qt Wayland Compositor Examples - Multi Output}{Multi Output example} shows how client - * surfaces can be displayed on multiple outputs with different sizes and other properties. + * The \l{Multi Output}{Multi Output example} shows how client surfaces can be displayed on multiple + * outputs with different sizes and other properties. * * \note In order to support multiple Wayland outputs in the same compositor, the * \l Qt::AA_ShareOpenGLContexts attribute must be set before the \l QGuiApplication |