libyui
|
#include <YSlider.h>
Public Member Functions | |
virtual | ~YSlider () |
virtual const char * | widgetClass () const |
Protected Member Functions | |
YSlider (YWidget *parent, const 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 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).
YSlider::~YSlider | ( | ) | [virtual] |
Destructor.
virtual const char* YSlider::widgetClass | ( | ) | const [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YIntField.