diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-10-08 12:48:06 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-10-14 11:58:33 +0000 |
commit | 090db511a36464c78f11df3b6596a56f09986951 (patch) | |
tree | 389bf7e9b04fa6cf7dfbc035e9568b98cf7b8e44 /tests/auto/accessibility/data/rangeslider.qml | |
parent | b5b6fc732bb7a09996c06b1df3b71cf2548b0d7c (diff) |
Add RangeSlider
This is basically Slider, except with two handles.
It's used to specify a range of values.
Task-number: QTBUG-48667
Change-Id: Ib4f9afe5dc8343e307610943d338a2b574a01e4d
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests/auto/accessibility/data/rangeslider.qml')
-rw-r--r-- | tests/auto/accessibility/data/rangeslider.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/accessibility/data/rangeslider.qml b/tests/auto/accessibility/data/rangeslider.qml new file mode 100644 index 00000000..9262f3cd --- /dev/null +++ b/tests/auto/accessibility/data/rangeslider.qml @@ -0,0 +1,18 @@ +import QtQuick 2.5 +import QtQuick.Window 2.2 +import Qt.labs.controls 1.0 + +Window { + visible: true + + RangeSlider { + id: rangeSlider + objectName: "rangeslider" + from: 0 + to: 100 + first.value: 25 + second.value: 75 + stepSize: 1 + orientation: "Horizontal" + } +} |