aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates/qquickcheckbox.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@qt.io>2025-11-19 13:36:18 +0100
committerJerome Pasion <jerome.pasion@qt.io>2025-11-26 16:14:13 +0100
commit5dceaca0a7bd0d63d349a8afc7583c166f2f5dfd (patch)
treea519dbf10626c1d55fed273dd4e48a559ea5c3e4 /src/quicktemplates/qquickcheckbox.cpp
parenta7084abd9778b955d80e7419e82f6f7b92f7978d (diff)
Doc: Add alternate text for Qt Quick and Qt Quick Controls images
Alternate text (alt text) improves the documentation experience for screen readers and for other accessibility tools. Pick-to: 6.9 6.10 Task-number: QTBUG-135120 Change-Id: I975c3de11f893882fb9a27218079f244bd38a622 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates/qquickcheckbox.cpp')
-rw-r--r--src/quicktemplates/qquickcheckbox.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quicktemplates/qquickcheckbox.cpp b/src/quicktemplates/qquickcheckbox.cpp
index 42861bac00..f6cf23789e 100644
--- a/src/quicktemplates/qquickcheckbox.cpp
+++ b/src/quicktemplates/qquickcheckbox.cpp
@@ -20,6 +20,7 @@ QT_BEGIN_NAMESPACE
\brief Check button that can be toggled on or off.
\image qtquickcontrols-checkbox.gif
+ {Checkbox in unchecked, checked, and partially checked states}
CheckBox presents an option button that can be toggled on (checked) or
off (unchecked). Check boxes are typically used to select one or more
@@ -56,6 +57,7 @@ QT_BEGIN_NAMESPACE
\l ButtonGroup.
\image qtquickcontrols-checkbox-group.png
+ {Group of checkboxes for multiple selection}
The following example illustrates how the combined check state of
children can be bound to the check state of the parent checkbox:
@@ -91,6 +93,7 @@ QQuickCheckBox::QQuickCheckBox(QQuickItem *parent)
In the animation below, the first checkbox is tri-state:
\image qtquickcontrols-checkbox-tristate.gif
+ {Checkbox cycling through three states}
The default is \c false, i.e., the checkbox has only two states.
*/