diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-03-04 15:15:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-05 11:11:35 +0100 |
commit | 5d792ca665cc79dd30d84e5fbcb25a991be49f8e (patch) | |
tree | 7820d6dacca749e4ac79cf93b54ec7b611818c8b /src/controls/CheckBox.qml | |
parent | 748f155f3168c09b8b3805a11c257d921f970c10 (diff) | |
download | qtquickcontrols-5d792ca665cc79dd30d84e5fbcb25a991be49f8e.tar.gz |
CheckBox docs: fix links & qdoc warnings
Change-Id: Ibd117e72117a3f7bc4d947da5e40bd19816de3d9
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/CheckBox.qml')
-rw-r--r-- | src/controls/CheckBox.qml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/controls/CheckBox.qml b/src/controls/CheckBox.qml index c79fc356..eeedd375 100644 --- a/src/controls/CheckBox.qml +++ b/src/controls/CheckBox.qml @@ -54,7 +54,7 @@ import "Styles/Settings.js" as Settings (unchecked). Checkboxes are typically used to represent features in an application that can be enabled or disabled without affecting others. - The state of the checkbox can be set with the \l checked property. + The state of the checkbox can be set with the \l {AbstractCheckable::checked}{checked} property. In addition to the checked and unchecked states, there is a third state: partially checked. This state indicates that the @@ -65,11 +65,11 @@ import "Styles/Settings.js" as Settings The partially checked state can be made available to the user by setting \l partiallyCheckedEnabled to \c true, or set directly by setting \l checkedState to \c Qt.PartiallyChecked. \l checkedState behaves - identically to \l checked when \l partiallyCheckedEnabled is \c false; - setting one will appropriately set the other. + identically to \l {AbstractCheckable::checked}{checked} when \l partiallyCheckedEnabled + is \c false; setting one will appropriately set the other. - The text of the label shown next to the checkbox can be set with the \l text - property. + The text of the label shown next to the checkbox can be set with the + \l {AbstractCheckable::text}{text} property. Whenever a CheckBox is clicked, it emits the clicked() signal. */ @@ -78,6 +78,8 @@ AbstractCheckable { id: checkBox /*! + \qmlproperty enumeration CheckBox::checkedState + This property indicates the current checked state of the checkbox. Possible values: @@ -86,8 +88,8 @@ AbstractCheckable { \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. + The \l {AbstractCheckable::checked}{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 @@ -101,7 +103,7 @@ 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. + If this property is \c true, \l {AbstractCheckable::checked}{checked} will be \c false. By default, this property is \c false. */ |