mainWindow.showDialog(calcVoltageMultiplierDlgComponent,qsTr("Calculate Voltage Multiplier"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
mainWindow.showComponentDialog(calcVoltageMultiplierDlgComponent,qsTr("Calculate Voltage Multiplier"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
@@ -131,7 +131,7 @@ Your vehicle will also be restarted in order to complete the process.")
anchors.right:parent.right
text:qsTr("Apply and Restart")
onClicked:mainWindow.showDialog(applyRestartDialogComponent,qsTr("Apply and Restart"),mainWindow.showDialogDefaultWidth,StandardButton.Apply|StandardButton.Cancel)
onClicked:mainWindow.showComponentDialog(applyRestartDialogComponent,qsTr("Apply and Restart"),mainWindow.showDialogDefaultWidth,StandardButton.Apply|StandardButton.Cancel)
onClicked:mainWindow.showDialog(calcVoltageDividerDlgComponent,qsTr("Calculate Voltage Divider"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
onClicked:mainWindow.showComponentDialog(calcVoltageDividerDlgComponent,qsTr("Calculate Voltage Divider"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
}
Item{width:1;height:1;Layout.columnSpan:2}
...
...
@@ -328,7 +328,7 @@ SetupPage {
QGCButton{
id:ampPerVoltCalculateButton
text:qsTr("Calculate")
onClicked:mainWindow.showDialog(calcAmpsPerVoltDlgComponent,qsTr("Calculate Amps per Volt"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
onClicked:mainWindow.showComponentDialog(calcAmpsPerVoltDlgComponent,qsTr("Calculate Amps per Volt"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
onTriggered:mainWindow.showDialog(editCenterPositionDialog,qsTr("Edit Center Position"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
onTriggered:mainWindow.showComponentDialog(editCenterPositionDialog,qsTr("Edit Center Position"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
onClicked:mainWindow.showDialog(filtersDialogComponent,qsTr("Turn on logging categories"),mainWindow.showDialogDefaultWidth,StandardButton.Close)
onClicked:mainWindow.showComponentDialog(filtersDialogComponent,qsTr("Turn on logging categories"),mainWindow.showDialogDefaultWidth,StandardButton.Close)