| 73 | } |
| 74 | |
| 75 | void |
| 76 | GuiConfigTab::connectAll(void) |
| 77 | { |
| 78 | connect( |
| 79 | this->ui->reverseDragBehaviorCheck, |
| 80 | SIGNAL(toggled(bool)), |
| 81 | this, |
| 82 | SLOT(onConfigChanged(void))); |
| 83 | |
| 84 | connect( |
| 85 | this->ui->noLimitsCheck, |
| 86 | SIGNAL(toggled(bool)), |
| 87 | this, |
| 88 | SLOT(onConfigChanged(void))); |
| 89 | |
| 90 | connect( |
| 91 | this->ui->useGLWaterfallCheck, |
| 92 | SIGNAL(toggled(bool)), |
| 93 | this, |
| 94 | SLOT(onConfigChanged(void))); |
| 95 | |
| 96 | connect( |
| 97 | this->ui->useMaxBlendingCheck, |
| 98 | SIGNAL(toggled(bool)), |
| 99 | this, |
| 100 | SLOT(onConfigChanged(void))); |
| 101 | |
| 102 | connect( |
| 103 | this->ui->useGlWfInWindowsCheck, |
| 104 | SIGNAL(toggled(bool)), |
| 105 | this, |
| 106 | SLOT(onConfigChanged(void))); |
| 107 | |
| 108 | connect( |
| 109 | this->ui->ttlCheck, |
| 110 | SIGNAL(toggled(bool)), |
| 111 | this, |
| 112 | SLOT(onConfigChanged(void))); |
| 113 | |
| 114 | connect( |
| 115 | this->ui->ttlSpin, |
| 116 | SIGNAL(valueChanged(int)), |
| 117 | this, |
| 118 | SLOT(onConfigChanged(void))); |
| 119 | } |
| 120 | |
| 121 | GuiConfigTab::GuiConfigTab(QWidget *parent) : |
| 122 | ConfigTab(parent, "GUI behavior"), |