Modified script to use hex-values instead of Qt.rgba colors
[qt-labs:photoshop-qmlexporter.git] / example_output / MyElement.qml
1 import Qt 4.7
2 Rectangle {
3     width:400
4     height:255
5     Image {
6         id: background
7         source: "images/background.png"
8         x: -2
9         y: 0
10         opacity: 1
11     }
12     Image {
13         id: new_layer_1
14         source: "images/new_layer_1.png"
15         x: 1
16         y: 64
17         opacity: 0.2
18     }
19     Image {
20         id: new_layer
21         source: "images/new_layer.png"
22         x: 63
23         y: 161
24         opacity: 1
25     }
26     Image {
27         id: new_layer_copy
28         source: "images/new_layer_copy.png"
29         x: 136
30         y: 12
31         opacity: 1
32     }
33     Text {
34         id: push_me
35         text: "Push me"
36         font.pixelSize: 22
37         font.family: "Tahoma"
38         color: "#ffffff"
39         smooth: true
40         x: 164
41         y: 17.5
42         opacity: 1
43     }
44     Image {
45         id: drop_shadow_2
46         source: "images/drop_shadow_2.png"
47         x: 22
48         y: 75
49         opacity: 0.3843137254902
50     }
51     Image {
52         id: background_text
53         source: "images/background_text.png"
54         x: 24
55         y: 77
56         opacity: 1
57     }
58     Image {
59         id: drop_shadow_1
60         source: "images/drop_shadow_1.png"
61         x: 296
62         y: 158
63         opacity: 0.8
64     }
65     Image {
66         id: mybutton
67         source: "images/mybutton.png"
68         x: 309
69         y: 168
70         opacity: 1
71     }
72     Image {
73         id: new_layer_copy_1
74         source: "images/new_layer_copy_1.png"
75         x: 116
76         y: 145
77         opacity: 0.63921568627451
78     }
79     Image {
80         id: drop_shadow
81         source: "images/drop_shadow.png"
82         x: 139
83         y: 112
84         opacity: 0.8
85     }
86     Image {
87         id: new_layer_copy_2
88         source: "images/new_layer_copy_2.png"
89         x: 159
90         y: 121
91         opacity: 0.63921568627451
92     }
93     Image {
94         id: drop_shadow_3
95         source: "images/drop_shadow_3.png"
96         x: 315
97         y: 194
98         opacity: 0.57254901960784
99     }
100     Text {
101         id: button
102         text: "Button"
103         font.pixelSize: 30
104         font.family: "Tahoma"
105         color: "#ffffff"
106         smooth: true
107         x: 187
108         y: 128.5
109         opacity: 1
110     }
111     Image {
112         id: qml
113         source: "images/qml.png"
114         x: 319
115         y: 197
116         opacity: 1
117     }
118 }