aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-27 12:09:40 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-27 12:37:43 +0000
commit8e13cadc611d6974846bc398e43e150d706ecc17 (patch)
tree9192e17ffd92cfc51a75baf249c60d7aa5145d8f /src/imports/controls/doc/src
parent06494dea9966a32df9c8a90c144ed9192330849b (diff)
Doc: re-organize and cleanup the index page
All QML types are already listed on the QML types page, so don't duplicate the list on the index page. This makes the index page much less crowded and more pleasant to browse, and easier to find the links to the important concepts etc. Change-Id: I8eaaed4c05b0738c92065a4c663abbc921dd22d3 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/doc/src')
-rw-r--r--src/imports/controls/doc/src/qtquickcontrols2-index.qdoc25
1 files changed, 7 insertions, 18 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-index.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-index.qdoc
index 8329156d..3f4467d5 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-index.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-index.qdoc
@@ -36,23 +36,20 @@
\section1 Prerequisites
- The QML types can be imported into your application using the following
- import statement in your \c {.qml} file:
+ The \l{Qt Quick Controls 2 QML Types}{QML types} can be imported into your
+ application using the following import statement in your \c {.qml} file:
\code
import QtQuick.Controls 2.0
\endcode
- The C++ types can be included into your application using the following
- include statement:
+ The \l{Qt Quick Controls 2 C++ Classes}{C++ classes} can be included into
+ your application using the following include statement:
\code
#include <QtQuickControls2>
\endcode
- \note If you are using a few classes from this module, we recommend including
- those specific classes only instead of the module.
-
To link against the corresponding C++ libraries, add the following to your
qmake project file:
@@ -62,15 +59,9 @@
For more details, see \l {Getting Started with Qt Quick Controls 2}.
- \section1 QML Types
-
- \section2 QtQuick.Controls Module
- \generatelist {qmltypesbymodule QtQuick.Controls}
-
\section1 Important Concepts in Qt Quick Controls 2
\list
- \li \l{Getting Started with Qt Quick Controls 2}
\li \l{Styling Qt Quick Controls 2}
\li \l{Customizing Qt Quick Controls 2}
\li \l{High-DPI Support in Qt Quick Controls 2}
@@ -79,22 +70,20 @@
\li \l{Deploying Qt Quick Controls 2 Applications}
\endlist
- \section1 Related Information
-
- \section2 Reference
+ \section1 Reference
\list
\li \l{Qt Quick Controls 2 QML Types}{QML Types}
\li \l{Qt Quick Controls 2 C++ Classes}{C++ Classes}
\endlist
- \section2 Examples
+ \section1 Examples
\list
\li \l{Qt Quick Controls 2 Examples}
\endlist
- \section2 Related Modules
+ \section1 Related Modules
\list
\li \l{Qt Quick}