|
|
|
@ -50,6 +50,11 @@ SetupPage {
@@ -50,6 +50,11 @@ SetupPage {
|
|
|
|
|
property Fact vehicleCurrent: controller.vehicle.battery.current |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Item { |
|
|
|
|
height: ScreenTools.defaultFontPixelHeight |
|
|
|
|
width: 1 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QGCLabel { text: qsTr("Battery 2"); font.pointSize: ScreenTools.mediumFontPointSize } |
|
|
|
|
|
|
|
|
|
Loader { |
|
|
|
@ -75,7 +80,7 @@ SetupPage {
@@ -75,7 +80,7 @@ SetupPage {
|
|
|
|
|
spacing: _margins |
|
|
|
|
|
|
|
|
|
property real _margins: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
|
property bool _showAdvanced: sensorCombo.currentIndex == sensorModel.count - 1 |
|
|
|
|
property bool _showAdvanced: sensorCombo.currentIndex === sensorModel.count - 1 |
|
|
|
|
property real _fieldWidth: ScreenTools.defaultFontPixelWidth * 25 |
|
|
|
|
|
|
|
|
|
Component.onCompleted: calcSensor() |
|
|
|
|