25 #ifndef SRC_GUI_INCLUDE_CORBO_GUI_SLIDER_CENTER_STUCK_WIDGET_H_ 26 #define SRC_GUI_INCLUDE_CORBO_GUI_SLIDER_CENTER_STUCK_WIDGET_H_ 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_ void setStuckToCenter(int abs_distance)
SliderCenterStuck(QWidget *parent=nullptr)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const AbsReturnType abs() const
SliderCenterStuck(Qt::Orientation orientation, QWidget *parent=nullptr)
EIGEN_DEVICE_FUNC const RoundReturnType round() const