onClicked:showDialog(calcVoltageMultiplierDlgComponent,qsTr("Calculate Voltage Multiplier"),qgcView.showDialogDefaultWidth,StandardButton.Close)
}
QGCLabel{
id:voltMultHelp
anchors.left:voltMultLabel.left
anchors.right:voltMultCalculateButton.right
anchors.topMargin:_margins/2
anchors.top:voltMultField.bottom
font.pointSize:ScreenTools.smallFontPointSize
wrapMode:Text.WordWrap
text:"If the battery voltage reported by the vehicle is largely different than the voltage read externally using a voltmeter you can adjust the voltage multiplier value to correct this. "+
"Click the Calculate button for help with calculating a new value."
visible:_showAdvanced
}
QGCLabel{
id:ampPerVoltLabel
anchors.margins:_margins
...
...
@@ -226,13 +366,36 @@ QGCView {
FactTextField{
id:ampPerVoltField
anchors.topMargin:_margins/2
anchors.top:voltMultField.bottom
anchors.topMargin:_margins
anchors.top:voltMultHelp.bottom
anchors.left:capacityField.left
width:capacityField.width
fact:battAmpPerVolt
visible:_showAdvanced
}
QGCButton{
id:ampPerVoltCalculateButton
anchors.margins:_margins
anchors.left:ampPerVoltField.right
anchors.baseline:ampPerVoltField.baseline
text:"Calculate"
visible:_showAdvanced
onClicked:showDialog(calcAmpsPerVoltDlgComponent,qsTr("Calculate Amps per Volt"),qgcView.showDialogDefaultWidth,StandardButton.Close)
}
QGCLabel{
id:ampPerVoltHelp
anchors.left:ampPerVoltLabel.left
anchors.right:ampPerVoltCalculateButton.right
anchors.topMargin:_margins/2
anchors.top:ampPerVoltField.bottom
font.pointSize:ScreenTools.smallFontPointSize
wrapMode:Text.WordWrap
text:"If the current draw reported by the vehicle is largely different than the current read externally using a current meter you can adjust the amps per volt value to correct this. "+
"Click the Calculate button for help with calculating a new value."