|
libyui-ncurses
|
#include <NCTableItem.h>


Public Member Functions | |
| NCTableTag (YItem *item, bool sel=false, bool singleSel=false) | |
| virtual void | SetLabel (const NClabel &) |
| virtual void | DrawAt (NCursesWindow &w, const wrect at, NCTableStyle &tableStyle, NCTableLine::STATE linestate, unsigned colidx) const |
| virtual bool | Selected () const |
| virtual void | SetSelected (bool sel) |
| virtual bool | SingleSelection () const |
| YItem * | origItem () const |
Public Member Functions inherited from NCTableCol | |
| NCTableCol (const NCstring &label="", STYLE st=ACTIVEDATA) | |
| const NClabel & | Label () const |
| virtual void | SetLabel (const std::string &newVal) |
| const NClabel & | prefix () const |
| virtual void | setPrefix (const NClabel &newVal) |
| virtual void | setPrefix (const std::string &newVal) |
| int | prefixWidth () const |
| wrect | prefixAdjusted (const wrect origRect) const |
| virtual wsze | Size () const |
| void | stripHotkey () |
| bool | hasHotkey () const |
| unsigned char | hotkey () const |
Additional Inherited Members | |
Public Types inherited from NCTableCol | |
| enum | STYLE { NONE = 0, PLAIN, DATA, ACTIVEDATA, HINT, SEPARATOR } |
Protected Member Functions inherited from NCTableCol | |
| chtype | setBkgd (NCursesWindow &w, NCTableStyle &tableStyle, NCTableLine::STATE linestate, STYLE colstyle) const |
A column (one cell) used as a selection marker: [ ]/[x] or ( )/(x).
|
inline |
Constructor.
| item | (must not be nullptr, not owned) |
| sel | currently selected, draw an x inside |
| singleSel | if true draw this in a radio-button style (x); if false draw this in a checkbox style [x] |