FACT++  1.0
void FactGui::on_fPixelEnable_stateChanged ( int  b)
inlineprivatevirtual

Implements MainWindow.

Definition at line 3477 of file FactGui.h.

References PixelMapEntry::hw(), PixelMap::index(), and Dim::SendCommand().

3478  {
3479  if (fInHandler)
3480  return;
3481 
3482  const PixelMapEntry &entry = fPixelMap.index(fPixelIdx->value());
3483 
3484  Dim::SendCommand(b==Qt::Unchecked ?
3485  "FTM_CONTROL/DISABLE_PIXEL" : "FTM_CONTROL/ENABLE_PIXEL",
3486  uint16_t(entry.hw()));
3487  }
bool fInHandler
Definition: MainWindow.h:26
bool SendCommand(const std::string &command)
Definition: Dim.h:26
PixelMap fPixelMap
Definition: FactGui.h:73
const PixelMapEntry & index(int idx) const
Definition: PixelMap.h:107
int hw() const
Definition: PixelMap.h:39

+ Here is the call graph for this function: