libyui
3.0.10
|
#include <YSlider.h>
Public Member Functions | |
virtual | ~YSlider () |
virtual const char * | widgetClass () const |
Protected Member Functions | |
YSlider (YWidget *parent, const std::string &label, int minValue, int maxValue) |
Slider: Input widget for an integer value between a minimum and a maximum value. Very similar to IntField in semantics, but with a graphical slider that can be dragged to the desired value. It also contains an IntField to allow entering the value directly.
Don't confuse this widget with ProgressBar: ProgressBar is output-only.
This is an optional widget, i.e. not all UIs support it.
YSlider::YSlider | ( | YWidget * | parent, |
const std::string & | label, | ||
int | minValue, | ||
int | maxValue | ||
) | [protected] |
Constructor.
Create a Slider with 'label' as the caption, and the specified minimum and maximum values.
Note that YWidgetFactory::createSlider() also has an 'initialValue' parameter that is not used here (because the current value is not stored in this base class, but in the derived class).
Definition at line 43 of file YSlider.cc.
YSlider::~YSlider | ( | ) | [virtual] |
Destructor.
Definition at line 57 of file YSlider.cc.
virtual const char* YSlider::widgetClass | ( | ) | const [inline, virtual] |