| 236 | } |
| 237 | |
| 238 | void |
| 239 | RMSViewTab::connectAll(void) |
| 240 | { |
| 241 | connect( |
| 242 | &this->timer, |
| 243 | SIGNAL(timeout()), |
| 244 | this, |
| 245 | SLOT(onTimeout())); |
| 246 | |
| 247 | connect( |
| 248 | this->socket, |
| 249 | SIGNAL(disconnected()), |
| 250 | this, |
| 251 | SLOT(onSocketDisconnected())); |
| 252 | |
| 253 | connect( |
| 254 | this->ui->stopButton, |
| 255 | SIGNAL(clicked(bool)), |
| 256 | this, |
| 257 | SLOT(onStop())); |
| 258 | |
| 259 | connect( |
| 260 | this->ui->saveButton, |
| 261 | SIGNAL(clicked(bool)), |
| 262 | this, |
| 263 | SLOT(onSave())); |
| 264 | |
| 265 | connect( |
| 266 | this->ui->resetButton, |
| 267 | SIGNAL(clicked(bool)), |
| 268 | this, |
| 269 | SLOT(onResetZoom())); |
| 270 | |
| 271 | connect( |
| 272 | this->ui->autoScrollButton, |
| 273 | SIGNAL(clicked(bool)), |
| 274 | this, |
| 275 | SLOT(onToggleModes())); |
| 276 | |
| 277 | connect( |
| 278 | this->ui->autoFitButton, |
| 279 | SIGNAL(clicked(bool)), |
| 280 | this, |
| 281 | SLOT(onToggleModes())); |
| 282 | |
| 283 | connect( |
| 284 | this->ui->dbButton, |
| 285 | SIGNAL(clicked(bool)), |
| 286 | this, |
| 287 | SLOT(onToggleModes())); |
| 288 | |
| 289 | connect( |
| 290 | this->ui->intSpin, |
| 291 | SIGNAL(valueChanged(int)), |
| 292 | this, |
| 293 | SLOT(onValueChanged(int))); |
| 294 | } |
| 295 |