25 #ifndef DOUBLECONTROLELEMENT_HH 26 #define DOUBLECONTROLELEMENT_HH 45 const QString&
label,
const double value = -1, QWidget* parent = 0);
51 void setRange(
const double min,
const double max);
84 void setValue(
const std::string& value);
88 void updateSpinBox(
int value);
89 void updateSlider(
double value);
93 QDoubleSpinBox* p_spinbox;
void setValue(const double &value)
void setSingleStep(const double step)
void setRange(const double min, const double max)
DoubleControlElement(const QString &label, const double value=-1, QWidget *parent=0)
bool sliderViewEnabled() const
Abstract horizontally layouted control element consisting of a label, the control widget(s) and a che...
std::string toStdString() const
void setSliderViewEnabled(bool enable)
void setSpecialValueText(QString const &text)
If specified, the given text is shown if the spin box is at its minimum value instead of that value...
void setSuffix(QString const &text)
If specified, the given text is appended to the value in the spinbox.