QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
SettingsPagesModel.qml
Go to the documentation of this file.
1import QtQml.Models
2
3import QGroundControl
4import QGroundControl.Controls
5
6ListModel {
7 ListElement {
8 name: qsTr("General")
9 url: "qrc:/qml/QGroundControl/AppSettings/GeneralSettings.qml"
10 iconUrl: "qrc:/res/QGCLogoWhite.svg"
11 pageVisible: function() { return true }
12 }
13
14 ListElement {
15 name: qsTr("Fly View")
16 url: "qrc:/qml/QGroundControl/AppSettings/FlyViewSettings.qml"
17 iconUrl: "qrc:/qmlimages/PaperPlane.svg"
18 pageVisible: function() { return true }
19 }
20
21 ListElement {
22 name: qsTr("3D View")
23 url: "qrc:/qml/QGroundControl/Viewer3D/Viewer3DSettings.qml"
24 iconUrl: "qrc:/qml/QGroundControl/Viewer3D/City3DMapIcon.svg"
25 pageVisible: function() { return QGroundControl.settingsManager.viewer3DSettings.visible }
26 }
27
28 ListElement {
29 name: qsTr("Plan View")
30 url: "qrc:/qml/QGroundControl/AppSettings/PlanViewSettings.qml"
31 iconUrl: "qrc:/qmlimages/Plan.svg"
32 pageVisible: function() { return true }
33 }
34
35 ListElement {
36 name: qsTr("Video")
37 url: "qrc:/qml/QGroundControl/AppSettings/VideoSettings.qml"
38 iconUrl: "qrc:/InstrumentValueIcons/camera.svg"
39 pageVisible: function() { return QGroundControl.settingsManager.videoSettings.visible }
40 }
41
42 ListElement {
43 name: "Divider"
44 }
45
46 ListElement {
47 name: qsTr("ADSB Server")
48 url: "qrc:/qml/QGroundControl/AppSettings/ADSBServerSettings.qml"
49 iconUrl: "qrc:/InstrumentValueIcons/airplane.svg"
50 pageVisible: function() { return true }
51 }
52
53 ListElement {
54 name: qsTr("Comm Links")
55 url: "qrc:/qml/QGroundControl/AppSettings/LinkSettings.qml"
56 iconUrl: "qrc:/InstrumentValueIcons/usb.svg"
57 pageVisible: function() { return true }
58 }
59
60 ListElement {
61 name: qsTr("Logging")
62 url: "qrc:/qml/QGroundControl/Controls/AppLogging.qml"
63 iconUrl: "qrc:/InstrumentValueIcons/conversation.svg"
64 pageVisible: function() { return true }
65 }
66
67 ListElement {
68 name: qsTr("Maps")
69 url: "qrc:/qml/QGroundControl/AppSettings/MapSettings.qml"
70 iconUrl: "qrc:/InstrumentValueIcons/globe.svg"
71 pageVisible: function() { return true }
72 }
73
74 ListElement {
75 name: qsTr("NTRIP/RTK")
76 url: "qrc:/qml/QGroundControl/AppSettings/NTRIPSettings.qml"
77 iconUrl: "qrc:/InstrumentValueIcons/globe.svg"
78 pageVisible: function() {
79 return QGroundControl.settingsManager &&
80 QGroundControl.settingsManager.ntripSettings !== undefined
81 }
82 }
83
84 ListElement {
85 name: qsTr("PX4 Log Transfer")
86 url: "qrc:/qml/QGroundControl/AppSettings/PX4LogTransferSettings.qml"
87 iconUrl: "qrc:/InstrumentValueIcons/inbox-download.svg"
88 pageVisible: function() {
89 var activeVehicle = QGroundControl.multiVehicleManager.activeVehicle
90 return QGroundControl.corePlugin.options.showPX4LogTransferOptions &&
91 QGroundControl.px4ProFirmwareSupported &&
92 (activeVehicle ? activeVehicle.px4Firmware : true)
93 }
94 }
95
96 ListElement {
97 name: qsTr("Remote ID")
98 url: "qrc:/qml/QGroundControl/AppSettings/RemoteIDSettings.qml"
99 iconUrl: "qrc:/qmlimages/RidIconManNoID.svg"
100 pageVisible: function() { return true }
101 }
102
103 ListElement {
104 name: qsTr("Telemetry")
105 url: "qrc:/qml/QGroundControl/AppSettings/TelemetrySettings.qml"
106 iconUrl: "qrc:/InstrumentValueIcons/drone.svg"
107 pageVisible: function() { return true }
108 }
109
110 ListElement {
111 name: "Divider"
112 }
113
114 ListElement {
115 name: qsTr("Help")
116 url: "qrc:/qml/QGroundControl/AppSettings/HelpSettings.qml"
117 iconUrl: "qrc:/InstrumentValueIcons/question.svg"
118 pageVisible: function() { return true }
119 }
120
121 ListElement {
122 name: "Divider"
123 }
124
125 ListElement {
126 name: qsTr("Mock Link")
127 url: "qrc:/qml/QGroundControl/AppSettings/MockLink.qml"
128 iconUrl: "qrc:/InstrumentValueIcons/drone.svg"
129 pageVisible: function() { return ScreenTools.isDebug }
130 }
131
132 ListElement {
133 name: qsTr("Debug")
134 url: "qrc:/qml/QGroundControl/AppSettings/DebugWindow.qml"
135 iconUrl: "qrc:/InstrumentValueIcons/bug.svg"
136 pageVisible: function() { return ScreenTools.isDebug }
137 }
138
139 ListElement {
140 name: qsTr("Palette Test")
141 url: "qrc:/qml/QGroundControl/AppSettings/QmlTest.qml"
142 iconUrl: "qrc:/InstrumentValueIcons/photo.svg"
143 pageVisible: function() { return ScreenTools.isDebug }
144 }
145}