|
| | HumbleDialogPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) |
| | CTOR. More...
|
| |
| virtual | ~HumbleDialogPage () |
| | Virtual DTOR. More...
|
| |
| virtual QIcon | icon () |
| | Get the icon of the page. More...
|
| |
| virtual QString | title () |
| | Get the title of the page. More...
|
| |
| virtual const std::string & | pageClassName () const |
| | Get the class name of the page. More...
|
| |
| | DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) |
| | CTOR for page. More...
|
| |
| virtual | ~DtPage () |
| | DTOR for page. More...
|
| |
| virtual PageAction | pageAction () |
| | return the current action on the page More...
|
| |
| virtual void | setPageAction (PageAction action) |
| | set the curret action on the page More...
|
| |
| virtual void | setActionFlag (int flag) |
| | set the action flag of the page More...
|
| |
| virtual int | actionFlag () |
| | return the action flag of the page More...
|
| |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| | set the parent dialog that owns this page More...
|
| |
| virtual QWidget * | parentDialog () |
| | return the parent dialog that own this page More...
|
| |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| | test the action flag with the action, return true if we should ask before executing the action /param action the current page action More...
|
| |
| virtual void | askBeforeAction () |
| | Called when the action flag is set and before the action is beind executed, default do nothing. More...
|
| |
| virtual void | executeAfterAsk (bool revert) |
| | Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More...
|
| |
| virtual void | resumeLastAction () |
| | resume the last action of the page More...
|
| |
| virtual void | onCloseEvent () |
| | will be called when user hit the close button of this page, default do nothing. More...
|
| |
| virtual void | onSwitchEvent () |
| | will be called when user try switch to another page, default do nothing. More...
|
| |
The example page that will be inserted into the example dialog.
This page contains a widget and logic for the widget. The widget is created at construction of this page and destroyed with the page. The logic is created when this page is activated (shown) and destroyed when this page is deactivated (hidden). For this example, the widget has a single editable text box and the logic just prints any text entered in the widget to the console.
- Examples
-