libyui
|
#include <YSlider.h>
Protected Member Functions | |
YSlider (YWidget *parent, const std::string &label, int minValue, int maxValue) | |
![]() | |
YIntField (YWidget *parent, const std::string &label, int minValue, int maxValue) | |
virtual void | setValueInternal (int val)=0 |
int | enforceRange (int val) const |
![]() | |
YWidget (YWidget *parent) | |
YWidgetChildrenManager * | childrenManager () const |
void | setChildrenManager (YWidgetChildrenManager *manager) |
void | setBeingDestroyed () |
void | dumpWidget (YWidget *w, int indentationLevel) |
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.
|
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).
|
virtual |
Destructor.
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YIntField.