FACT++  1.0
void FactGui::AddDescription ( QStandardItem *  item,
const vector< Description > &  vec 
)
inlineprivate

Definition at line 281 of file FactGui.h.

References Description::GetHtmlDescription(), and str.

282  {
283  if (!item)
284  return;
285  if (vec.size()==0)
286  return;
287 
288  item->setToolTip(vec[0].comment.c_str());
289 
290  const string str = Description::GetHtmlDescription(vec);
291 
292  QStandardItem *desc = new QStandardItem(str.c_str());
293  desc->setSelectable(false);
294  item->setChild(0, 0, desc);
295  }
Definition: did.h:42
char str[80]
Definition: test_client.c:7
static std::string GetHtmlDescription(const std::vector< Description > &vec)
Definition: Description.cc:140

+ Here is the call graph for this function: