25 #ifndef INTDOUBLEMAPCONTROLELEMENT_HH 26 #define INTDOUBLEMAPCONTROLELEMENT_HH 55 void setRange(
const double min,
const double max);
58 double value(
const int key)
const;
59 void erase(
const int key);
68 void setValue(
const std::string& value);
72 size_t find(
const int key)
const;
73 void push_back(
const int key,
const double value);
76 double _min, _max, _step;
77 std::vector<QVBoxLayout*> _columns;
78 std::vector<QLabel*> _keys;
79 std::vector<QDoubleSpinBox*> _values;
void setSingleStep(const double step)
~IntDoubleMapControlElement()
std::map< int, double > IntDoubleMap
IntDoubleMapControlElement(const QString &label, const IntDoubleMap &value=IntDoubleMap(), QWidget *parent=0)
std::string toStdString() const
void erase(const int key)
Abstract horizontally layouted control element consisting of a label, the control widget(s) and a che...
IntDoubleMap value() const
void setRange(const double min, const double max)
void setValue(const int key, const double value)