aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/snippets/data/qtlabscontrols-dial.qml5
-rw-r--r--tests/auto/snippets/data/qtlabscontrols-rangeslider.qml7
-rw-r--r--tests/auto/snippets/data/qtlabscontrols-slider.qml6
-rw-r--r--tests/auto/snippets/data/qtlabscontrols-textarea.qml6
-rw-r--r--tests/auto/snippets/data/qtlabscontrols-textfield.qml6
-rw-r--r--tests/auto/snippets/data/qtlabscontrols-tumbler.qml6
6 files changed, 36 insertions, 0 deletions
diff --git a/tests/auto/snippets/data/qtlabscontrols-dial.qml b/tests/auto/snippets/data/qtlabscontrols-dial.qml
new file mode 100644
index 00000000..0883e393
--- /dev/null
+++ b/tests/auto/snippets/data/qtlabscontrols-dial.qml
@@ -0,0 +1,5 @@
+import QtQuick 2.0
+import Qt.labs.controls 1.0
+
+Dial {
+}
diff --git a/tests/auto/snippets/data/qtlabscontrols-rangeslider.qml b/tests/auto/snippets/data/qtlabscontrols-rangeslider.qml
new file mode 100644
index 00000000..51cdacd2
--- /dev/null
+++ b/tests/auto/snippets/data/qtlabscontrols-rangeslider.qml
@@ -0,0 +1,7 @@
+import QtQuick 2.0
+import Qt.labs.controls 1.0
+
+RangeSlider {
+ first.value: 0.25
+ second.value: 0.75
+}
diff --git a/tests/auto/snippets/data/qtlabscontrols-slider.qml b/tests/auto/snippets/data/qtlabscontrols-slider.qml
new file mode 100644
index 00000000..8467aa59
--- /dev/null
+++ b/tests/auto/snippets/data/qtlabscontrols-slider.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.0
+import Qt.labs.controls 1.0
+
+Slider {
+ value: 0.5
+}
diff --git a/tests/auto/snippets/data/qtlabscontrols-textarea.qml b/tests/auto/snippets/data/qtlabscontrols-textarea.qml
new file mode 100644
index 00000000..5fc141a7
--- /dev/null
+++ b/tests/auto/snippets/data/qtlabscontrols-textarea.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.0
+import Qt.labs.controls 1.0
+
+TextArea {
+ text: "Text\nArea..."
+}
diff --git a/tests/auto/snippets/data/qtlabscontrols-textfield.qml b/tests/auto/snippets/data/qtlabscontrols-textfield.qml
new file mode 100644
index 00000000..11e8f3aa
--- /dev/null
+++ b/tests/auto/snippets/data/qtlabscontrols-textfield.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.0
+import Qt.labs.controls 1.0
+
+TextField {
+ text: "TextField"
+}
diff --git a/tests/auto/snippets/data/qtlabscontrols-tumbler.qml b/tests/auto/snippets/data/qtlabscontrols-tumbler.qml
new file mode 100644
index 00000000..5edb9617
--- /dev/null
+++ b/tests/auto/snippets/data/qtlabscontrols-tumbler.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.0
+import Qt.labs.controls 1.0
+
+Tumbler {
+ model: 5
+}