|
libyui-ncurses
2.44.1
|


Public Member Functions | |
| virtual void | startMultipleChanges () |
| virtual void | doneMultipleChanges () |
| virtual const char * | location () const |
| virtual void | addItem (YItem *item) |
| virtual void | deleteAllItems () |
| virtual void | selectItem (YItem *item, bool selected) |
| virtual void | deselectAllItems () |
| NCMultiSelectionBox (YWidget *parent, const std::string &label) | |
| virtual int | preferredWidth () |
| virtual int | preferredHeight () |
| virtual void | setSize (int newWidth, int newHeight) |
| virtual void | setLabel (const std::string &nlabel) |
| virtual YItem * | currentItem () |
| virtual void | setCurrentItem (YItem *item) |
| virtual NCursesEvent | wHandleInput (wint_t key) |
| virtual void | setEnabled (bool do_bv) |
| virtual bool | setKeyboardFocus () |
| unsigned int | getNumLines () |
| const NCTableLine * | getLine (const int &index) |
| void | clearItems () |
Protected Member Functions | |
| virtual NCTablePad * | myPad () const |
| NCTableTag * | tagCell (int index) |
| const NCTableTag * | tagCell (int index) const |
| bool | isItemSelected (YItem *item) |
| void | toggleCurrentItem () |
| virtual NCPad * | CreatePad () |
| virtual void | wRecoded () |
Friends | |
| std::ostream & | operator<< (std::ostream &STREAM, const NCMultiSelectionBox &OBJ) |
Definition at line 39 of file NCMultiSelectionBox.h.
| NCPad * NCMultiSelectionBox::CreatePad | ( | ) | [protected, virtual] |
Create empty MsB pad
Reimplemented from NCPadWidget.
Definition at line 209 of file NCMultiSelectionBox.cc.

| virtual NCTablePad* NCMultiSelectionBox::myPad | ( | ) | const [inline, protected, virtual] |
Overload myPad to narrow the type
Reimplemented from NCPadWidget.
Definition at line 52 of file NCMultiSelectionBox.h.
| void NCMultiSelectionBox::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.
Reimplemented from NCPadWidget.
Definition at line 60 of file NCMultiSelectionBox.cc.
| NCTableTag * NCMultiSelectionBox::tagCell | ( | int | index | ) | [protected] |
Return pointer to current line tag (holds state and yitem pointer)
Definition at line 114 of file NCMultiSelectionBox.cc.

| void NCMultiSelectionBox::toggleCurrentItem | ( | ) | [protected] |
Toggle item from selected -> deselected and vice versa
Definition at line 191 of file NCMultiSelectionBox.cc.