libyui-ncurses  2.44.1
NCIntField Class Reference
Inheritance diagram for NCIntField:
Collaboration diagram for NCIntField:

List of all members.

Public Member Functions

 NCIntField (YWidget *parent, const std::string &label, int minValue, int maxValue, int initialValue)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual void setLabel (const std::string &nlabel)
virtual void setValueInternal (int newValue)
virtual int value ()
virtual NCursesEvent wHandleInput (wint_t key)
virtual bool setKeyboardFocus ()
virtual void setEnabled (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')

Friends

std::ostream & operator<< (std::ostream &STREAM, const NCIntField &OBJ)

Detailed Description

Definition at line 34 of file NCIntField.h.


Member Function Documentation

void NCIntField::setEnabled ( bool  do_bv) [virtual]

Pure virtual to make sure every widget implements it. Necessary to make sure that UI requests via YWidget::setEnabled perform, and behave the same way as direct calls to NCWidget::setEnabled.

Implements NCWidget.

Definition at line 85 of file NCIntField.cc.


The documentation for this class was generated from the following files:
 All Classes Functions Variables