diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-06-09 22:31:40 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-06-09 20:33:12 +0000 |
commit | c33d11c27924dd5b405b3de74f1644486767c073 (patch) | |
tree | db4ab3dac295623103ddc995334d779f76ceaa03 /src/imports/controls | |
parent | c9fd039faac4c7a04f1a47ad0e96ca929aa5c2ca (diff) |
CheckBox docs
Change-Id: I7476a94fcae656ca11424681363228cfa2b99c6f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls')
-rw-r--r-- | src/imports/controls/CheckBox.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/controls/CheckBox.qml b/src/imports/controls/CheckBox.qml index c250b54a..9e71dda9 100644 --- a/src/imports/controls/CheckBox.qml +++ b/src/imports/controls/CheckBox.qml @@ -55,6 +55,7 @@ AbstractCheckBox { padding: Theme.padding + //! [indicator] indicator: Rectangle { implicitWidth: 20 implicitHeight: 20 @@ -79,7 +80,9 @@ AbstractCheckBox { border.color: control.Theme.frameColor } } + //! [indicator] + //! [label] label: Text { x: control.mirrored ? control.leftPadding : (indicator.x + indicator.width + control.Theme.spacing) y: control.topPadding @@ -93,4 +96,5 @@ AbstractCheckBox { horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignVCenter } + //! [label] } |