#include <NCComboBox.h>
Inheritance diagram for NCComboBox:
Public Member Functions | |
NCComboBox (NCWidget *parent, const YWidgetOpt &opt, const YCPString &label) | |
virtual | ~NCComboBox () |
virtual void | itemAdded (const YCPString &string, int index, bool selected) |
virtual long | nicesize (YUIDimension dim) |
virtual void | setSize (long newwidth, long newheight) |
virtual void | setLabel (const YCPString &nlabel) |
virtual void | setValue (const YCPString &ntext) |
virtual YCPString | getValue () const |
virtual void | setValidChars (const YCPString &validchars) |
virtual int | getCurrentItem () const |
virtual void | setCurrentItem (int index) |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual void | setEnabling (bool do_bv) |
virtual bool | setKeyboardFocus () |
unsigned int | getListSize () |
void | deleteAllItems () |
void | setInputMaxLength (const YCPInteger &numberOfChars) |
Protected Member Functions | |
virtual const char * | location () const |
virtual void | wCreate (const wrect &newrect) |
virtual void | wDelete () |
virtual void | wRedraw () |
virtual void | wRecoded () |
int | listPopup () |
bool | validKey (wint_t key) const |
Protected Attributes | |
int | InputMaxLength |
Private Member Functions | |
NCComboBox & | operator= (const NCComboBox &) |
NCComboBox (const NCComboBox &) | |
void | setDefsze () |
void | tUpdate () |
Private Attributes | |
bool | mayedit |
NClabel | label |
NCstring | text |
wstring | buffer |
bool | modified |
NCursesWindow * | lwin |
NCursesWindow * | twin |
string::size_type | fldstart |
string::size_type | fldlength |
string::size_type | curpos |
NCstring | validChars |
list< YCPString > | deflist |
int | index |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCComboBox &OBJ) |
|
|
|
|
|
|
|
Reimplemented from YSelectionWidget. |
|
Implements YComboBox. |
|
|
|
Implements YComboBox. |
|
Implements YSelectionWidget. |
|
|
|
Reimplemented from NCWidget. |
|
Implements YWidget. |
|
|
|
Implements YComboBox. |
|
|
|
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 YComboBox. |
|
Reimplemented from YWidget. |
|
Reimplemented from YSelectionWidget. |
|
Reimplemented from YWidget. |
|
Reimplemented from YComboBox. |
|
Implements YComboBox. |
|
|
|
|
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from YSelectionWidget. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from YComboBox. |