aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickdesignersupport/data/test.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickdesignersupport/data/test.qml')
-rw-r--r--tests/auto/quick/qquickdesignersupport/data/test.qml39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickdesignersupport/data/test.qml b/tests/auto/quick/qquickdesignersupport/data/test.qml
new file mode 100644
index 0000000000..1d43cb3b7e
--- /dev/null
+++ b/tests/auto/quick/qquickdesignersupport/data/test.qml
@@ -0,0 +1,39 @@
+import QtQuick 2.0
+
+Rectangle {
+ objectName: "rootItem"
+ color: "white"
+ width: 800
+ height: 600
+
+ TestComponent {
+ objectName: "testComponent"
+
+ }
+
+ Rectangle {
+ objectName: "rectangleItem"
+ gradient: Gradient {
+
+ }
+ }
+
+ Item {
+ id: item
+ objectName: "simpleItem"
+ property string testProperty: dynamicProperty
+ }
+
+ states: [
+ State {
+ name: "state01"
+ PropertyChanges {
+ target: item
+ width: 10
+ }
+ },
+ State {
+ name: "state02"
+ }
+ ]
+}