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

Method onUnitsChanged

Default/GenericInspector/FACTab.cpp:306–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void
307FACTab::onUnitsChanged(void)
308{
309 if (this->ui->unitCheck->isChecked()) {
310 this->ui->facWaveform->setSampleRate(1);
311 this->ui->facWaveform->setHorizontalUnits("sp");
312 } else {
313 this->ui->facWaveform->setSampleRate(this->fs);
314 this->ui->facWaveform->setHorizontalUnits("s");
315 }
316}
317
318void
319FACTab::onChangePeakDetect()

Callers 2

FACTabMethod · 0.95
setSampleRateMethod · 0.95

Calls 1

setSampleRateMethod · 0.45

Tested by

no test coverage detected