aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmldesigner/data/merging/ComplexStyle.qml
blob: 63ed4868de6970309f2382a73f62696670a63018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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"
    }
}