| 40 | } |
| 41 | |
| 42 | void |
| 43 | SamplerDialog::connectAll(void) |
| 44 | { |
| 45 | connect( |
| 46 | this->ui->buttonBox, |
| 47 | SIGNAL(clicked(QAbstractButton *)), |
| 48 | this, |
| 49 | SLOT(onClose())); |
| 50 | |
| 51 | connect( |
| 52 | this->ui->bpsSpin, |
| 53 | SIGNAL(valueChanged(int)), |
| 54 | this, |
| 55 | SLOT(onBpsChanged(void))); |
| 56 | |
| 57 | connect( |
| 58 | this->ui->rowSize, |
| 59 | SIGNAL(valueChanged(int)), |
| 60 | this, |
| 61 | SLOT(onRowSizeChanged(void))); |
| 62 | |
| 63 | connect( |
| 64 | this->ui->zoomSpin, |
| 65 | SIGNAL(valueChanged(int)), |
| 66 | this, |
| 67 | SLOT(onZoomChanged(void))); |
| 68 | |
| 69 | connect( |
| 70 | this->ui->histogram, |
| 71 | SIGNAL(blanked(void)), |
| 72 | this, |
| 73 | SIGNAL(resample(void))); |
| 74 | |
| 75 | connect( |
| 76 | this->ui->horizontalScrollBar, |
| 77 | SIGNAL(valueChanged(int)), |
| 78 | this, |
| 79 | SLOT(onHScroll(int))); |
| 80 | |
| 81 | connect( |
| 82 | this->ui->verticalScrollBar, |
| 83 | SIGNAL(valueChanged(int)), |
| 84 | this, |
| 85 | SLOT(onVScroll(int))); |
| 86 | |
| 87 | connect( |
| 88 | this->ui->symView, |
| 89 | SIGNAL(zoomChanged(unsigned int)), |
| 90 | this, |
| 91 | SLOT(onSymViewZoomChanged(unsigned int))); |
| 92 | |
| 93 | connect( |
| 94 | this->ui->symView, |
| 95 | SIGNAL(offsetChanged(unsigned int)), |
| 96 | this, |
| 97 | SLOT(onOffsetChanged(unsigned int))); |
| 98 | |
| 99 | connect( |