onClicked:showDialog(calcVoltageMultiplierDlgComponent,qsTr("Calculate Voltage Multiplier"),qgcView.showDialogDefaultWidth,StandardButton.Close)
onClicked:showDialog(calcVoltageMultiplierDlgComponent,qsTr("Calculate Voltage Multiplier"),qgcView.showDialogDefaultWidth,StandardButton.Close)
visible:_showAdvanced
}
}
QGCLabel{
QGCLabel{
id: voltMultHelp
Layout.columnSpan:3
anchors.left:voltMultLabel.left
Layout.fillWidth:true
anchors.right:voltMultCalculateButton.right
anchors.topMargin:_margins/2
anchors.top:voltMultField.bottom
font.pointSize:ScreenTools.smallFontPointSize
font.pointSize:ScreenTools.smallFontPointSize
wrapMode:Text.WordWrap
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. "+
text:qsTr("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.")
"Click the Calculate button for help with calculating a new value."
visible:_showAdvanced
visible:_showAdvanced
}
}
QGCLabel{
QGCLabel{
id: ampPerVoltLabel
anchors.margins:_margins
anchors.left:parent.left
anchors.baseline:ampPerVoltField.baseline
text:qsTr("Amps per volt:")
text:qsTr("Amps per volt:")
visible:_showAdvanced
visible:_showAdvanced
}
}
FactTextField{
FactTextField{
id: ampPerVoltField
width:_fieldWidth
anchors.topMargin:_margins
anchors.top:voltMultHelp.bottom
anchors.left:capacityField.left
width:capacityField.width
fact:battAmpPerVolt
fact:battAmpPerVolt
visible:_showAdvanced
visible:_showAdvanced
}
}
QGCButton{
QGCButton{
id: ampPerVoltCalculateButton
text:qsTr("Calculate")
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)
onClicked:showDialog(calcAmpsPerVoltDlgComponent,qsTr("Calculate Amps per Volt"),qgcView.showDialogDefaultWidth,StandardButton.Close)
visible:_showAdvanced
}
}
QGCLabel{
QGCLabel{
id: ampPerVoltHelp
Layout.columnSpan:3
anchors.left:ampPerVoltLabel.left
Layout.fillWidth:true
anchors.right:ampPerVoltCalculateButton.right
anchors.topMargin:_margins/2
anchors.top:ampPerVoltField.bottom
font.pointSize:ScreenTools.smallFontPointSize
font.pointSize:ScreenTools.smallFontPointSize
wrapMode:Text.WordWrap
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. "+
text:qsTr("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.")
"Click the Calculate button for help with calculating a new value."