46 class ThreadedUpdatableSlider;
49 class ICLQt_API SliderHandle :
public GUIHandle<ThreadedUpdatableSlider>{
73 void setRange(
int min,
int max);
76 void setValue(
int val);
79 void setAll(
int min ,
int max,
int val){ setRange(min,max); setValue(val); }
107 (***this).registerCallback(cb,events);
116 (***this).removeCallbacks();
virtual void registerCallback(const GUI::Callback &cb, const std::string &events="value")
overloaded method for registering callbacks to specific slider events
Definition: SliderHandle.h:106
void setAll(int min, int max, int val)
sets all parameters of a slider
Definition: SliderHandle.h:79
undocument this line if you encounter any issues!
Definition: Any.h:37
SliderHandle(ThreadedUpdatableSlider *sl, GUIWidget *w, QLCDNumber *lcd=0)
create a slider handle
Definition: SliderHandle.h:60
void operator=(int val)
assigns a new value to the slider (equal to setValue)
Definition: SliderHandle.h:91
virtual void removeCallbacks()
empties both callback locations (GUIHandleBase and ThreadedUpdatableSlider)
Definition: SliderHandle.h:114
SliderHandle()
Creates and empty slider handle.
Definition: SliderHandle.h:57
Abstract base class for Handle classes.
Definition: GUIHandle.h:40
virtual void removeCallbacks()
removes all callbacks from parent GUIWidget component
Definition: GUIHandleBase.h:93
virtual void registerCallback(const GUI::Callback &cb, const std::string &events="all")
registers a callback on this gui widget
Definition: GUIHandleBase.h:73
#define ICLQt_API
Definition: CompatMacros.h:178
QLCDNumber * getDisplay()
retuns the QLCDNumber that is used as display
Definition: SliderHandle.h:64
QLCDNumber * lcd
associated display
Definition: SliderHandle.h:53
Compability class.
Definition: ThreadedUpdatableSlider.h:52