26 #ifndef SLIDER_TEXT_WIDGET_H
27 #define SLIDER_TEXT_WIDGET_H
63 SliderTextWidget(QWidget* parent =
nullptr, Qt::WindowFlags fl = Qt::WindowFlags());
69 void setName(
const QString&);
74 void init(
double min = 0.0,
double max = 100.0,
double value = 50.0);
80 void setValue(
const double,
bool emitValueChanged =
false);
93 void valueChanged(
int);
96 void textModified(QString);
103 void updateLineEdit();
106 double sliderToValue(
const int);
109 int valueToSlider(
const double);
#define CAMITK_API
Definition: CamiTKAPI.h:49
This widget allows you to use a slider with a lineedit in a Dialog Box.
Definition: SliderTextWidget.h:58
void valueChanged()
Signal emitted when the value has changed (either directly using the slider or when the user pressed ...
double getValue() const
Get the current value.
Definition: SliderTextWidget.h:133
Definition: Action.cpp:36
static Value getValue(const QMap< const QtProperty *, PrivateData > &propertyMap, const QtProperty *property, const Value &defaultValue=Value())
Definition: qtpropertymanager.cpp:222