diff options
author | Paul Wicking <paul.wicking@qt.io> | 2021-03-11 20:03:00 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-13 06:02:00 +0000 |
commit | b324280514454b5c392822c975885acc85cf1da9 (patch) | |
tree | 273be0ec9f1f851d9d62521b487e98c07649d65d | |
parent | f02e1544c47a6e5dff68cf5325c70115a3dba2d5 (diff) | |
download | qttools-b324280514454b5c392822c975885acc85cf1da9.tar.gz |
Doc: Clean up example snippets in QDoc manual
Fixes: QTBUG-91746
Change-Id: I36c0d09bfa8ce17d6cf6f3297f2e57c857ce9322
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
(cherry picked from commit 9c6638d8d8e1448faf112aac4ae784fd9ef003e8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/qdoc/doc/qdoc-manual-topiccmds.qdoc | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/src/qdoc/doc/qdoc-manual-topiccmds.qdoc b/src/qdoc/doc/qdoc-manual-topiccmds.qdoc index def7f00a9..bc1dfd6e3 100644 --- a/src/qdoc/doc/qdoc-manual-topiccmds.qdoc +++ b/src/qdoc/doc/qdoc-manual-topiccmds.qdoc @@ -1260,33 +1260,16 @@ / *! \qmltype Transform \instantiates QGraphicsTransform - \ingroup qml-transform-elements - \since 4.7 - \brief The Transform elements provide a way to build - advanced transformations on Items. - - The Transform element is a base type which cannot be - instantiated directly. The concrete Transform types are: - - \list - \li \l Rotation - \li \l Scale - \li \l Translate - \endlist - - The Transform elements let you create and control advanced - transformations that can be configured independently using - specialized properties. + \inqmlmodule QtQuick - You can assign any number of Transform elements to an \l - Item. Each Transform is applied in order, one at a time. + \brief Provides a way to build advanced transformations on Items. + The Transform element is a base type which cannot be + instantiated directly. * / \endcode - The example generates the \l - {https://doc.qt.io/qt-5/qml-qtquick-transform.html} {QML Transform} - page. The \e{\\qmltype} comment includes \l{instantiates-command} + Here, the \e{\\qmltype} comment includes \l{instantiates-command} {\\instantiates} to specify that a Transform is instantiated by the C++ class QGraphicsTransform. A \\qmltype comment should always include a \l {since-command} {\\since} command, because all @@ -1407,21 +1390,18 @@ / *! \qmltype Transform \instantiates QGraphicsTransform - \ingroup qml-transform-elements - \since 4.7 - \brief Provides elements provide a way to build - advanced transformations on Items. + \inqmlmodule QtQuick + + \brief Provides a way to build advanced transformations on Items. The Transform element is a base type which cannot be instantiated directly. * / \endcode - The example generates the \l - {https://doc.qt.io/qt-5/qml-qtquick-transform.html} {QML Transform} - page. The \e{\\qmltype} comment includes \l{instantiates-command} + Here, the \e{\\qmltype} comment includes \l{instantiates-command} {\\instantiates} to specify that a Transform is instantiated by - the C++ class QGraphicsTransform. A \\qmltype comment should + the C++ class QGraphicsTransform. \target typealias-command \section1 \\typealias |