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

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