MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onFit

Method onFit

Components/TimeWindow.cpp:1328–1341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1326}
1327
1328void
1329TimeWindow::onFit(void)
1330{
1331 if (this->ui->realWaveform->isComplete()) {
1332 this->ui->realWaveform->fitToEnvelope();
1333 this->ui->imagWaveform->fitToEnvelope();
1334
1335 this->ui->realWaveform->zoomHorizontalReset();
1336 this->ui->imagWaveform->zoomHorizontalReset();
1337
1338 this->ui->realWaveform->invalidate();
1339 this->ui->imagWaveform->invalidate();
1340 }
1341}
1342
1343void
1344TimeWindow::onToggleAutoFit(void)

Callers 3

onTaskDoneMethod · 0.95
onResetCarrierMethod · 0.95
onWaveViewChangedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected