aboutsummaryrefslogtreecommitdiffstats
path: root/GUIModel/Telltale/Telltale.qml
blob: d41849cd9f3b2d71e86f77b6379d2323abdf2b0c (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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
/*
 * Copyright (c) 2020,2021 Panasonic Corporation
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

import QtQuick 2.14

Item {
    id: telltale

    property bool telltaleMasterWarn: false
    property bool telltaleGeneralWarn: false
    property bool telltaleBrakeEnergyRecovOff: false
    property bool telltaleBrakeEnergyRecovLv: false
    property bool telltaleMotorWarn: false
    property bool telltalePopupHoodWarn: false
    property bool telltaleDecharge: false
    property bool telltaleEvSystemWarn: false
    property bool telltaleChargingPlugWarn: false
    property bool telltaleLowBatt: false
    property bool telltaleBattWarn: false
    property bool telltaleBattTempWarn: false
    property bool telltaleHighVoltBattCut: false
    property bool telltaleAeb: false
    property bool telltaleLdw: false
    property bool telltaleBsd: false
    property bool telltaleSrsAirbag: false
    property bool telltaleEpsOff: false
    property bool telltaleBrake: false
    property bool telltaleAbsWarn: false
    property bool telltaleEspAct: false
    property bool telltaleHillDescent: false
    property bool telltaleAutoParking: false
    property bool telltaleTpmsInd: false
    property bool telltaleImmobi: false
    property bool telltaleDoor: false
    property bool telltaleSeatbelt: false
    property bool telltaleSeatbelt2: false
    property bool telltaleEpbWarn: false
    property bool telltaleEps: false
    property bool telltaleHighbeamAssist: false
    property bool telltaleHighbeam: false
    property bool telltaleRearFog: false
    property bool telltaleLowbeam: false
    property bool telltalePosition: false


    Image{
      id:masterWarn
      source: "qrc:/Images/Telltale/telltale1.png"
      x:191
      y:115
      width:52
      height:52
      visible: telltaleMasterWarn
    }
    Image{
      id:generalWarn
      source: "qrc:/Images/Telltale/telltale2.png"
      x:130
      y:149
      width:52
      height:52
      visible: telltaleGeneralWarn
    }
    Image{
      id:brakeEnergyRecovOff
      source: "qrc:/Images/Telltale/telltale3.png"
      x:75
      y:204
      width:52
      height:52
      visible: telltaleBrakeEnergyRecovOff
    }
    Image{
      id:brakeEnergyRecovLv
      source: "qrc:/Images/Telltale/telltale4.png"
      x:130
      y:204
      width:52
      height:52
      visible: telltaleBrakeEnergyRecovLv
    }
    Image{
      id:motorWarn
      source: "qrc:/Images/Telltale/telltale5.png"
      x:26
      y:262
      width:52
      height:52
      visible: telltaleMotorWarn
    }
    Image{
      id:popupHoodWarn
      source: "qrc:/Images/Telltale/telltale6.png"
      x:83
      y:262
      width:52
      height:52
      visible: telltalePopupHoodWarn
    }
    Image{
      id:decharge
      source: "qrc:/Images/Telltale/telltale7.png"
      x:83
      y:317
      width:52
      height:52
      visible: telltaleDecharge
    }
    Image{
      id:evSystemWarn
      source: "qrc:/Images/Telltale/telltale8.png"
      x:26
      y:317
      width:52
      height:52
      visible: telltaleEvSystemWarn
    }
    Image{
      id:chargingPlugWarn
      source: "qrc:/Images/Telltale/telltale9.png"
      x:83
      y:372
      width:52
      height:52
      visible: telltaleChargingPlugWarn
    }
    Image{
      id:lowBatt
      source: "qrc:/Images/Telltale/telltale10.png"
      x:26
      y:372
      width:52
      height:52
      visible: telltaleLowBatt
    }
    Image{
      id:battWarn
      source: "qrc:/Images/Telltale/telltale11.png"
      x:83
      y:427
      width:52
      height:52
      visible: telltaleBattWarn
    }
    Image{
      id:battTempWarn
      source: "qrc:/Images/Telltale/telltale12.png"
      x:26
      y:427
      width:52
      height:52
      visible: telltaleBattTempWarn
    }
    Image{
      id:highVoltBattCut
      source: "qrc:/Images/Telltale/telltale13.png"
      x:44
      y:482
      width:52
      height:52
      visible: telltaleHighVoltBattCut
    }
    Image{
      id:aeb
      source: "qrc:/Images/Telltale/telltale14.png"
      x:62
      y:543
      width:52
      height:52
      visible: telltaleAeb
    }
    Image{
      id:ldw
      source: "qrc:/Images/Telltale/telltale15.png"
      x:113
      y:600
      width:52
      height:52
      visible: telltaleLdw
    }
    Image{
      id:bsd
      source: "qrc:/Images/Telltale/telltale16.png"
      x:173
      y:629
      width:52
      height:52
      visible: telltaleBsd
    }
    Image{
      id:srsAirbag
      source: "qrc:/Images/Telltale/telltale17.png"
      x:1738
      y:204
      width:52
      height:52
      visible: telltaleSrsAirbag
    }
    Image{
      id:epsOff
      source: "qrc:/Images/Telltale/telltale18.png"
      x:1794
      y:204
      width:52
      height:52
      visible: telltaleEpsOff
    }
    Image{
      id:brake
      source: "qrc:/Images/Telltale/telltale19.png"
      x:1718
      y:259
      width:52
      height:52
      visible: telltaleBrake
    }
    Image{
      id:absWarn
      source: "qrc:/Images/Telltale/telltale20.png"
      x:1774
      y:259
      width:52
      height:52
      visible: telltaleAbsWarn
    }
    Image{
      id:espAct
      source: "qrc:/Images/Telltale/telltale21.png"
      x:1830
      y:259
      width:52
      height:52
      visible: telltaleEspAct
    }
    Image{
      id:hillDescent
      source: "qrc:/Images/Telltale/telltale22.png"
      x:1718
      y:314
      width:52
      height:52
      visible: telltaleHillDescent
    }
    Image{
      id:autoParking
      source: "qrc:/Images/Telltale/telltale23.png"
      x:1774
      y:314
      width:52
      height:52
      visible: telltaleAutoParking
    }
    Image{
      id:tpmsInd
      source: "qrc:/Images/Telltale/telltale24.png"
      x:1830
      y:314
      width:52
      height:52
      visible: telltaleTpmsInd
    }
    Image{
      id:immobi
      source: "qrc:/Images/Telltale/telltale25.png"
      x:629
      y:648
      width:52
      height:52
      visible: telltaleImmobi
    }
    Image{
      id:door
      source: "qrc:/Images/Telltale/telltale26.png"
      x:685
      y:648
      width:52
      height:52
      visible: telltaleDoor
    }
    Image{
      id:seatbelt
      source: "qrc:/Images/Telltale/telltale27.png"
      x:1196
      y:648
      width:52
      height:52
      visible: telltaleSeatbelt
    }
    Image{
      id:seatbelt2
      source: "qrc:/Images/Telltale/telltale28.png"
      x:1252
      y:648
      width:52
      height:52
      visible: telltaleSeatbelt2
    }
    Image{
      id:epbWarn
      source: "qrc:/Images/Telltale/telltale29.png"
      x:1308
      y:648
      width:52
      height:52
      visible: telltaleEpbWarn
    }
    Image{
      id:eps
      source: "qrc:/Images/Telltale/telltale30.png"
      x:1364
      y:648
      width:52
      height:52
      visible: telltaleEps
    }
    Image{
      id:highbeamAssist
      source: "qrc:/Images/Telltale/telltale31.png"
      x:1420
      y:648
      width:52
      height:52
      visible: telltaleHighbeamAssist
    }
    Image{
      id:highbeam
      source: "qrc:/Images/Telltale/telltale32.png"
      x:1476
      y:648
      width:52
      height:52
      visible: telltaleHighbeam
    }
    Image{
      id:rearFog
      source: "qrc:/Images/Telltale/telltale33.png"
      x:1532
      y:648
      width:52
      height:52
      visible: telltaleRearFog
    }
    Image{
      id:lowbeam
      source: "qrc:/Images/Telltale/telltale34.png"
      x:1588
      y:648
      width:52
      height:52
      visible: telltaleLowbeam
    }
    Image{
      id:position
      source: "qrc:/Images/Telltale/telltale35.png"
      x:1644
      y:648
      width:52
      height:52
      visible: telltalePosition
    }
}