#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 () |
Private Member Functions | |
virtual void | saveUserInput (YMacroRecorder *macroRecorder) |
Private Attributes | |
YCPString | _label |
int | _minValue |
int | _maxValue |
int | _value |
|
Constructor |
|
Implements the ChangeWidget() UI command. integer Value the numerical value string Label the slider label Reimplemented from YWidget. |
|
|
|
|
|
|
|
Implements the QueryWidget() UI command. Reimplemented from YWidget. |
|
Save the widget's user input to a macro recorder. Intentionally declared as "private" so all macro recording internals are handled by the abstract libyui level, not by a specific UI. Reimplemented from YWidget. |
|
Change the IntField label. Overwrite this, but call YIntField::setLabel at the end of your own method. |
|
Change the slider value. Overload this, but call YIntField::setValue() at the end of your own method. |
|
The name of the widget property that holds the keyboard shortcut. Inherited from YWidget. Reimplemented from YWidget. |
|
|
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YWidget. |
|
|
|
|
|
|
|
|