summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2022-03-09 14:55:21 +0100
committerAndreas Eliasson <andreas.eliasson@qt.io>2022-03-22 16:49:05 +0100
commitc1dc32185b26e840405c81ff9d5e69cb2d483cd5 (patch)
treeb9b0d3a6fbc13f60dfaaaae720b40833ea62e908 /src/widgets/doc
parent061541ea44b75a80824ec6777a51ebcbd6f38172 (diff)
Doc: Reorganize sections structure in Qt Widgets landing page
Also, use the global include snippets for the 'Using the Module' section. Task-number: QTBUG-100369 Pick-to: 6.3 Change-Id: Ib9e32dd48689879c91c7c307f8cf0f01dc478efe Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/widgets/doc')
-rw-r--r--src/widgets/doc/src/qtwidgets-index.qdoc41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/widgets/doc/src/qtwidgets-index.qdoc b/src/widgets/doc/src/qtwidgets-index.qdoc
index 57ed0e69c1..3119729891 100644
--- a/src/widgets/doc/src/qtwidgets-index.qdoc
+++ b/src/widgets/doc/src/qtwidgets-index.qdoc
@@ -113,46 +113,35 @@ interfaces
\image graphicsview-items.png
- \include module-use.qdocinc using qt module
- \snippet snippets/CMakeLists.txt cmake_use
+ \section1 Using the Module
- See also the \l {Build with CMake} overview.
+ \include {module-use.qdocinc} {using the c++ api}
- \include module-use.qdocinc building with qmake
- \snippet snippets.pro qmake_use
+ \section2 Building with CMake
- \section1 Module Evolution
- \l{Changes to Qt Widgets} lists important changes in the module API
- and functionality that were done for the Qt 6 series of Qt.
+ \include {module-use.qdocinc} {building with cmake} {Widgets}
- \section1 Licenses
+ \section2 Building with qmake
- The Qt Widgets module is available under commercial licenses from \l{The Qt Company}.
- In addition, it is available under free software licenses:
- The \l{GNU Lesser General Public License, version 3}, or
- the \l{GNU General Public License, version 2}.
- See \l{Qt Licensing} for further details.
+ \include {module-use.qdocinc} {building_with_qmake} {widgets}
- \section1 Related Information
+ \section1 Articles and Guides
- \section2 Tutorials
\list
\li \l{Widgets Tutorial}
\li \l{Getting Started Programming with Qt Widgets}
\li \l{Creating a Qt Widget Based Application}
-
-
\li \l{Model/View Tutorial}
\endlist
- \section2 Examples
+ \section1 Examples
+
\list
\li \l{Qt Widgets Examples}
\li \l{Layout Examples}
\endlist
\section1 API Reference
- These are links to the API reference materials.
\list
\li \l{Qt Widgets C++ Classes}
@@ -170,4 +159,16 @@ interfaces
\li \l{Qt Style Sheets Reference}
\endlist
+ \section1 Module Evolution
+
+ \l{Changes to Qt Widgets} lists important changes in the module API
+ and functionality that were done for the Qt 6 series of Qt.
+
+ \section1 Licenses
+
+ The Qt Widgets module is available under commercial licenses from \l{The Qt Company}.
+ In addition, it is available under free software licenses:
+ The \l{GNU Lesser General Public License, version 3}, or
+ the \l{GNU General Public License, version 2}.
+ See \l{Qt Licensing} for further details.
*/