31 #include "ui_inputpage.h"
47 ui->pwmButton->setEnabled(
49 ui->ppmButton->setEnabled(
51 ui->hottSumDButton->setEnabled(
53 ui->hottSumHButton->setEnabled(
55 ui->sbusButton->setEnabled(
57 ui->sbusNonInvertedButton->setEnabled(
59 ui->spectrumButton->setEnabled(
61 ui->ibusButton->setEnabled(
63 ui->srxlButton->setEnabled(
65 ui->tbsCrossfireButton->setEnabled(
69 foreach (QToolButton *button, findChildren<QToolButton *>()) {
70 if (button->isEnabled()) {
71 button->setChecked(
true);
84 if (ui->pwmButton->isChecked()) {
86 }
else if (ui->ppmButton->isChecked()) {
88 }
else if (ui->sbusButton->isChecked()) {
90 }
else if (ui->sbusNonInvertedButton->isChecked()) {
92 }
else if (ui->spectrumButton->isChecked()) {
94 }
else if (ui->hottSumDButton->isChecked()) {
96 }
else if (ui->hottSumHButton->isChecked()) {
98 }
else if (ui->ibusButton->isChecked()) {
100 }
else if (ui->srxlButton->isChecked()) {
102 }
else if (ui->tbsCrossfireButton->isChecked()) {
108 || restartNeeded(
getWizard()->getInputType()));
128 return (selectedType != boardInputType);
The SetupWizard class is the main interface to the setup wizard. It provides selects the sequence of ...
InputType
Types of input to configure for the default port.
void setInputType(Core::IBoardType::InputType type)
SetupWizard * getWizard() const
void setRestartNeeded(bool needed)
virtual InputType getInputType()
getInputType get the current input type
Core::IBoardType * getControllerType() const
virtual bool isInputConfigurationSupported(InputType type=INPUT_TYPE_ANY)
Determine if this board supports configuring the receiver.
InputPage(SetupWizard *wizard, QWidget *parent=nullptr)
Core::IBoardType * getControllerType() const
ControllerPage::getControllerType get the interface for the connected board.