13 setWindowTitle(
"SedSat Options");
15 auto* layout =
new QVBoxLayout(
this);
16 auto* formLayout =
new QFormLayout;
20 auto* edit =
new QTextEdit(QString::number(it.value()));
21 edit->setFixedHeight(30);
23 formLayout->addRow(
new QLabel(it.key()), edit);
26 layout->addLayout(formLayout);
29 auto* buttonBox =
new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
30 layout->addWidget(buttonBox);
33 connect(buttonBox, &QDialogButtonBox::accepted,
this, &OptionsDialog::accept);
34 connect(buttonBox, &QDialogButtonBox::rejected,
this, &OptionsDialog::reject);