25 #ifndef SEARCHSLIDER_H_ 26 #define SEARCHSLIDER_H_ 28 #include "Gui/Utils/Widgets/Slider.h" 46 void sig_slider_moved(
int);
66 void mousePressEvent(QMouseEvent* e)
override;
67 void mouseReleaseEvent(QMouseEvent* e)
override;
68 void mouseMoveEvent(QMouseEvent* e)
override;
69 bool event(QEvent *event)
override;
71 bool has_other_value()
const override;
72 int other_value()
const override;
73 QColor other_value_color()
const override;
77 void emit_new_val(
int value);
void set_buffering(int progress)
Set a second value beside QSlider::setValue() which is displayed in another color.
Definition: AbstractLibrary.h:36
bool is_busy() const
Returns true if it's actually moved by the user.
A slider as it is used by the progress bar You can also set a different value by calling set_bufferin...
Definition: SearchSlider.h:39
Dont use it directly but inherit it.
Definition: Slider.h:37