summaryrefslogtreecommitdiff
path: root/src/controls/CheckBox.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-02-20 14:27:29 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-22 14:20:14 +0100
commit15538d0cbbf98cc35e51f9c989b66f16937d39f0 (patch)
treeb1c26625d5a2dcc1c101cc45f97fb53d6bdf87ea /src/controls/CheckBox.qml
parent59b12b5240f94c4822cdf4f1e4cb05bc0ede76e9 (diff)
downloadqtquickcontrols-15538d0cbbf98cc35e51f9c989b66f16937d39f0.tar.gz
Improve CheckBox and AbstractCheckable documentation.
Change-Id: I93b6af9c15ce95c45db82d9a569d826cbd59159b Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/CheckBox.qml')
-rw-r--r--src/controls/CheckBox.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/controls/CheckBox.qml b/src/controls/CheckBox.qml
index 712ddab7..8d693c70 100644
--- a/src/controls/CheckBox.qml
+++ b/src/controls/CheckBox.qml
@@ -84,6 +84,9 @@ AbstractCheckable {
\c Qt.Checked - The checkbox is checked.
\c Qt.PartiallyChecked - The checkbox is in a partially checked (or
"mixed") state.
+
+ The \l checked property also determines whether this property is
+ \c Qt.Checked or \c Qt.UnChecked, and vice versa.
*/
property int checkedState: checked ? Qt.Checked : Qt.Unchecked
@@ -97,6 +100,8 @@ AbstractCheckable {
Setting \l checkedState to \c Qt.PartiallyChecked will implicitly set
this property to \c true.
+ If this property is \c true, \l checked will be \c false.
+
By default, this property is \c false.
*/
property bool partiallyCheckedEnabled: false