Changeset 10736 for trunk/FACT++
- Timestamp:
- 05/17/11 21:00:14 (14 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r10678 r10736 224 224 } 225 225 226 void MainWindow::on_fPixelEnable_stateChanged(bool b) 227 { 228 if (fInHandler) 229 return; 230 231 const uint16_t idx = fPixelIdx->value(); 232 233 const uint8_t d[3] = { idx&0xff, idx>>8, !b }; 234 235 Dim::SendCommand("FTM_CONTROL/DISABLE_PIXEL", d); 236 } 237 238 void MainWindow::on_fEnableTrigger_stateChanged(bool b) 239 { 240 if (!fInHandler) 241 Dim::SendCommand("FTM_CONTROL/ENABLE_TRIGGER", b); 242 } 243 244 void MainWindow::on_fEnableExt1_stateChanged(bool b) 245 { 246 if (!fInHandler) 247 Dim::SendCommand("FTM_CONTROL/ENABLE_EXT1", b); 248 } 249 250 void MainWindow::on_fEnableExt2_stateChanged(bool b) 251 { 252 if (!fInHandler) 253 Dim::SendCommand("FTM_CONTROL/ENABLE_EXT2", b); 254 } 255 256 void MainWindow::on_fEnableTimeMarker_stateChanged(bool b) 257 { 258 if (!fInHandler) 259 Dim::SendCommand("FTM_CONTROL/ENABLE_TIM", b); 260 } 261 262 void MainWindow::on_fEnableVeto_stateChanged(bool b) 263 { 264 if (!fInHandler) 265 Dim::SendCommand("FTM_CONTROL/ENABLE_VETO", b); 266 } 267 226 268 void MainWindow::slot_fFtuLED_clicked() 227 269 { -
trunk/FACT++/gui/MainWindow.h
r10733 r10736 43 43 44 44 // Tab: FTM 45 void on_fEnableTrigger_ clicked(bool) { }46 void on_fEnableExt1_ clicked(bool) { }47 void on_fEnableExt2_ clicked(bool) { }48 void on_fEnableTimeMarker_ clicked(bool) { }49 void on_fEnableVeto_ clicked(bool) { }45 void on_fEnableTrigger_stateChanged(bool); 46 void on_fEnableExt1_stateChanged(bool); 47 void on_fEnableExt2_stateChanged(bool); 48 void on_fEnableTimeMarker_stateChanged(bool); 49 void on_fEnableVeto_stateChanged(bool); 50 50 51 51 void on_fTriggerSeqPed_valueChanged(int) { SetTriggerSequence(); } … … 82 82 virtual void on_fThresholdIdx_valueChanged(int) { } 83 83 virtual void on_fPixelIdx_valueChanged(int) { } 84 void on_fPixelEnable_stateChanged(bool); 84 85 85 86 // Tab: Chat
Note:
See TracChangeset
for help on using the changeset viewer.