| 160 | } |
| 161 | |
| 162 | void |
| 163 | TimeWindow::connectAll(void) |
| 164 | { |
| 165 | this->connectTransformWidgets(); |
| 166 | |
| 167 | connect( |
| 168 | this->ui->realWaveform, |
| 169 | SIGNAL(horizontalRangeChanged(qint64, qint64)), |
| 170 | this, |
| 171 | SLOT(onHZoom(qint64, qint64))); |
| 172 | |
| 173 | connect( |
| 174 | this->ui->realWaveform, |
| 175 | SIGNAL(horizontalSelectionChanged(qreal, qreal)), |
| 176 | this, |
| 177 | SLOT(onHSelection(qreal, qreal))); |
| 178 | |
| 179 | connect( |
| 180 | this->ui->imagWaveform, |
| 181 | SIGNAL(horizontalRangeChanged(qint64, qint64)), |
| 182 | this, |
| 183 | SLOT(onHZoom(qint64, qint64))); |
| 184 | |
| 185 | connect( |
| 186 | this->ui->imagWaveform, |
| 187 | SIGNAL(horizontalSelectionChanged(qreal, qreal)), |
| 188 | this, |
| 189 | SLOT(onHSelection(qreal, qreal))); |
| 190 | |
| 191 | connect( |
| 192 | this->ui->realWaveform, |
| 193 | SIGNAL(hoverTime(qreal)), |
| 194 | this, |
| 195 | SLOT(onHoverTime(qreal))); |
| 196 | |
| 197 | connect( |
| 198 | this->ui->imagWaveform, |
| 199 | SIGNAL(hoverTime(qreal)), |
| 200 | this, |
| 201 | SLOT(onHoverTime(qreal))); |
| 202 | |
| 203 | connect( |
| 204 | this->ui->actionSave, |
| 205 | SIGNAL(triggered(bool)), |
| 206 | this, |
| 207 | SLOT(onSaveAll(void))); |
| 208 | |
| 209 | connect( |
| 210 | this->ui->actionSave_selection, |
| 211 | SIGNAL(triggered(bool)), |
| 212 | this, |
| 213 | SLOT(onSaveSelection(void))); |
| 214 | |
| 215 | connect( |
| 216 | this->ui->actionFit_to_gain, |
| 217 | SIGNAL(triggered(bool)), |
| 218 | this, |
| 219 | SLOT(onFit(void))); |
no test coverage detected