FACT++  1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void FactGui::handleFscCurrent ( const DimData d)
inlineprivate

Definition at line 2197 of file FactGui.h.

References i, and DimData::size().

Referenced by infoHandler().

2198  {
2199  const bool enable = d.size()>0 && CheckSize(d, 31*sizeof(float));
2200  if (!enable)
2201  return;
2202 
2203  QDoubleSpinBox *boxes[] = {
2204  fAmpFad00, fAmpFad10, fAmpFad20, fAmpFad30,
2205  fAmpFad01, fAmpFad11, fAmpFad21, fAmpFad31,
2206  fAmpFad02, fAmpFad12, fAmpFad22, fAmpFad32,
2207  fAmpFPA00, fAmpFPA10, fAmpFPA20, fAmpFPA30,
2208  fAmpFPA01, fAmpFPA11, fAmpFPA21, fAmpFPA31,
2209  fAmpFPA02, fAmpFPA12, fAmpFPA22, fAmpFPA32,
2210  fAmpETH0, fAmpETH1,
2211  fAmpFTM0, fAmpFTM1,
2212  fAmpFFC, fAmpFLP,
2213  };
2214 
2215  for (int i=0; i<30; i++)
2216  SetFscValue(boxes[i], d, i, enable);
2217  }
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: