diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-06-10 17:06:12 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-06-10 19:18:05 +0000 |
commit | fe98a60d904cafb9a82a28aa27bd2836dada67f9 (patch) | |
tree | e7e821a182c15514c166c3de3fe01dc5dbba862b /src/imports | |
parent | 2412b3238fa0746624975fcd66765346d8029a16 (diff) |
Docs: Slider
Change-Id: I9499ab27a74996f43db70ec3ddc49e04b39d2da6
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/controls/Slider.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/controls/Slider.qml b/src/imports/controls/Slider.qml index cf9cecd3..79792709 100644 --- a/src/imports/controls/Slider.qml +++ b/src/imports/controls/Slider.qml @@ -52,6 +52,7 @@ AbstractSlider { padding: Theme.padding + //! [handle] handle: Rectangle { implicitWidth: 20 implicitHeight: 20 @@ -76,7 +77,9 @@ AbstractSlider { control.pressed ? control.Theme.pressColor : "transparent") } } + //! [handle] + //! [track] track: Rectangle { readonly property bool horizontal: control.orientation === Qt.Horizontal implicitWidth: horizontal ? 120 : 6 @@ -101,4 +104,5 @@ AbstractSlider { radius: control.Theme.roundness } } + //! [track] } |