1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

OP-1660 Tell user Manual calibration is running (Start/Stop button change)

This commit is contained in:
Laurent Lalanne 2014-12-25 01:30:08 +01:00
parent e9582bf55c
commit 0aae4e4d7a
2 changed files with 9 additions and 7 deletions

View File

@ -1562,6 +1562,7 @@ void ConfigInputWidget::simpleCalibration(bool enable)
{
if (enable) {
ui->configurationWizard->setEnabled(false);
ui->runCalibration->setText(tr("Stop Manual Calibration"));
QMessageBox msgBox;
msgBox.setText(tr("Arming Settings are now set to 'Always Disarmed' for your safety."));
@ -1589,6 +1590,7 @@ void ConfigInputWidget::simpleCalibration(bool enable)
connect(manualCommandObj, SIGNAL(objectUnpacked(UAVObject *)), this, SLOT(updateCalibration()));
} else {
ui->configurationWizard->setEnabled(true);
ui->runCalibration->setText(tr("Start Manual Calibration"));
manualCommandData = manualCommandObj->getData();
manualSettingsData = manualSettingsObj->getData();

View File

@ -116,8 +116,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>772</width>
<height>514</height>
<width>774</width>
<height>497</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
@ -419,7 +419,7 @@
<bool>false</bool>
</property>
<property name="text">
<string>Manual Calibration</string>
<string>Start Manual Calibration</string>
</property>
<property name="checkable">
<bool>true</bool>
@ -542,8 +542,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>724</width>
<height>497</height>
<width>730</width>
<height>554</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_7" rowstretch="1,0,0,0">
@ -2044,8 +2044,8 @@ Setup the flight mode channel on the RC Input tab if you have not done so alread
<rect>
<x>0</x>
<y>0</y>
<width>407</width>
<height>138</height>
<width>544</width>
<height>169</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">