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>
This commit is contained in:
Andreas Eliasson 2022-03-09 14:55:21 +01:00
parent 061541ea44
commit c1dc32185b

View File

@ -113,46 +113,35 @@ interfaces
\image graphicsview-items.png \image graphicsview-items.png
\include module-use.qdocinc using qt module \section1 Using the Module
\snippet snippets/CMakeLists.txt cmake_use
See also the \l {Build with CMake} overview. \include {module-use.qdocinc} {using the c++ api}
\include module-use.qdocinc building with qmake \section2 Building with CMake
\snippet snippets.pro qmake_use
\section1 Module Evolution \include {module-use.qdocinc} {building with cmake} {Widgets}
\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 \section2 Building with qmake
The Qt Widgets module is available under commercial licenses from \l{The Qt Company}. \include {module-use.qdocinc} {building_with_qmake} {widgets}
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.
\section1 Related Information \section1 Articles and Guides
\section2 Tutorials
\list \list
\li \l{Widgets Tutorial} \li \l{Widgets Tutorial}
\li \l{Getting Started Programming with Qt Widgets} \li \l{Getting Started Programming with Qt Widgets}
\li \l{Creating a Qt Widget Based Application} \li \l{Creating a Qt Widget Based Application}
\li \l{Model/View Tutorial} \li \l{Model/View Tutorial}
\endlist \endlist
\section2 Examples \section1 Examples
\list \list
\li \l{Qt Widgets Examples} \li \l{Qt Widgets Examples}
\li \l{Layout Examples} \li \l{Layout Examples}
\endlist \endlist
\section1 API Reference \section1 API Reference
These are links to the API reference materials.
\list \list
\li \l{Qt Widgets C++ Classes} \li \l{Qt Widgets C++ Classes}
@ -170,4 +159,16 @@ interfaces
\li \l{Qt Style Sheets Reference} \li \l{Qt Style Sheets Reference}
\endlist \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.
*/ */