61 void setMin(
float min);
64 void setMax(
float max);
67 void setRange(
float min,
float max){ setMin(min); setMax(max); }
70 void setValue(
float val);
73 void setAll(
float min ,
float max,
float val){ setRange(min,max); setValue(val); }
82 float getValue()
const;
101 (***this).registerCallback(cb,events);
110 (***this).removeCallbacks();
126 return (
int)((f-*m_fB)/ *m_fM);
131 return *m_fM*i+*m_fB;
float * m_fMin
current min value
Definition: FSliderHandle.h:119
undocument this line if you encounter any issues!
Definition: Any.h:37
float * m_fM
Slope for the internal slider equation.
Definition: FSliderHandle.h:135
void setAll(float min, float max, float val)
sets all parameters of a slider
Definition: FSliderHandle.h:73
virtual void removeCallbacks()
empties both callback locations (GUIHandleBase and ThreadedUpdatableSlider)
Definition: FSliderHandle.h:108
QLCDNumber * lcd
associated display
Definition: FSliderHandle.h:48
Handle class for slider componets.
Definition: FSliderHandle.h:46
int m_iSliderRange
accumulator of the current slider range
Definition: FSliderHandle.h:141
Abstract base class for Handle classes.
Definition: GUIHandle.h:40
virtual void removeCallbacks()
removes all callbacks from parent GUIWidget component
Definition: GUIHandleBase.h:93
int f2i(float f) const
utility function tranlating from valued to slider coordinates
Definition: FSliderHandle.h:125
void setRange(float min, float max)
set the range of the slider
Definition: FSliderHandle.h:67
virtual void registerCallback(const GUI::Callback &cb, const std::string &events="all")
registers a callback on this gui widget
Definition: GUIHandleBase.h:73
QLCDNumber * getDisplay()
retuns the QLCDNumber that is used as display
Definition: FSliderHandle.h:58
void operator=(float val)
assigns a new value to the slider (equal to setValue)
Definition: FSliderHandle.h:85
#define ICLQt_API
Definition: CompatMacros.h:178
float * m_fMax
current max value
Definition: FSliderHandle.h:122
virtual void registerCallback(const GUI::Callback &cb, const std::string &events="value")
overloaded method for registering callbacks to specific slider events
Definition: FSliderHandle.h:100
float i2f(int i) const
utility function tranlating from slider to value coordinates
Definition: FSliderHandle.h:130
Compability class.
Definition: ThreadedUpdatableSlider.h:52
float * m_fB
Bias for the internal slider equation.
Definition: FSliderHandle.h:138