26 #ifndef SLIDER_TEXT_WIDGET_H
27 #define SLIDER_TEXT_WIDGET_H
70 void setName(
const QString &);
75 void init(
double min=0.0,
double max=100.0,
double value=50.0);
78 double getValue()
const;
81 void setValue(
const double,
bool emitValueChanged =
false);
94 void valueChanged(
int);
97 void textModified(
const QString &);
104 void updateLineEdit();
107 double sliderToValue(
const int);
110 int valueToSlider(
const double);
139 #endif // SLIDERTEXTWIDGET_H
double max
the max real value
Definition: SliderTextWidget.h:122
QColor bgColor
the line edit bg color
Definition: SliderTextWidget.h:116
#define CAMITK_API
Definition: CamiTKAPI.h:49
double getValue() const
Get the current value.
Definition: SliderTextWidget.h:134
QLabel * label
the text label
Definition: SliderTextWidget.h:125
QSlider * slider
the slider
Definition: SliderTextWidget.h:131
This widget allows you to use a slider with a lineedit in a Dialog Box.
Definition: SliderTextWidget.h:59
double value
the current value
Definition: SliderTextWidget.h:113
double min
the min real value
Definition: SliderTextWidget.h:119
QLineEdit * lineEdit
the line edit
Definition: SliderTextWidget.h:128