Changeset 12121 for trunk/FACT++
- Timestamp:
- 09/16/11 22:24:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r12116 r12121 1092 1092 fFadRunNoNext->setValue(runs[1]); 1093 1093 fFadRunNoCur->setEnabled(runs[0]>=0); 1094 fMcpStopRun->setEnabled(runs[0]>=0);1094 //fMcpStopRun->setEnabled(runs[0]>=0); 1095 1095 1096 1096 } … … 2660 2660 if (s.index==4) // Connected 2661 2661 SetLedColor(fStatusMCPLed, kLedYellow, time); 2662 if (s.index==5 ) // Idle2662 if (s.index==5 || s.index==10) // Idle 2663 2663 SetLedColor(fStatusMCPLed, kLedGreen, time); 2664 2664 2665 const bool configuring = s.index>=7 && s.index<=10; 2666 2667 if (configuring) // Idle 2668 SetLedColor(fStatusMCPLed, kLedGreen, time); 2669 2670 fMcpStartRun->setEnabled(s.index==5); 2671 fMcpReset->setEnabled(configuring); 2665 if (s.index>=7 && s.index<=9) 2666 SetLedColor(fStatusMCPLed, kLedGreenBar, time); 2667 2668 fMcpStartRun->setEnabled(s.index>=5); 2669 fMcpStopRun->setEnabled(s.index>=5); 2670 fMcpReset->setEnabled(s.index>=7 && s.index<=10); 2672 2671 } 2673 2672 … … 2758 2757 fFadWidget->setEnabled(enable); 2759 2758 2760 const bool configuring = s.index>=FAD::kConfiguring1; 2761 fFadStart->setEnabled(!configuring && enable); 2762 fFadStop->setEnabled(!configuring && enable); 2763 fFadAbort->setEnabled(!configuring && enable); 2759 fFadStart->setEnabled(s.index==FAD::kOffline); 2760 fFadStop->setEnabled(s.index>FAD::kOffline); 2761 fFadAbort->setEnabled(s.index>FAD::kOffline); 2762 fFadSoftReset->setEnabled(s.index>FAD::kOffline); 2763 fFadHardReset->setEnabled(s.index>FAD::kOffline); 2764 2764 } 2765 2765 … … 2837 2837 bool enable = true; 2838 2838 2839 if (s.index< =30) // Ready/Waiting2839 if (s.index<30) // Ready/Waiting 2840 2840 SetLedColor(fStatusLoggerLed, kLedYellow, time); 2841 if (s.index==30) // Ready/Waiting 2842 SetLedColor(fStatusLoggerLed, kLedGreen, time); 2841 2843 if (s.index<-1) // Offline 2842 2844 { … … 2850 2852 2851 2853 fLoggerWidget->setEnabled(enable); 2852 fLoggerStart->setEnabled( enable);2853 fLoggerStop->setEnabled( enable);2854 fLoggerStart->setEnabled(s.index>-1 && s.index<30); 2855 fLoggerStop->setEnabled(s.index>=30); 2854 2856 } 2855 2857 … … 3577 3579 dat[i] = fVecBiasVolt[entry.hv()+offset]*90./4096; 3578 3580 3579 fBiasCamV->highlightPixel(i, fVecBiasVolt[entry.hv()] ==fVecBiasVolt[entry.hv()+416]);3581 fBiasCamV->highlightPixel(i, fVecBiasVolt[entry.hv()]!=fVecBiasVolt[entry.hv()+416]); 3580 3582 } 3581 3583 … … 4091 4093 fAdcDataCanv->EnableSignalEvents(kMouseMoveEvent); 4092 4094 4093 fRatesCanv->setMouseTracking(true); 4095 //fRatesCanv->setMouseTracking(true); 4096 fEventCanv1->setMouseTracking(true); 4097 fEventCanv2->setMouseTracking(true); 4098 fEventCanv3->setMouseTracking(true); 4099 fEventCanv4->setMouseTracking(true); 4100 4101 fFeedbackDevCam->setMouseTracking(true); 4102 fFeedbackCmdCam->setMouseTracking(true); 4094 4103 4095 4104 connect(fRatesCanv, SIGNAL(signalPixelMoveOver(int)), … … 4104 4113 this, SLOT(slot_CameraMouseMove(int))); 4105 4114 4115 connect(fFeedbackDevCam, SIGNAL(signalPixelMoveOver(int)), 4116 this, SLOT(slot_CameraMouseMove(int))); 4117 connect(fFeedbackCmdCam, SIGNAL(signalPixelMoveOver(int)), 4118 this, SLOT(slot_CameraMouseMove(int))); 4119 4106 4120 connect(fRatesCanv, SIGNAL(signalPixelDoubleClick(int)), 4107 4121 this, SLOT(slot_CameraDoubleClick(int)));
Note:
See TracChangeset
for help on using the changeset viewer.