|
|
|
@ -37,6 +37,7 @@ Rectangle {
@@ -37,6 +37,7 @@ Rectangle {
|
|
|
|
|
property var _appSettings: QGroundControl.settingsManager.appSettings |
|
|
|
|
property bool _waypointsOnlyMode: QGroundControl.corePlugin.options.missionWaypointsOnly |
|
|
|
|
property bool _showCameraSection: !_waypointsOnlyMode || QGroundControl.corePlugin.showAdvancedUI |
|
|
|
|
property bool _simpleMissionStart: QGroundControl.corePlugin.options.showSimpleMissionStart |
|
|
|
|
|
|
|
|
|
readonly property string _firmwareLabel: qsTr("Firmware") |
|
|
|
|
readonly property string _vehicleLabel: qsTr("Vehicle") |
|
|
|
@ -53,11 +54,6 @@ Rectangle {
@@ -53,11 +54,6 @@ Rectangle {
|
|
|
|
|
anchors.top: parent.top |
|
|
|
|
spacing: _margin |
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
spacing: _margin |
|
|
|
|
|
|
|
|
|
GridLayout { |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
@ -76,7 +72,7 @@ Rectangle {
@@ -76,7 +72,7 @@ Rectangle {
|
|
|
|
|
QGCCheckBox { |
|
|
|
|
id: flightSpeedCheckBox |
|
|
|
|
text: qsTr("Flight speed") |
|
|
|
|
visible: !_missionVehicle.vtol |
|
|
|
|
visible: !_missionVehicle.vtol && !_simpleMissionStart |
|
|
|
|
checked: missionItem.speedSection.specifyFlightSpeed |
|
|
|
|
onClicked: missionItem.speedSection.specifyFlightSpeed = checked |
|
|
|
|
} |
|
|
|
@ -86,9 +82,14 @@ Rectangle {
@@ -86,9 +82,14 @@ Rectangle {
|
|
|
|
|
visible: flightSpeedCheckBox.visible |
|
|
|
|
enabled: flightSpeedCheckBox.checked |
|
|
|
|
} |
|
|
|
|
} // GridLayout |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
spacing: _margin |
|
|
|
|
visible: !_simpleMissionStart |
|
|
|
|
|
|
|
|
|
CameraSection { |
|
|
|
|
id: cameraSection |
|
|
|
|
checked: missionItem.cameraSection.settingsSpecified |
|
|
|
@ -233,4 +234,5 @@ Rectangle {
@@ -233,4 +234,5 @@ Rectangle {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} // Column |
|
|
|
|
} // Column |
|
|
|
|
} // Rectangle |
|
|
|
|