blob: d82077b55584f797bc8bea3fa9e6dd60b8e8e417 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
import QtQuick 2.0
import com.ford.hmiframework 1.0
import "../Widgets"
FLayout {
id: fmLayout
width: 800
height: 480
property alias sourceBtn: sourceBtn
property alias browseBtn: browseBtn
property alias trackNumTxt: trackNumTxt.text
property alias artist: artistTxt.text
property alias play: play.touchBtn
property alias pause: pause.touchBtn
property bool playing: true
FWdgtImage{
id: albumArt
x:25
y:176
bitmap: "USB/albumArt.png"
}
TouchButton_PCA{
id: sourceBtn
x:25
y:80
textWidth: 100
text: "FM Radio"
}
TouchButton_PCA{
id: browseBtn
anchors.right: fmLayout.right
anchors.rightMargin: 25
y:80
textWidth: 75
text: "Browse"
}
BaseText{
id: trackNumTxt
x:181
y:188
pxSize: 22
text: "Track 13/ 16"
color: "#1d81d5"
theFont: "../Fonts/HelveticaNeueLTCom-Lt.ttf"
}
BaseText{
id: trackTxt
x:181
y:225
text: "The Dog Days Are Over"
color: "#1d81d5"
theFont: "../Fonts/HelveticaNeueLTStd-Md.ttf"
pxSize: 45
}
BaseText{
id: artistTxt
x:181
y:280
text: "Florence and the Machine"
color: "#1d81d5"
theFont: "../Fonts/HelveticaNeueLTStd-Md.ttf"
pxSize: 22
}
TouchButtonClimatePCA{
id: play
x:367
y:390
image: "USB/play_9_9.png"
imagePressed: "USB/playPressed_9_9.png"
visible: playing
enabled: playing
}
TouchButtonClimatePCA{
id: pause
x:367
y:390
image: "USB/pause_9_9.png"
imagePressed: "USB/pausePressed_9_9.png"
visible: !playing
enabled: !playing
}
TouchButtonClimatePCA{
id: seekBack
x:287
y:399
image: "USB/Prev_9_9.png"
imagePressed: "USB/PrevPressed_9_9.png"
}
TouchButtonClimatePCA{
id: seekNext
x:463
y:399
image: "USB/Next_9_9.png"
imagePressed: "USB/NextPressed_9_9.png"
}
Rectangle{
x:92
y: 365
height:1
width: 616
color: "#1d81d5"
}
Rectangle{
x:92
y: 365
height:1
width: 138
color: "white"
}
BaseText{
id: elapsedTime
x:25
y:358
text: "02:36"
color: "white"
theFont: "../Fonts/HelveticaNeueLTStd-Md.ttf"
pxSize: 18
}
BaseText{
id: totTime
y:358
anchors.right: fmLayout.right
anchors.rightMargin: 25
horAlignment: Text.AlignRight
text: "04:23"
color: "#1d81d5"
theFont: "../Fonts/HelveticaNeueLTStd-Md.ttf"
pxSize: 18
}
}
|