forked from demitov/dashApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIcons.qml
52 lines (46 loc) · 1.33 KB
/
Icons.qml
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
import QtQuick 2.12
Item {
id: icons
width: 1280
height: 480
Image {
id: turnLeft
anchors.top: parent.top
anchors.topMargin: 5
anchors.horizontalCenterOffset: -175
anchors.horizontalCenter: parent.horizontalCenter
source: "qrc:/icons/TurnLeft.png"
visible: main.isVisible(main.varTurnLeft)
}
Image {
id: turnRight
anchors.top: parent.top
anchors.topMargin: 5
anchors.horizontalCenterOffset: 175
anchors.horizontalCenter: parent.horizontalCenter
source: "qrc:/icons/TurnRight.png"
visible: main.isVisible(main.varTurnRight)
}
Image {
id: highBeam
anchors.top: parent.top
anchors.topMargin: parent.height / 10
anchors.horizontalCenter: parent.horizontalCenter
source: "qrc:/icons/HighBeam.png"
visible: main.isVisible(main.varHighBeam)
}
Image {
id: checkEngine
anchors.top: highBeam.bottom
anchors.horizontalCenter: highBeam.horizontalCenter
source: "qrc:/icons/CheckEngine.png"
visible: main.isVisible(main.varCheckEngine)
}
Image {
id: oilPressureLow
x: 780
y: 330
source: "qrc:/icons/OilPressureLow.png"
visible: main.isVisible(main.varOilPressure)
}
}