mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
OP-39 Changed the Radio Setup Wizard to go to the Arming Settings screen after the last step in the wizard. Changed the info text in a dialog.
This commit is contained in:
parent
eed564a3c4
commit
138848453f
@ -296,7 +296,9 @@ void ConfigInputWidget::goToWizard()
|
|||||||
{
|
{
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText(tr("Arming Settings are now set to Always Disarmed for your safety."));
|
msgBox.setText(tr("Arming Settings are now set to Always Disarmed for your safety."));
|
||||||
msgBox.setDetailedText(tr("You will have to reconfigure the arming settings manually when the wizard is finished."));
|
msgBox.setDetailedText(tr("You will have to reconfigure the arming settings manually "
|
||||||
|
"when the wizard is finished. After the last step of the "
|
||||||
|
"wizard you will be taken to the Arming Settings screen."));
|
||||||
msgBox.setStandardButtons(QMessageBox::Ok);
|
msgBox.setStandardButtons(QMessageBox::Ok);
|
||||||
msgBox.setDefaultButton(QMessageBox::Ok);
|
msgBox.setDefaultButton(QMessageBox::Ok);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
@ -370,6 +372,7 @@ void ConfigInputWidget::wzNext()
|
|||||||
case wizardFinish:
|
case wizardFinish:
|
||||||
wizardStep=wizardNone;
|
wizardStep=wizardNone;
|
||||||
m_config->stackedWidget->setCurrentIndex(0);
|
m_config->stackedWidget->setCurrentIndex(0);
|
||||||
|
m_config->tabWidget->setCurrentIndex(2);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Q_ASSERT(0);
|
Q_ASSERT(0);
|
||||||
@ -544,7 +547,8 @@ void ConfigInputWidget::wizardSetUpStep(enum wizardSteps step)
|
|||||||
connect(flightStatusObj, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(moveSticks()));
|
connect(flightStatusObj, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(moveSticks()));
|
||||||
connect(accessoryDesiredObj0, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(moveSticks()));
|
connect(accessoryDesiredObj0, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(moveSticks()));
|
||||||
m_config->wzText->setText(QString(tr("You have completed this wizard, please check below if the picture mimics your sticks movement.\n"
|
m_config->wzText->setText(QString(tr("You have completed this wizard, please check below if the picture mimics your sticks movement.\n"
|
||||||
"These new settings aren't saved to the board yet, after pressing next you will go to the initial screen where you can save the configuration.")));
|
"These new settings aren't saved to the board yet, after pressing next you will go to the Arming Settings "
|
||||||
|
"screen where you can set your desired arming sequence and save the configuration.")));
|
||||||
fastMdata();
|
fastMdata();
|
||||||
|
|
||||||
manualSettingsData.ChannelNeutral[ManualControlSettings::CHANNELNEUTRAL_THROTTLE]=
|
manualSettingsData.ChannelNeutral[ManualControlSettings::CHANNELNEUTRAL_THROTTLE]=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user