diff options
author | Venu <venugopal.shivashankar@digia.com> | 2014-03-06 16:53:40 +0100 |
---|---|---|
committer | Venugopal Shivashankar <venugopal.shivashankar@digia.com> | 2014-06-27 12:30:40 +0200 |
commit | 58c5f54f0b772a424c60a8e5184eaf698e744c9a (patch) | |
tree | 78dd541ef330ca522b34684f8530037f68a71bea /src/controls/CheckBox.qml | |
parent | c76b9478be9c6aab13bcd8e237db12dec080841e (diff) | |
download | qtquickcontrols-58c5f54f0b772a424c60a8e5184eaf698e744c9a.tar.gz |
Doc: Added images and missing snippets
Task-number: QTBUG-33799
Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/CheckBox.qml')
-rw-r--r-- | src/controls/CheckBox.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/CheckBox.qml b/src/controls/CheckBox.qml index 66b49345..524ecc92 100644 --- a/src/controls/CheckBox.qml +++ b/src/controls/CheckBox.qml @@ -49,6 +49,8 @@ import QtQuick.Controls.Private 1.0 \ingroup controls \brief A checkbox with a text label. + \image checkbox.png + A CheckBox is an option button that can be toggled on (checked) or off (unchecked). Checkboxes are typically used to represent features in an application that can be enabled or disabled without affecting others. @@ -74,12 +76,14 @@ import QtQuick.Controls.Private 1.0 Column { CheckBox { text: qsTr("Breakfast") + checked: true } CheckBox { text: qsTr("Lunch") } CheckBox { text: qsTr("Dinner") + checked: true } } \endqml |