25 #ifndef SRC_GUI_INCLUDE_CORBO_GUI_SLIDER_CENTER_STUCK_WIDGET_H_
26 #define SRC_GUI_INCLUDE_CORBO_GUI_SLIDER_CENTER_STUCK_WIDGET_H_
35 class SliderCenterStuck :
public QSlider
39 explicit SliderCenterStuck(QWidget* parent =
nullptr) : QSlider(parent) { connect(
this, SIGNAL(sliderReleased()),
this, SLOT(
onRelease())); }
41 explicit SliderCenterStuck(Qt::Orientation orientation, QWidget* parent =
nullptr) : QSlider(orientation, parent)
43 connect(
this, SIGNAL(sliderReleased()),
this, SLOT(
onRelease()));
113 #endif // SRC_GUI_INCLUDE_CORBO_GUI_SLIDER_CENTER_STUCK_WIDGET_H_