blob: 178fe6fc1a6a94f731de1e48b375a57ad499e449 (
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
|
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 albumInfoBtn: albumInfoBtn
property alias stationTxt: stationTxt
property alias trackTxt: trackTxt
property alias artistTxt: artistTxt
property alias seekBkBtn: seekBkBtn
property alias playBtn: playBtn
property alias seekFdBtn: seekFdBtn
property alias repeatBtn: repeatBtn
property alias shuffleBtn: shuffleBtn
TouchButton{
id: sourceBtn
anchors.top: fmLayout.top
anchors.topMargin: 140
anchors.left: fmLayout.left
anchors.leftMargin: 10
height:25
width: 130
text: "Source"
}
TouchButton{
id: browseBtn
anchors.top: fmLayout.top
anchors.topMargin: 290
anchors.left: fmLayout.left
anchors.leftMargin: 10
height:25
width: 130
text: "Browse"
}
TouchButton{
id: albumInfoBtn
anchors.top: fmLayout.top
anchors.topMargin: 95
anchors.left: fmLayout.left
anchors.leftMargin: 190
height:130
width: 130
text: "Album"
}
BaseText{
id: stationTxt
anchors.verticalCenter: trackTxt.verticalCenter
anchors.verticalCenterOffset: -45
anchors.left: trackTxt.left
text: "Ch 22 / Pearl Jam Radio"
}
BaseText{
id: trackTxt
anchors.verticalCenter: albumInfoBtn.verticalCenter
anchors.left: albumInfoBtn.right
anchors.leftMargin: 15
pxSize: 34
text: "State of Love ..."
}
BaseText{
id: artistTxt
anchors.verticalCenter: trackTxt.verticalCenter
anchors.verticalCenterOffset: 45
anchors.left: trackTxt.left
text: "Pearl Jam"
}
TouchButton{
id: seekBkBtn
anchors.verticalCenter: browseBtn.verticalCenter
anchors.horizontalCenter: playBtn.horizontalCenter
anchors.horizontalCenterOffset: -150
height:100
width: 100
text: "<<"
}
TouchButton{
id: playBtn
anchors.verticalCenter: browseBtn.verticalCenter
anchors.horizontalCenter: fmLayout.horizontalCenter
height:120
width: 120
text: "||"
}
TouchButton{
id: seekFdBtn
anchors.verticalCenter: browseBtn.verticalCenter
anchors.horizontalCenter: playBtn.horizontalCenter
anchors.horizontalCenterOffset: 150
height:100
width: 100
text: ">>"
}
TouchButton{
id: repeatBtn
anchors.verticalCenter: browseBtn.verticalCenter
anchors.verticalCenterOffset: -35
anchors.left: fmLayout.left
anchors.leftMargin: 670
height:40
width: 55
text: "rpt"
}
TouchButton{
id: shuffleBtn
anchors.verticalCenter: browseBtn.verticalCenter
anchors.verticalCenterOffset: 35
anchors.left: repeatBtn.left
height:40
width: 55
text: "sfl"
}
}
|