diff options
| author | Mitch Curtis <mitch.curtis@qt.io> | 2022-11-23 16:50:43 +0800 |
|---|---|---|
| committer | Mitch Curtis <mitch.curtis@qt.io> | 2022-12-01 10:26:28 +0800 |
| commit | 8b100bed5237b1ec864f059d7fb04b94fd874f49 (patch) | |
| tree | 3e0503297e0dcdee3ea6245f480b9ce65766a056 /src/quicktemplates/qquickcheckbox.cpp | |
| parent | 4bd87b903b355b53e3105ba1ae7c154c4e55cdaf (diff) | |
Doc: remove "2" from Qt Quick Controls files
Work on this was already started for the documentation in
1abdfe5d5a052f2298b7bf657513dfa7e0c66a56.
The CMake target (docs_QuickControls2) probably can't be renamed
until we rename the library, which won't happen until Qt 7.
Task-number: QTBUG-95413
Change-Id: Ied20805a91286436606577c3de39671a447f27dd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/quicktemplates/qquickcheckbox.cpp')
| -rw-r--r-- | src/quicktemplates/qquickcheckbox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/quicktemplates/qquickcheckbox.cpp b/src/quicktemplates/qquickcheckbox.cpp index 1c6dc11eea..21038ccdb9 100644 --- a/src/quicktemplates/qquickcheckbox.cpp +++ b/src/quicktemplates/qquickcheckbox.cpp @@ -15,10 +15,10 @@ QT_BEGIN_NAMESPACE //! \instantiates QQuickCheckBox \inqmlmodule QtQuick.Controls \since 5.7 - \ingroup qtquickcontrols2-buttons + \ingroup qtquickcontrols-buttons \brief Check button that can be toggled on or off. - \image qtquickcontrols2-checkbox.gif + \image qtquickcontrols-checkbox.gif CheckBox presents an option button that can be toggled on (checked) or off (unchecked). Check boxes are typically used to select one or more @@ -54,12 +54,12 @@ QT_BEGIN_NAMESPACE Hierarchical checkbox groups can be managed with a non-exclusive \l ButtonGroup. - \image qtquickcontrols2-checkbox-group.png + \image qtquickcontrols-checkbox-group.png The following example illustrates how the combined check state of children can be bound to the check state of the parent checkbox: - \snippet qtquickcontrols2-checkbox-group.qml 1 + \snippet qtquickcontrols-checkbox-group.qml 1 \sa {Customizing CheckBox}, ButtonGroup, {Button Controls} */ @@ -98,7 +98,7 @@ QQuickCheckBox::QQuickCheckBox(QQuickItem *parent) In the animation below, the first checkbox is tri-state: - \image qtquickcontrols2-checkbox-tristate.gif + \image qtquickcontrols-checkbox-tristate.gif The default is \c false, i.e., the checkbox has only two states. */ |
