28 #include "YIntField.h" 58 const std::string &
label,
72 virtual const char *
widgetClass()
const {
return "YSlider"; }
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
int maxValue() const
Return the maximum value.
int minValue() const
Return the minimum value.
std::string label() const
Get the label (the caption above the input field).
IntField: Input field for integer values.
Slider: Input widget for an integer value between a minimum and a maximum value.
virtual ~YSlider()
Destructor.
YSlider(YWidget *parent, const std::string &label, int minValue, int maxValue)
Constructor.