#include <NCIntField.h>
Inheritance diagram for NCIntField:
Public Member Functions | |
NCIntField (NCWidget *parent, const YWidgetOpt &opt, const YCPString &label, int minValue, int maxValue, int initialValue) | |
virtual | ~NCIntField () |
virtual long | nicesize (YUIDimension dim) |
virtual void | setSize (long newwidth, long newheight) |
virtual void | setLabel (const YCPString &nlabel) |
virtual void | setValue (int newValue) |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual bool | setKeyboardFocus () |
virtual void | setEnabling (bool do_bv) |
Protected Member Functions | |
virtual const char * | location () const |
virtual void | wCreate (const wrect &newrect) |
virtual void | wDelete () |
virtual void | wRedraw () |
bool | Increment (const bool bigstep=false) |
bool | Decrement (const bool bigstep=false) |
int | enterPopup (wchar_t first=L'\0') |
Private Member Functions | |
NCIntField & | operator= (const NCIntField &) |
NCIntField (const NCIntField &) | |
void | setDefsze () |
void | tUpdate () |
Private Attributes | |
NClabel | label |
NCursesWindow * | lwin |
NCursesWindow * | twin |
int | cvalue |
unsigned | vlen |
unsigned | vstart |
Static Private Attributes | |
const unsigned | taglen = 2 |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCIntField &OBJ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from NCWidget. |
|
Implements YWidget. |
|
|
|
|
|
Pure virtual to make shure every widget implements it. Necessary to make shure that UI requests via YWidget::setEnabling perform, and behave the same way as direct calls to NCWidget::setEnabling. Defaut implementation is provided, and for most derived widgets it's ok to simply use it. Implements NCWidget. |
|
Reimplemented from YWidget. |
|
Reimplemented from YIntField. |
|
Reimplemented from YWidget. |
|
Reimplemented from YIntField. |
|
|
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|