Organize the tutorials in Qt Widgets so they are visible and reachable

This commit makes visible in the TOC:
- both of the tutorials
- a set of examples for completer, undo framework, and regex'es

Fixes: QTBUG-129818
Change-Id: Id6636782789c4e5b11349af3c4fb33f75035f1a0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Alexei Cazacov 2024-10-11 13:52:11 +03:00
parent 156e5c8b69
commit dcc11ef277
5 changed files with 33 additions and 9 deletions

View File

@ -2,8 +2,9 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*! /*!
\example tutorials/notepad \page widgets-getting-started.html
\title Getting Started Programming with Qt Widgets \title Getting Started Programming with Qt Widgets
\ingroup widget-tutorials
\examplecategory {User Interface Components} \examplecategory {User Interface Components}
\brief A tutorial for Qt Widgets based notepad application. \brief A tutorial for Qt Widgets based notepad application.

View File

@ -142,3 +142,16 @@
also supports keyboard shortcuts and accelerator keys in menu items. also supports keyboard shortcuts and accelerator keys in menu items.
*/ */
/*!
\group examples-widgets-tools
\ingroup all-examples
\title Widget Tools Examples
\brief Using autocomplete features, regular expressions, and undo framework.
\image completer-example.png
Qt provides the functionality for autocomplete, Undo/Redo actions, and
regular expressions for the Widget-based applications.
*/

View File

@ -42,13 +42,7 @@
\li \l {Gestures in Widgets and Graphics View} \li \l {Gestures in Widgets and Graphics View}
\li \l {Graphics View Framework} \li \l {Graphics View Framework}
\li \l {Changes to Qt Widgets}{Upgrading form Qt 5} \li \l {Changes to Qt Widgets}{Upgrading form Qt 5}
\li \l {Widgets Tutorial} \li \l {Qt Widgets Tutorials}{Tutorials}
\list
\li \l{Widgets Tutorial - Creating a Window}{Creating a Window}
\li \l{Widgets Tutorial - Child Widgets}{Child Widgets}
\li \l{Widgets Tutorial - Using Layouts}{Using Layouts}
\li \l{Widgets Tutorial - Nested Layouts}{Nested Layouts}
\endlist
\li \l {Qt Widgets Examples}{Examples} \li \l {Qt Widgets Examples}{Examples}
\list \list
\li \l{Main Window Examples} \li \l{Main Window Examples}
@ -58,6 +52,7 @@
\li \l{Painting Examples} \li \l{Painting Examples}
\li \l{Rich Text Examples} \li \l{Rich Text Examples}
\li \l{Graphics View Examples} \li \l{Graphics View Examples}
\li \l{Widget Tools Examples}
\endlist \endlist
\endlist \endlist

View File

@ -0,0 +1,15 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\page widget-tutorials.html
\title Qt Widgets Tutorials
\brief Tutorials of how to use different kinds of widgets.
\image notepad1.png "Notepad application"
Qt comes with a large range of standard widgets that users of modern
applications have come to expect.
\annotatedlist widget-tutorials
*/

View File

@ -3,7 +3,7 @@
/*! /*!
\page widgets-tutorial.html \page widgets-tutorial.html
\ingroup tutorials \ingroup widget-tutorials
\title Widgets Tutorial \title Widgets Tutorial
\brief This tutorial covers basic usage of widgets and layouts, showing how \brief This tutorial covers basic usage of widgets and layouts, showing how
they are used to build GUI applications. they are used to build GUI applications.