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

Method setRunning

Components/PanoramicDialog.cpp:362–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void
363PanoramicDialog::setRunning(bool running)
364{
365 if (running && !this->running) {
366 this->frames = 0;
367 this->ui->framesLabel->setText("0");
368 } else if (!running && this->running) {
369 this->ui->sampleRateSpin->setValue(this->dialogConfig->sampRate);
370 }
371
372 this->running = running;
373 this->refreshUi();
374}
375
376QString
377PanoramicDialog::getStrategy(void) const

Callers 1

setPanSpectrumRunningMethod · 0.80

Calls 2

refreshUiMethod · 0.95
setValueMethod · 0.80

Tested by

no test coverage detected