Browse Source

Add BAT_EMERGEN_THR

QGC4.4
Don Gagne 7 years ago
parent
commit
05ec8c40c8
  1. 11
      src/AutoPilotPlugins/PX4/SafetyComponent.qml

11
src/AutoPilotPlugins/PX4/SafetyComponent.qml

@ -170,7 +170,7 @@ SetupPage {
mipmap: true mipmap: true
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: qgcPal.globalTheme === qgcPal.Light ? "/qmlimages/LowBatteryLight.svg" : "/qmlimages/LowBattery.svg" source: qgcPal.globalTheme === qgcPal.Light ? "/qmlimages/LowBatteryLight.svg" : "/qmlimages/LowBattery.svg"
Layout.rowSpan: 3 Layout.rowSpan: 4
Layout.maximumWidth: _imageWidth Layout.maximumWidth: _imageWidth
Layout.maximumHeight: _imageHeight Layout.maximumHeight: _imageHeight
width: _imageWidth width: _imageWidth
@ -204,6 +204,15 @@ SetupPage {
fact: controller.getParameterFact(-1, "BAT_CRIT_THR") fact: controller.getParameterFact(-1, "BAT_CRIT_THR")
Layout.minimumWidth: _editFieldWidth Layout.minimumWidth: _editFieldWidth
} }
QGCLabel {
text: qsTr("Battery Emergency Level:")
Layout.fillWidth: true
}
FactTextField {
fact: controller.getParameterFact(-1, "BAT_EMERGEN_THR")
Layout.minimumWidth: _editFieldWidth
}
} }
Item { width: 1; height: _margins; Layout.columnSpan: 3 } Item { width: 1; height: _margins; Layout.columnSpan: 3 }

Loading…
Cancel
Save