blob: a3347ab4af869789f59d7ff20c843fae06e9190d (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
import QtQuick 2.1
Rectangle {
id: root
x: 10;
y: 10;
Rectangle {
id: rectangle0
x: 10
y: 10
width: 200
height: 150
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: "#ffffff"
}
GradientStop {
position: 1
color: "#000000"
}
}
Image {
id: rectangle4
x: 10
y: 20
width: 100
height: 150
source: "qt/realcool.jpg"
Rectangle {
id: rectangle5
x: 10
y: 20
width: 200
height: 50
}
}
}
}
|