aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmldesigner/data/merging/SimpleExpected.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmldesigner/data/merging/SimpleExpected.qml')
-rw-r--r--tests/auto/qml/qmldesigner/data/merging/SimpleExpected.qml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/auto/qml/qmldesigner/data/merging/SimpleExpected.qml b/tests/auto/qml/qmldesigner/data/merging/SimpleExpected.qml
new file mode 100644
index 0000000000..9b7c6ff02b
--- /dev/null
+++ b/tests/auto/qml/qmldesigner/data/merging/SimpleExpected.qml
@@ -0,0 +1,38 @@
+import QtQuick 2.1
+
+Rectangle {
+ id: root
+ x: 10;
+ y: 10;
+ Image {
+ id: rectangle1
+ x: 10
+ y: 10
+ width: 100
+ height: 150
+ source: "qt/icon.png"
+ }
+
+ Rectangle {
+ id: rectangle2
+ x: 100;
+ y: 100;
+ anchors.fill: root
+ }
+ Rectangle {
+ id: rectangle3
+ x: 140;
+ y: 180;
+ gradient: Gradient {
+ GradientStop {
+ position: 0
+ color: "white"
+ }
+ GradientStop {
+ position: 1
+ color: "black"
+ }
+ }
+ }
+
+}