26 #ifndef SLIDER_TEXT_WIDGET_H
27 #define SLIDER_TEXT_WIDGET_H
66 void setName(
const QString &);
71 void init(
double min=0.0,
double max=100.0,
double value=50.0);
74 double getValue()
const;
77 void setValue(
const double,
bool emitValueChanged =
false);
90 void valueChanged(
int);
93 void textModified(
const QString &);
100 void updateLineEdit();
103 double sliderToValue(
const int);
106 int valueToSlider(
const double);
135 #endif // SLIDERTEXTWIDGET_H
double max
the max real value
Definition: SliderTextWidget.h:118
QColor bgColor
the line edit bg color
Definition: SliderTextWidget.h:112
#define CAMITK_API
Definition: CamiTKAPI.h:49
double getValue() const
Get the current value.
Definition: SliderTextWidget.h:130
QLabel * label
the text label
Definition: SliderTextWidget.h:121
QSlider * slider
the slider
Definition: SliderTextWidget.h:127
This widget allows you to use a slider with a lineedit in a Dialog Box.
Definition: SliderTextWidget.h:55
double value
the current value
Definition: SliderTextWidget.h:109
double min
the min real value
Definition: SliderTextWidget.h:115
QLineEdit * lineEdit
the line edit
Definition: SliderTextWidget.h:124