aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/accessibility/data/rangeslider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/accessibility/data/rangeslider.qml')
-rw-r--r--tests/auto/accessibility/data/rangeslider.qml23
1 files changed, 8 insertions, 15 deletions
diff --git a/tests/auto/accessibility/data/rangeslider.qml b/tests/auto/accessibility/data/rangeslider.qml
index 9262f3cd..45b1d4ae 100644
--- a/tests/auto/accessibility/data/rangeslider.qml
+++ b/tests/auto/accessibility/data/rangeslider.qml
@@ -1,18 +1,11 @@
import QtQuick 2.5
-import QtQuick.Window 2.2
-import Qt.labs.controls 1.0
+import QtQuick.Controls 2.0
-Window {
- visible: true
-
- RangeSlider {
- id: rangeSlider
- objectName: "rangeslider"
- from: 0
- to: 100
- first.value: 25
- second.value: 75
- stepSize: 1
- orientation: "Horizontal"
- }
+RangeSlider {
+ from: 0
+ to: 100
+ first.value: 25
+ second.value: 75
+ stepSize: 1
+ orientation: Qt.Horizontal
}