Changeset 17217 for trunk/FACT++/gui
- Timestamp:
- 10/12/13 11:50:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r17211 r17217 2559 2559 if (s.index==FTM::State::kConnected || 2560 2560 s.index==FTM::State::kIdle || 2561 s.index==FTM::State::kValid || 2561 2562 configuring) // Dim connection / FTM connected 2562 2563 SetLedColor(fStatusFTMLed, kLedGreen, time); … … 2564 2565 SetLedColor(fStatusFTMLed, kLedGreenCheck, time); 2565 2566 if (s.index==FTM::State::kConnected || 2566 s.index==FTM::State::kIdle) // Dim connection / FTM connected 2567 s.index==FTM::State::kIdle || 2568 s.index==FTM::State::kValid) // Dim connection / FTM connected 2567 2569 enable = true; 2568 2570 if (s.index>=FTM::State::kConfigError1) // Dim connection / FTM connected 2569 2571 SetLedColor(fStatusFTMLed, kLedGreenWarn, time); 2570 2572 2571 fFtmStartRun->setEnabled(!configuring && enable );2572 fFtmStopRun->setEnabled(!configuring && (enable || s.index==FTM::State::kTriggerOn));2573 fFtmStartRun->setEnabled(!configuring && enable && s.index!=FTM::State::kTriggerOn); 2574 fFtmStopRun->setEnabled(!configuring && !enable); 2573 2575 2574 2576 fTriggerWidget->setEnabled(enable);
Note:
See TracChangeset
for help on using the changeset viewer.