1 #ifndef CNOID_BASE_SLIDER_H
2 #define CNOID_BASE_SLIDER_H
4 #include <cnoid/Signal>
6 #include <cnoid/stdx/optional>
7 #include "exportdecl.h"
11 class CNOID_EXPORT
Slider :
public QSlider
14 Slider(QWidget* parent =
nullptr);
15 Slider(Qt::Orientation orientation, QWidget* parent =
nullptr);
22 stdx::optional<
Signal<void(
int)>> sigValueChanged_;
23 stdx::optional<
Signal<void()>> sigSliderPressed_;
24 stdx::optional<
Signal<void()>> sigSliderReleased_;