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

Method samplingNotifySelection

Components/TimeWindow.cpp:692–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690}
691
692void
693TimeWindow::samplingNotifySelection(bool selection, bool periodic)
694{
695 this->ui->intSelectionButton->setEnabled(selection);
696 this->ui->clkSelectionButton->setEnabled(selection);
697
698 if (!selection) {
699 if (this->ui->intSelectionButton->isChecked())
700 this->ui->intFullButton->setChecked(true);
701
702 if (this->ui->clkSelectionButton->isChecked())
703 this->ui->clkManualButton->setChecked(true);
704 } else {
705 this->ui->intSelectionButton->setChecked(true);
706
707 if (periodic)
708 this->ui->clkSelectionButton->setChecked(true);
709 }
710}
711
712void
713TimeWindow::notifyTaskRunning(bool running)

Callers 1

refreshUiMethod · 0.95

Calls 1

setEnabledMethod · 0.45

Tested by

no test coverage detected