libyui-ncurses
2.44.1
|
Public Types | |
enum | FTYPE { PLAIN, NUMBER } |
Public Member Functions | |
NCInputField (YWidget *parent, const std::string &label, bool passwordMode=false, unsigned maxInput=0, unsigned maxFld=0) | |
void | setFldtype (FTYPE t) |
void | setReturnOnReturn (bool on_br) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual void | setLabel (const std::string &nlabel) |
virtual void | setValue (const std::string &ntext) |
virtual std::string | value () |
virtual void | setValidChars (const std::string &validchars) |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual void | setEnabled (bool do_bv) |
virtual bool | setKeyboardFocus () |
void | setInputMaxLength (int numberOfChars) |
void | setCurPos (unsigned pos) |
Protected Member Functions | |
virtual const char * | location () const |
virtual void | wCreate (const wrect &newrect) |
virtual void | wDelete () |
virtual void | wRedraw () |
bool | validKey (wint_t key) const |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCInputField &OBJ) |
Definition at line 34 of file NCInputField.h.
void NCInputField::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 94 of file NCInputField.cc.