FACT++  1.0
void FactGui::handleFscVolt ( const DimData d)
inlineprivate

Definition at line 2175 of file FactGui.h.

References i, and DimData::size().

Referenced by infoHandler().

2176  {
2177  const bool enable = d.size()>0 && CheckSize(d, 31*sizeof(float));
2178  if (!enable)
2179  return;
2180 
2181  QDoubleSpinBox *boxes[] = {
2182  fVoltFad00, fVoltFad10, fVoltFad20, fVoltFad30,
2183  fVoltFad01, fVoltFad11, fVoltFad21, fVoltFad31,
2184  fVoltFad02, fVoltFad12, fVoltFad22, fVoltFad32,
2185  fVoltFPA00, fVoltFPA10, fVoltFPA20, fVoltFPA30,
2186  fVoltFPA01, fVoltFPA11, fVoltFPA21, fVoltFPA31,
2187  fVoltFPA02, fVoltFPA12, fVoltFPA22, fVoltFPA32,
2188  fVoltETH0, fVoltETH1,
2189  fVoltFTM0, fVoltFTM1,
2190  fVoltFFC, fVoltFLP,
2191  };
2192 
2193  for (int i=0; i<30; i++)
2194  SetFscValue(boxes[i], d, i, enable);
2195  }
int i
Definition: db_dim_client.c:21
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
Definition: FactGui.h:639
void SetFscValue(QDoubleSpinBox *box, const DimData &d, int idx, bool enable)
Definition: FactGui.h:2103
size_t size() const
Definition: DimData.h:39

+ Here is the call graph for this function:

+ Here is the caller graph for this function: