WizardAutoStopPage::WizardAutoStopPage ( QWidget *parent ) : QWidget ( parent ), ui ( new Ui::WizardAutoStopPage ) { ui->setupUi ( this ); connect ( ui->lineMaxCalculations, SIGNAL ( textChanged ( QString ) ), this, SLOT ( checkRadioButtons() ) ); connect ( ui->lineMaxCoincidences, SIGNAL ( textChanged ( QString ) ), this, SLOT ( checkRadioButtons() ) ); }
void ChooseAlgorithmType::nextPage() { checkRadioButtons(); if( ui->allGAradioButton->isChecked() || ui->OneGAradioButton->isChecked() ) { ui->stackedWidget->setCurrentIndex( 1 ); setValues(); } else if( ui->AllFLradioButton->isChecked() || ui->OneFLradioButton->isChecked() || ui->standardRadioButton->isChecked() ) { ui->stackedWidget->setCurrentIndex( 2 ); setValues(); } }