| 690 | } |
| 691 | |
| 692 | void |
| 693 | TimeWindow::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 | |
| 712 | void |
| 713 | TimeWindow::notifyTaskRunning(bool running) |