1 #ifndef INCLUDE_ONCE_66A25B12_D91A_4496_B4D2_0B1BA1B7A168 2 #define INCLUDE_ONCE_66A25B12_D91A_4496_B4D2_0B1BA1B7A168 7 #include <QDoubleSpinBox> 15 QDoubleSpinBox*
const spinbox;
20 Manipulator(QString
const& label,
double min,
double max,
double defaultValue,
int decimalPlaces=0,
bool quasiExponentialSlider=
false);
22 void setValue(
double val);
23 void setRange(
double min,
double max);
24 void setMax(
double max);
25 void setLabel(QString
const& text);
26 void setUnit(QString
const& suffix);
28 double minimum()
const;
29 double maximum()
const;
31 void onSpinboxValueChanged(
double value);
32 void onSliderValueChanged(
int value);
34 void valueChanged(
double);
37 double linearToSlider(
double linear)
const;
38 double sliderToLinear(
int slider)
const;
Definition: Manipulator.hpp:10