6class InfoItem:
public Gtk::Box{
9 Gtk::Label* valueLabel;
12 InfoItem(std::string name);
14 void setName(std::string name);
15 std::string getName();
17 void setValue(
bool value);
18 void setValue(
int value);
19 void setValue(uint8_t value);
20 void setValue(uint16_t value);
21 void setValue(
long value);
22 void setValue(uint32_t value);
23 void setValue(
double value);
24 void setValue(uint64_t value);
25 void setValue(
float value);
26 void setValue(std::string value);
28 bool getValueAsBool();
30 long getValueAsLong();
31 float getValueAsFloat();
32 double getValueAsDouble();
33 std::string getValue();
34 void setBackground(std::string color);
35 void setTextColor(std::string color);