#include <NCCheckBox.h>
Inheritance diagram for NCCheckBox:
Public Member Functions | |
NCCheckBox (NCWidget *parent, const YWidgetOpt &opt, const YCPString &label, bool checked) | |
virtual | ~NCCheckBox () |
virtual long | nicesize (YUIDimension dim) |
virtual void | setSize (long newwidth, long newheight) |
virtual void | setLabel (const YCPString &nlabel) |
virtual void | setValue (const YCPValue &newval) |
virtual YCPValue | getValue () |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual void | setEnabling (bool do_bv) |
virtual bool | setKeyboardFocus () |
Protected Types | |
enum | State { S_DC = 0, S_OFF = 1, S_ON = 2 } |
Protected Member Functions | |
virtual const char * | location () const |
virtual void | wRedraw () |
Private Member Functions | |
NCCheckBox & | operator= (const NCCheckBox &) |
NCCheckBox (const NCCheckBox &) | |
Private Attributes | |
bool | tristate |
State | checkstate |
NClabel | label |
Static Private Attributes | |
unsigned char | statetag [3] = { '?', , 'x' } |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCCheckBox &OBJ) |
|
|
|
|
|
|
|
|
|
Implements YCheckBox. |
|
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 YCheckBox. |
|
Reimplemented from YWidget. |
|
Implements YCheckBox. |
|
Reimplemented from NCWidget. |
|
Reimplemented from NCWidget. |
|
|
|
|
|
Reimplemented from YCheckBox. |
|
|
|
|