FACT++  1.0
void FactGui::SetFscValue ( QDoubleSpinBox *  box,
const DimData d,
int  idx,
bool  enable 
)
inlineprivate

Definition at line 2103 of file FactGui.h.

References DimData::get(), Time::GetAsStr(), str, and DimData::time.

2104  {
2105  //box->setEnabled(enable);
2106  if (!enable)
2107  {
2108  box->setToolTip(d.time.GetAsStr().c_str());
2109  return;
2110  }
2111 
2112  ostringstream str;
2113  str << d.time << " -- " << d.get<float>() << "s";
2114 
2115  box->setToolTip(str.str().c_str());
2116  box->setValue(d.get<float>(idx*4+4));
2117  }
char str[80]
Definition: test_client.c:7
const Time time
Definition: DimData.h:9
T get(uint32_t offset=0) const
Definition: DimData.h:29
std::string GetAsStr(const char *fmt="%Y-%m-%d %H:%M:%S") const
Definition: Time.cc:240

+ Here is the call graph for this function: