QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4MainStatusIndicator.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3import QtQuick.Layouts
4
5import QGroundControl
6import QGroundControl.Controls
7import QGroundControl.FactControls
8
9ColumnLayout {
10 spacing: ScreenTools.defaultFontPixelHeight / 2
11
12 FactPanelController { id: controller }
13
14 SettingsGroupLayout {
15 heading: qsTr("Ground Control Comm Loss Failsafe")
16 Layout.fillWidth: true
17
18 RowLayout {
19 Layout.fillWidth: true
20 spacing: ScreenTools.defaultFontPixelWidth * 2
21
22 QGCLabel {
23 Layout.fillWidth: true;
24 text: qsTr("Vehicle Action")
25 }
26 FactComboBox {
27 id: failsafeActionCombo
28 fact: controller.getParameterFact(-1, "NAV_DLL_ACT")
29 indexModel: false
30 }
31 }
32
33 FactSlider {
34 Layout.fillWidth: true
35 Layout.preferredWidth: ScreenTools.defaultFontPixelWidth * 40
36 label: qsTr("Loss Timeout")
37 fact: controller.getParameterFact(-1, "COM_DL_LOSS_T")
38 majorTickStepSize: 5
39 }
40 }
41}