#include <YSlider.h>
Inheritance diagram for YSlider:

Public Member Functions | |
| YSlider (const YWidgetOpt &opt, const YCPString &label, int minValue, int maxValue, int initialValue) | |
| virtual char * | widgetClass () |
| YCPValue | changeWidget (const YCPSymbol &property, const YCPValue &newValue) |
| YCPValue | queryWidget (const YCPSymbol &property) |
| virtual void | setLabel (const YCPString &label) |
| virtual void | setValue (int newValue) |
| YCPString | label () |
| int | value () |
| int | minValue () |
| int | maxValue () |
| const char * | shortcutProperty () |
| const char * | userInputProperty () |
Private Member Functions | |
| virtual void | saveUserInput (YMacroRecorder *macroRecorder) |
Private Attributes | |
| YCPString | _label |
| int | _minValue |
| int | _maxValue |
| int | _value |
| YSlider::YSlider | ( | const YWidgetOpt & | opt, | |
| const YCPString & | label, | |||
| int | minValue, | |||
| int | maxValue, | |||
| int | initialValue | |||
| ) |
Constructor
| virtual char* YSlider::widgetClass | ( | ) | [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.
| void YSlider::setLabel | ( | const YCPString & | label | ) | [virtual] |
Change the Slider label.
Overwrite this, but call YSlider::setLabel at the end of your own method.
| void YSlider::setValue | ( | int | newValue | ) | [virtual] |
Change the slider value.
Overload this, but call YSlider::setValue() at the end of your own method.
| YCPString YSlider::label | ( | ) | [inline] |
| int YSlider::value | ( | ) | [inline] |
| int YSlider::minValue | ( | ) | [inline] |
| int YSlider::maxValue | ( | ) | [inline] |
| const char* YSlider::shortcutProperty | ( | ) | [inline, virtual] |
| const char* YSlider::userInputProperty | ( | ) | [inline, virtual] |
| void YSlider::saveUserInput | ( | YMacroRecorder * | macroRecorder | ) | [private, virtual] |
YCPString YSlider::_label [private] |
int YSlider::_minValue [private] |
int YSlider::_maxValue [private] |
int YSlider::_value [private] |
1.5.0