summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/Layouts/SiriusLayout.qml
blob: e275c055a740365c4caadce50b605504be7b0035 (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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
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 albumInfoImg: stationLogoImg
    property alias stationTxt: stationTxt
    property alias trackTxt: trackTxt
    property alias artistTxt: artistTxt
    property alias alertBtn: alertBtn
    property alias preset1Btn: preset1Btn
    property alias preset2Btn: preset2Btn
    property alias preset3Btn: preset3Btn
    property alias preset4Btn: preset4Btn
    property alias preset5Btn: preset5Btn
    property alias preset6Btn: preset6Btn
    property alias replayBtn: replayBtn
    property alias tuneBtn: tuneBtn
    property alias presetsBtn: presetsBtn


    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: 180
        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"
        vis: false

    }

    FWdgtImage{
        id: stationLogoImg
        anchors.top: fmLayout.top
        anchors.topMargin: 95
        anchors.left: fmLayout.left
        anchors.leftMargin: 190
        height:70
        width: 130
        bitmap: ""
    }

    TouchButton{
        id: alertBtn
        anchors.top: albumInfoImg.bottom
        anchors.topMargin: 20
        anchors.left: albumInfoImg.left
        height:25
        width: 90
        text: "Alert"
    }

    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: preset1Btn
        anchors.top: fmLayout.top
        anchors.topMargin: 280
        anchors.left: browseBtn.left
        height:60
        width: 208
        text: "WWWWWWWW"
    }

    TouchButton{
        id: preset2Btn
        anchors.top: preset1Btn.bottom
        anchors.left: preset1Btn.left
        height:60
        width: 208
        text: "WWWWWWWW"
    }

    TouchButton{
        id: preset3Btn
        anchors.top: preset1Btn.top
        anchors.left: preset1Btn.right
        height:60
        width: 208
        text: "WWWWWWWW"
    }

    TouchButton{
        id: preset4Btn
        anchors.top: preset2Btn.top
        anchors.left: preset2Btn.right
        height:60
        width: 208
        text: "WWWWWWWW"
    }

    TouchButton{
        id: preset5Btn
        anchors.top: preset3Btn.top
        anchors.left: preset3Btn.right
        height:60
        width: 208
        text: "WWWWWWWW"
    }

    TouchButton{
        id: preset6Btn
        anchors.top: preset4Btn.top
        anchors.left: preset4Btn.right
        height:60
        width: 208
        text: "WWWWWWWW"
    }

    TouchButton{
        id: replayBtn
        anchors.verticalCenter: browseBtn.verticalCenter
        anchors.verticalCenterOffset: 35
        anchors.left: fmLayout.left
        anchors.leftMargin: 725
        height:40
        width: 55
        text: "rply"
    }

    TouchButton{
        id: tuneBtn
        anchors.top: preset1Btn.top
        anchors.right: replayBtn.right
        height:40
        width: 120
        text: "tune"
    }

    TouchButton{
        id: presetsBtn
        anchors.bottom: preset6Btn.bottom
        anchors.right: replayBtn.right
        height:60
        width: 120
        text: "presets"
    }

}