#include <NCTextEntry.h>
Inheritance diagram for NCTextEntry:
Public Types | |
enum | FTYPE { PLAIN, NUMBER } |
Public Member Functions | |
NCTextEntry (NCWidget *parent, const YWidgetOpt &opt, const YCPString &label, const YCPString &text, unsigned maxInput=0, unsigned maxFld=0) | |
virtual | ~NCTextEntry () |
void | setFldtype (FTYPE t) |
void | setReturnOnReturn (bool on_br) |
virtual long | nicesize (YUIDimension dim) |
virtual void | setSize (long newwidth, long newheight) |
virtual void | setLabel (const YCPString &nlabel) |
virtual void | setText (const YCPString &ntext) |
virtual YCPString | getText () |
virtual void | setValidChars (const YCPString &validchars) |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual void | setEnabling (bool do_bv) |
virtual bool | setKeyboardFocus () |
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 |
Private Member Functions | |
NCTextEntry & | operator= (const NCTextEntry &) |
NCTextEntry (const NCTextEntry &) | |
void | setDefsze () |
void | tUpdate () |
bool | bufferFull () const |
unsigned | maxCursor () const |
Private Attributes | |
bool | mayedit |
bool | passwd |
NClabel | label |
wstring | buffer |
NCursesWindow * | lwin |
NCursesWindow * | twin |
unsigned | maxFldLength |
unsigned | maxInputLength |
unsigned | fldstart |
unsigned | fldlength |
unsigned | curpos |
FTYPE | fldtype |
NCstring | validChars |
bool | returnOnReturn_b |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCTextEntry &OBJ) |
|
|
|
|
|
|
|
|
|
|
|
Implements YTextEntry. |
|
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 YTextEntry. |
|
|
|
Reimplemented from YWidget. |
|
Implements YTextEntry. |
|
Reimplemented from YTextEntry. |
|
|
|
|
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from YTextEntry. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from YTextEntry. |