#include <NCDialog.h>
Inheritance diagram for NCDialog:

Public Member Functions | |
| NCDialog (const YWidgetOpt &opt) | |
| virtual | ~NCDialog () |
| void | showDialog () |
| void | closeDialog () |
| void | activate (const bool newactive) |
| bool | isActive () const |
| void | idleInput () |
| NCursesEvent | userInput (int timeout_millisec=-1) |
| NCursesEvent | pollInput () |
| virtual long | nicesize (YUIDimension dim) |
| virtual void | setSize (long newwidth, long newheight) |
Protected Types | |
| typedef unsigned | NCDoptflag |
| enum | NCDopts { DEFAULT = 0x00, POPUP = 0x01, NOBOX = 0x10 } |
Protected Member Functions | |
| virtual const char * | location () const |
| wint_t | getch (int timeout_millisec=-1) |
| virtual NCursesEvent | wHandleInput (wint_t ch) |
| virtual NCursesEvent | wHandleHotkey (wint_t key) |
| virtual void | startMultipleChanges () |
| virtual void | doneMultipleChanges () |
| NCDialog (const YWidgetOpt &opt, const wpos at, const bool boxed=true) | |
| bool | isPopup () const |
| bool | isBoxed () const |
| virtual void | initDialog () |
| virtual const NCstyle::Style & | wStyle () const |
| virtual void | setEnabling (bool do_bv) |
Protected Attributes | |
| NCDoptflag | ncdopts |
| wpos | popedpos |
| bool | hshaddow |
| bool | vshaddow |
Private Types | |
| typedef tnode< NCWidget * > *(tnode< NCWidget * >::* | SeekDir )(const bool) |
Private Member Functions | |
| NCDialog & | operator= (const NCDialog &) |
| NCDialog (const NCDialog &) | |
| NCWidget & | GetNormal (NCWidget &startwith, SeekDir Direction) |
| void | Activate (SeekDir Direction) |
| void | _init (const YWidgetOpt &opt) |
| void | _init_size () |
| NCursesEvent | getInputEvent (wint_t ch) |
| NCursesEvent | getHotkeyEvent (wint_t key) |
| void | grabActive (NCWidget *nactive) |
| virtual void | grabNotify (NCWidget *mgrab) |
| virtual bool | wantFocus (NCWidget &ngrab) |
| virtual void | wCreate (const wrect &newrect) |
| virtual void | wMoveTo (const wpos &newpos) |
| virtual void | wDelete () |
| virtual void | wRedraw () |
| virtual void | wRecoded () |
| virtual void | wUpdate (bool forced_br=false) |
| void | doUpdate () |
| NCWidget & | GetNextNormal (NCWidget &startwith) |
| NCWidget & | GetPrevNormal (NCWidget &startwith) |
| bool | Activate (NCWidget &nactive) |
| void | Activate () |
| void | Deactivate () |
| void | ActivateNext () |
| void | ActivatePrev () |
| bool | ActivateByKey (int key) |
| void | processInput (int timeout_millisec) |
| bool | describeFunctionKeys (string &helpText) |
| wint_t | getinput () |
| bool | getInvisible () |
| bool | getVisible () |
| void | resizeEvent () |
Private Attributes | |
| NCursesUserPanel< NCDialog > * | pan |
| NCstyle::StyleSet | mystyleset |
| const NCstyle::Style * | dlgstyle |
| unsigned | inMultiDraw_i |
| bool | active |
| NCWidget *const | wActive |
| NCursesEvent | pendingEvent |
| NCPopupInfo * | helpPopup |
Friends | |
| class | NCurses |
| std::ostream & | operator<< (std::ostream &STREAM, const NCDialog &OBJ) |
| std::ostream & | operator<< (std::ostream &STREAM, const NCDialog *OBJ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from YWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from NCWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from YContainerWidget. Reimplemented in NCAskForExistingDirectory, NCAskForFile, NCPopupDeps, NCPopupDiskspace, NCPopupFile, NCPopupInfo, NCPopupPkgDescr, NCPopupPkgTable, NCPopupSearch, NCPopupSelection, and NCPopupTree. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 YContainerWidget. |
|
|
|
|
|
Reimplemented from YWidget. |
|
|
|
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. Reimplemented in NCPopupTable, and NCPopupTree. |
|
|
Reimplemented from NCWidget. Reimplemented in NCAskForExistingDirectory, NCAskForFile, NCPopup, NCPopupDeps, NCPopupDiskspace, NCPopupFile, NCPopupInfo, NCPopupMenu, NCPopupPkgDescr, NCPopupPkgTable, NCPopupSearch, NCPopupSelection, and NCPopupTree. |
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. |
|
|
Reimplemented from NCWidget. |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1