Newer
Older
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
import QtQuick 1.1
import "./components"
Rectangle {
id: toolbar
width: parent.width
height: 72
color: "black"
border.color: "black"
Row {
anchors.left: parent.left
spacing: 2
Button {
id: flightDataView
label: "FLIGHT DATA"
image: "./resources/apmplanner/toolbar/flightdata.png"
onClicked: {
globalObj.selectFlightView()
}
}
Button {
id: flightPlanView
label: "FLIGHT PLAN"
image: "./resources/apmplanner/toolbar/flightplanner.png"
onClicked: globalObj.selectFlightPlanView()
}
Button {
id: hardwareConfigView
label: "HARDWARE"
image: "./resources/apmplanner/toolbar/hardwareconfig.png"
margins: 8
onClicked: globalObj.selectHardwareView()
}
Button {
id: softwareConfigView
label: "SOFTWARE"
image: "./resources/apmplanner/toolbar/softwareconfig.png"
margins: 8
onClicked: globalObj.selectSoftwareView()
}
Button {
id: simualtionView
label: "SIMULATION"
image: "./resources/apmplanner/toolbar/simulation.png"
onClicked: globalObj.selectSimulationView()
}
Button {
id: terminalView
label: "TERMINAL"
image: "./resources/apmplanner/toolbar/terminal.png"
onClicked: globalObj.selectTerminalView()
}
}
Row {
anchors.left: parent.right
spacing: 2
Button {
id: connectButton
label: "CONNECT"
image: "./resources/apmplanner/toolbar/connect.png"
onClicked: globalObj.connect()
}
}
}