|
|
|
@ -163,6 +163,12 @@ QGCView {
@@ -163,6 +163,12 @@ QGCView {
|
|
|
|
|
id: missionCompleteDialogComponent |
|
|
|
|
|
|
|
|
|
QGCViewDialog { |
|
|
|
|
property var activeVehicleCopy: _activeVehicle |
|
|
|
|
onActiveVehicleCopyChanged: |
|
|
|
|
if (!activeVehicleCopy) { |
|
|
|
|
hideDialog() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QGCFlickable { |
|
|
|
|
anchors.fill: parent |
|
|
|
|
contentHeight: column.height |
|
|
|
@ -172,7 +178,11 @@ QGCView {
@@ -172,7 +178,11 @@ QGCView {
|
|
|
|
|
anchors.margins: _margins |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
spacing: ScreenTools.defaultFontPixelHeight |
|
|
|
|
visible: !_activeVehicle.connectionLost || !_guidedController.showResumeMission |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
@ -230,6 +240,20 @@ QGCView {
@@ -230,6 +240,20 @@ QGCView {
|
|
|
|
|
visible: _guidedController.showResumeMission |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
spacing: ScreenTools.defaultFontPixelHeight |
|
|
|
|
visible: _activeVehicle.connectionLost && _guidedController.showResumeMission |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
wrapMode: Text.WordWrap |
|
|
|
|
color: qgcPal.warningText |
|
|
|
|
text: qsTr("If you are changing batteries for Resume Mission do not disconnect from the vehicle.") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|