46 for (
int i=0; i<sheets.count(); i++)
48 QLabel *label =
new QLabel(
ui->scrollAreaWidgetContents);
49 label->setText(sheets[i]);
52 ui->formLayout->setWidget(i, QFormLayout::LabelRole, label);
54 QGroupBox *groupBox =
new QGroupBox(
ui->scrollAreaWidgetContents);
55 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
57 QHBoxLayout *horizontalLayout =
new QHBoxLayout(groupBox);
58 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
59 QRadioButton* radioButton_mixture =
new QRadioButton(groupBox);
60 radioButton_mixture->setObjectName(QString::fromUtf8(
"Target"));
61 radioButton_mixture->setText(
"Target");
62 horizontalLayout->addWidget(radioButton_mixture);
64 QRadioButton* radioButton_source =
new QRadioButton(groupBox);
65 radioButton_source->setObjectName(QString::fromUtf8(
"Source"));
66 radioButton_source->setText(
"Source");
67 horizontalLayout->addWidget(radioButton_source);
70 radioButton_source->setChecked(i!=guessed_target);
71 radioButton_mixture->setChecked(i==guessed_target);
74 ui->formLayout->setWidget(i, QFormLayout::FieldRole, groupBox);
Main application window for SedSAT3 source apportionment analysis.