6import QGroundControl.Controls
12 readonly property real _margins: ScreenTools.defaultFontPixelHeight
14 QGCPalette { id: qgcPal; colorGroupEnabled: true }
18 contentWidth: column.width + (_margins * 2)
19 contentHeight: column.height + (_margins * 2)
24 anchors.margins: _margins
25 anchors.left: parent.left
26 anchors.top: parent.top
27 spacing: ScreenTools.defaultFontPixelHeight / 4
31 text: qsTr("Send status text + voice")
35 text: qsTr("Enable camera")
39 text: qsTr("Enable gimbal")
42 text: qsTr("PX4 Vehicle")
43 Layout.fillWidth: true
44 onClicked: QGroundControl.startPX4MockLink(sendStatusText.checked, enableCamera.checked, enableGimbal.checked)
47 text: qsTr("APM ArduCopter Vehicle")
48 visible: QGroundControl.hasAPMSupport
49 Layout.fillWidth: true
50 onClicked: QGroundControl.startAPMArduCopterMockLink(sendStatusText.checked, enableCamera.checked, enableGimbal.checked)
53 text: qsTr("APM ArduPlane Vehicle")
54 visible: QGroundControl.hasAPMSupport
55 Layout.fillWidth: true
56 onClicked: QGroundControl.startAPMArduPlaneMockLink(sendStatusText.checked, enableCamera.checked, enableGimbal.checked)
59 text: qsTr("APM ArduSub Vehicle")
60 visible: QGroundControl.hasAPMSupport
61 Layout.fillWidth: true
62 onClicked: QGroundControl.startAPMArduSubMockLink(sendStatusText.checked, enableCamera.checked, enableGimbal.checked)
65 text: qsTr("APM ArduRover Vehicle")
66 visible: QGroundControl.hasAPMSupport
67 Layout.fillWidth: true
68 onClicked: QGroundControl.startAPMArduRoverMockLink(sendStatusText.checked, enableCamera.checked, enableGimbal.checked)
71 text: qsTr("Generic Vehicle")
72 Layout.fillWidth: true
73 onClicked: QGroundControl.startGenericMockLink(sendStatusText.checked, enableCamera.checked, enableGimbal.checked)
76 text: qsTr("Stop One MockLink")
77 Layout.fillWidth: true
78 onClicked: QGroundControl.stopOneMockLink()