25 for (
int i=0; i<sheets.count(); i++)
27 QLabel *label =
new QLabel(
ui->scrollAreaWidgetContents);
28 label->setText(sheets[i]);
30 ui->formLayout->setWidget(i, QFormLayout::LabelRole, label);
32 QGroupBox *groupBox =
new QGroupBox(
ui->scrollAreaWidgetContents);
33 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
35 QHBoxLayout *horizontalLayout =
new QHBoxLayout(groupBox);
36 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
37 QRadioButton* radioButton_mixture =
new QRadioButton(groupBox);
38 radioButton_mixture->setObjectName(QString::fromUtf8(
"Target"));
39 radioButton_mixture->setText(
"Target");
40 horizontalLayout->addWidget(radioButton_mixture);
42 QRadioButton* radioButton_source =
new QRadioButton(groupBox);
43 radioButton_source->setObjectName(QString::fromUtf8(
"Source"));
44 radioButton_source->setText(
"Source");
45 horizontalLayout->addWidget(radioButton_source);
48 radioButton_source->setChecked(i!=0);
49 radioButton_mixture->setChecked(i==0);
52 ui->formLayout->setWidget(i, QFormLayout::FieldRole, groupBox);
Main application window for SedSAT3 source apportionment analysis.