diff options
Diffstat (limited to 'src/quick/doc/src/examples.qdoc')
-rw-r--r-- | src/quick/doc/src/examples.qdoc | 100 |
1 files changed, 51 insertions, 49 deletions
diff --git a/src/quick/doc/src/examples.qdoc b/src/quick/doc/src/examples.qdoc index 29f7a02618..84f2986722 100644 --- a/src/quick/doc/src/examples.qdoc +++ b/src/quick/doc/src/examples.qdoc @@ -1,36 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! \page qtquick-codesamples.html \title Qt Quick Examples and Tutorials \brief Building UIs with QML -\ingroup all-examples \ingroup qtquick \keyword qtquick-samples @@ -38,7 +13,7 @@ Qt includes several examples to demonstrate a particular usage. The examples run as applications or as non-GUI examples in Qt Creator. Qt tutorials show the step-by-step information and give insight to particular code snippets. -This page lists the \l{Qt QML} and \l{Qt Quick} examples, however, many other +This page lists the \l{Qt Qml} and \l{Qt Quick} examples, however, many other \l{All Modules}{Qt modules} contain examples related to their QML API. \section1 Running the Examples and Demos @@ -77,8 +52,6 @@ steps such as use cases and introductory material. For more information about Qt \b{Development Environment} \list \li \l{Qt Creator: Creating Qt Quick Projects}{Creating Qt Quick Projects} - \li \l{Qt Creator: Creating Components}{Creating Components} - \li \l{Qt Creator: Exporting from Design Tools}{Exporting from Design Tools} \li \l{Qt Creator: Using QML Modules with Plugins}{Using QML Modules with Plugins} \endlist \enddiv @@ -86,7 +59,8 @@ steps such as use cases and introductory material. For more information about Qt \b{Beginning with QML and Qt Quick} \list \li \l{First Steps with QML} - \li \l{Getting Started Programming with Qt Quick}{Qt Quick Text Editor} + \li \l{Getting Started Programming with Qt Quick}{Alarms Application} + \li \l{Qt Design Studio: Your First UI}{Qt Design Studio Tutorials} \li \l{QML Advanced Tutorial}{SameGame} \endlist \enddiv @@ -106,11 +80,12 @@ steps such as use cases and introductory material. For more information about Qt \section2 Extending QML -The following tutorials show how a QML-based application can be combined with -C++ code using the \l{Qt QML} module. For information about extending QML, visit -the \l{Integrating QML and C++} page. - -\annotatedlist{qmlextendingexamples} +The following tutorials show how a QML-based application can be combined and +exteneded with C++ code using the \l{Qt Qml} module. +\list + \li \l {Writing QML Extensions with C++} + \li \l {Writing advanced QML Extensions with C++} +\endlist \section1 Examples @@ -123,20 +98,18 @@ Creator. \b{QML Types and Controls} \list \li \l{Qt Quick Controls - Gallery}{Controls Gallery} - \li \l{Calendar Example} \li \l{tableview/gameoflife}{TableView} \li \l{Qt Quick Examples - Text}{Text and Fonts} - \li \l{Qt Quick Examples - Toggle Switch}{Custom Toggle Switch} \endlist \enddiv \div {class="doc-column"} \b{Layouts and Views} \list \li \l{Qt Quick Layouts - Basic Example} + \li \l{Qt Quick Layouts - Responsive Layout Example} \li \l{Qt Quick Examples - Positioners}{Positioners} \li \l{Qt Quick Examples - Views}{Views} \li \l{Qt Quick Examples - Window and Screen}{Windows and Screen} - \li \l{Qt Quick Examples - Right to Left}{Right-to-Left and Text Layout} \endlist \enddiv \div {class="doc-column"} @@ -146,6 +119,15 @@ Creator. \li \l{Qt Quick Examples - Animation}{Animation} \li \l{Qt Quick Examples - Canvas}{Canvas API} \li \l{Qt Quick Examples - Shader Effects}{Shader Effects} + \li \l{Qt Quick Examples - MultiEffect Test Bed}{MultiEffect} + \li \l{Qt Quick Examples - MultiEffect Item Switcher}{MultiEffect-based Item Transitions} + \endlist + \enddiv + \div {class="doc-column"} + \b{Shapes} + \list + \li \l{Qt Quick Examples - Shapes}{Shapes} + \li \l{Weather Forecast Example}{Weather Forecast} \endlist \enddiv \enddiv @@ -155,32 +137,52 @@ Creator. \b{Keyboard, Focus, and Touch} \list \li \l{Qt Quick Examples - Key Interaction}{Key Interaction} - \li \l{Qt Quick Examples - MouseArea}{MouseArea} + \li \l{Qt Quick Examples - Pointer Handlers}{Pointer Handlers} \endlist \enddiv \div {class="doc-column"} \b{System and Events} \list - \li \l{Qt Quick Examples - Threading}{Threading} \li \l{Qt Quick Examples - Accessibility}{Accessibility} - \li \l{Qt Quick Examples - externaldraganddrop}{External Drag and Drop} \li \l{Qt Quick Examples - Drag and Drop}{Drag and Drop} + \li \l{Qt Quick Examples - Item Variable Refresh Rate}{Item Variable Refresh Rate} \endlist \enddiv \div {class="doc-column"} \b{Scene Graph} \list \li \l{Scene Graph - Custom Material}{Custom Material} + \li \l{Scene Graph - RHI Under QML}{Portable QRhi-based 3D rendering as a scene underlay} + \li \l{Scene Graph - RHI Texture Item}{Displaying a QRhi-rendered image in a QQuickItem} + \li \l{Scene Graph - Custom QSGRenderNode}{Implementing a QRhi-based QSGRenderNode} + \li \l{QQuickRenderControl RHI Example}{Redirecting Qt Quick rendering into a QRhiTexture} \li \l{Scene Graph - Two Texture Providers}{Texture Providers and Materials} \li \l{Scene Graph - Custom Geometry}{Custom Geometry} \li \l{Scene Graph - Graph}{Graph} - \li \l{Scene Graph - OpenGL Under QML}{OpenGL Under QML} - \li \l{Scene Graph - Direct3D 11 Under QML}{Direct3D 11 Under QML} - \li \l{Scene Graph - Vulkan Under QML}{Vulkan Under QML} - \li \l{Scene Graph - Vulkan Texture Import}{Vulkan Texture Import} - \li \l{Scene Graph - Metal Under QML}{Metal Under QML} - \li \l{Scene Graph - Metal Texture Import}{Metal Texture Import} - \li \l{Scene Graph - Rendering FBOs}{Rendering to OpenGL FBOs} + \endlist + \enddiv +\enddiv + +\div {class="multi-column"} + \div {class="doc-column"} + \b{Extending the Scene Graph using native 3D APIs} + \list + \li \l{Scene Graph - Vulkan Under QML}{Vulkan-based 3D rendering as a scene underlay} + \li \l{Scene Graph - Vulkan Texture Import}{Implementing a custom QQuickItem that displays a native Vulkan image} + \li \l{Scene Graph - Metal Under QML}{Metal-based 3D rendering as a scene underlay} + \li \l{Scene Graph - Metal Texture Import}{Implementing a custom QQuickItem that displays a native Metal texture} + \li \l{Scene Graph - Direct3D 11 Under QML}{Direct3D 11-based rendering as a scene underlay} + \li \l{Scene Graph - OpenGL Under QML}{OpenGL-based rendering as a scene underlay} + \li \l{QQuickRenderControl OpenGL Example}{Redirecting Qt Quick rendering into an OpenGL texture} + \li \l{QQuickRenderControl D3D11 Example}{Redirecting Qt Quick rendering into a Direct 3D texture} + \endlist + \enddiv + \div {class="doc-column"} + \b{Adding Qt Quick scenes in QWidget applications} + \list + \li \l{Qt Quick Widgets Example}{Using QQuickWidget} + \li \l{QQuickWidget - QQuickView Comparison Example}{QQuickWidget - QQuickView Comparison (OpenGL)} + \li \l{Qt Quick Examples - Embedded in Widgets}{Embedding a QQuickView as Native Window} \endlist \enddiv \enddiv |