#include <settings_window.hpp>
Definition at line 8 of file settings_window.hpp.
◆ SettingsWindow()
| SettingsWindow::SettingsWindow |
( |
QWidget * | parent = 0 | ) |
|
Definition at line 4 of file settings_window.cpp.
6 ui.basePort->setValidator(
new QIntValidator(0, 65535,
this));
7 ui.controlPort->setValidator(
new QIntValidator(0, 65535,
this));
8
9 connect(
ui.multSpin, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
10 connect(
ui.ldgmMaxLoss, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
11 connect(
ui.ldgmC, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
12 connect(
ui.ldgmK, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
13 connect(
ui.ldgmM, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
14 connect(
ui.rsK, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
15 connect(
ui.rsN, SIGNAL(valueChanged(
int)),
this, SIGNAL(
changed()));
16
17 connect(
ui.ldgmSimpCpuRadio, SIGNAL(toggled(
bool)),
this, SIGNAL(
changed()));
18 connect(
ui.ldgmSimpGpuRadio, SIGNAL(toggled(
bool)),
this, SIGNAL(
changed()));
19}
References changed(), and ui.
◆ changed
| void SettingsWindow::changed |
( |
| ) |
|
|
signal |
◆ changeFecPage
| void SettingsWindow::changeFecPage |
( |
| ) |
|
|
privateslot |
Definition at line 31 of file settings_window.cpp.
31 {
32 if(
ui.fecMultRadio->isChecked()){
33 ui.stackedWidget->setCurrentIndex(0);
34 }
else if(
ui.fecLdgmRadio->isChecked()){
35 ui.stackedWidget->setCurrentIndex(2);
36 }
else if(
ui.fecRsRadio->isChecked()){
37 ui.stackedWidget->setCurrentIndex(3);
38 }
39}
References ui.
Referenced by init().
◆ fecTab
| void SettingsWindow::fecTab |
( |
| ) |
|
|
privateslot |
◆ init()
| void SettingsWindow::init |
( |
SettingsUi * | settingsUi | ) |
|
Definition at line 21 of file settings_window.cpp.
21 {
23
24 connect(
ui.fecNoneRadio, SIGNAL(toggled(
bool)),
this, SLOT(
changeFecPage()));
25 connect(
ui.fecMultRadio, SIGNAL(toggled(
bool)),
this, SLOT(
changeFecPage()));
26 connect(
ui.fecLdgmRadio, SIGNAL(toggled(
bool)),
this, SLOT(
changeFecPage()));
27 connect(
ui.fecRsRadio, SIGNAL(toggled(
bool)),
this, SLOT(
changeFecPage()));
28
29}
void initSettingsWin(Ui::Settings *ui)
References changeFecPage(), SettingsUi::initSettingsWin(), and ui.
Referenced by UltragridWindow::initializeUgOpts().
◆ ui
| Ui::Settings SettingsWindow::ui |
|
private |
The documentation for this class was generated from the following files: