Private methods
| 162 | |
| 163 | // Private methods |
| 164 | void |
| 165 | SourceWidget::connectAll(void) |
| 166 | { |
| 167 | connect( |
| 168 | this->ui->throttleCheck, |
| 169 | SIGNAL(stateChanged(int)), |
| 170 | this, |
| 171 | SLOT(onThrottleChanged(void))); |
| 172 | |
| 173 | connect( |
| 174 | this->ui->throttleSpin, |
| 175 | SIGNAL(valueChanged(qreal)), |
| 176 | this, |
| 177 | SLOT(onThrottleChanged(void))); |
| 178 | |
| 179 | connect( |
| 180 | this->saverUI, |
| 181 | SIGNAL(recordStateChanged(bool)), |
| 182 | this, |
| 183 | SLOT(onRecordStartStop())); |
| 184 | |
| 185 | connect( |
| 186 | this->ui->autoGainCombo, |
| 187 | SIGNAL(activated(int)), |
| 188 | this, |
| 189 | SLOT(onSelectAutoGain(void))); |
| 190 | |
| 191 | connect( |
| 192 | this->ui->autoGainSlider, |
| 193 | SIGNAL(valueChanged(int)), |
| 194 | this, |
| 195 | SLOT(onChangeAutoGain(void))); |
| 196 | |
| 197 | connect( |
| 198 | this->ui->gainPresetCheck, |
| 199 | SIGNAL(stateChanged(int)), |
| 200 | this, |
| 201 | SLOT(onToggleAutoGain(void))); |
| 202 | |
| 203 | connect( |
| 204 | this->ui->dcRemoveCheck, |
| 205 | SIGNAL(stateChanged(int)), |
| 206 | this, |
| 207 | SLOT(onToggleDCRemove(void))); |
| 208 | |
| 209 | connect( |
| 210 | this->ui->swapIQCheck, |
| 211 | SIGNAL(stateChanged(int)), |
| 212 | this, |
| 213 | SLOT(onToggleIQReverse(void))); |
| 214 | |
| 215 | connect( |
| 216 | this->ui->agcEnabledCheck, |
| 217 | SIGNAL(stateChanged(int)), |
| 218 | this, |
| 219 | SLOT(onToggleAGCEnabled(void))); |
| 220 | |
| 221 | connect( |