aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml')
-rw-r--r--tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml b/tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml
new file mode 100644
index 0000000000..63ed4868de
--- /dev/null
+++ b/tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml
@@ -0,0 +1,46 @@
+import QtQuick 2.1
+
+Item {
+ Rectangle {
+ id: rectangle0
+ Image {
+ id: rectangle1
+ x: 10
+ y: 10
+ height: 150
+ width: 100
+ source: "qt/icon.png"
+ }
+ }
+ Rectangle {
+ id: rectangle3
+ x: 140;
+ y: 180;
+ gradient: Gradient {
+ GradientStop {
+ position: 0
+ color: "white"
+ }
+
+ GradientStop {
+ position: 1
+ color: "black"
+ }
+ }
+ }
+ Rectangle {
+ id: rectangle5
+ x: 160
+ y: 220
+ width: 200
+ height: 50
+ }
+ Image {
+ id: rectangle4
+ x: 150;
+ y: 200;
+ height: 150
+ width: 100
+ source: "qt/realcool.jpg"
+ }
+}