#include <mgui/dlgwizard.h>

Public Types | |
| enum | PAGE { PAGE_Same = -2, PAGE_Next = -1, PAGE_Back = PAGE_Next } |
Public Member Functions | |
| LAYOUT_WIZARD_PAGE () | |
| virtual | ~LAYOUT_WIZARD_PAGE () |
| int | Create (MGUI::DLGWIZARD &wizard, MGUI::LAYOUT_ORIENTATION orientation=MGUI::LAYOUT_ORIENTATION_Vertical) |
| int | GetPageIndex () const |
| bool | IsActive () const |
| void | SetEnabled (bool enabled=true) |
| void | SetNextEnabled (bool enabled, bool ForceToFinish=false) |
Protected Member Functions | |
| void | SetIgnoreNonVisible (bool IgnoreNonVisible=true) |
| void | SetNoSpaceExpanding (bool NoSpaceExpanding=true) |
| virtual void | v_OnWizardFinish () |
Private Member Functions | |
| virtual void | v_OnInitPage ()=0 |
| virtual void | v_OnSetActive () |
| virtual void | v_OnSetInactive () |
| virtual int | v_OnWizardBack () |
| virtual int | v_OnWizardNext () |
| MGUI::LAYOUT_WIZARD_PAGE::LAYOUT_WIZARD_PAGE | ( | ) |
Constructor.
| virtual MGUI::LAYOUT_WIZARD_PAGE::~LAYOUT_WIZARD_PAGE | ( | ) | [virtual] |
Destructor.
| int MGUI::LAYOUT_WIZARD_PAGE::Create | ( | MGUI::DLGWIZARD & | wizard, | |
| MGUI::LAYOUT_ORIENTATION | orientation = MGUI::LAYOUT_ORIENTATION_Vertical | |||
| ) |
Create page with tab label from MISTRING.
| wizard | Wizard to add page to |
| int MGUI::LAYOUT_WIZARD_PAGE::GetPageIndex | ( | ) | const [inline] |
Get the index of 'this' page.
| bool MGUI::LAYOUT_WIZARD_PAGE::IsActive | ( | ) | const |
Determine if this is the 'active' page.
| void MGUI::LAYOUT_WIZARD_PAGE::SetEnabled | ( | bool | enabled = true |
) |
Set whether page is 'enabled' or not.
Reimplemented from MGUI::LAYOUT_PANE_BASE.
| void MGUI::LAYOUT_WIZARD_PAGE::SetIgnoreNonVisible | ( | bool | IgnoreNonVisible = true |
) | [inline, protected] |
Set to ignore nonvisible items when doing layout.
This must be called before Create() and is usually done in the subclass constructor.
| void MGUI::LAYOUT_WIZARD_PAGE::SetNextEnabled | ( | bool | enabled, | |
| bool | ForceToFinish = false | |||
| ) |
Set next / finish button status.
| enabled | Whether button is enabled or not | |
| ForceToFinish | Force to display "Finish" instead of "Next" even if not last page |
| void MGUI::LAYOUT_WIZARD_PAGE::SetNoSpaceExpanding | ( | bool | NoSpaceExpanding = true |
) | [inline, protected] |
Set whether to not automatically add "expanding space" at end (bottom usually) of page.
This must be called before Create() and is usually done in the subclass constructor. Default behavior is to add expanding space.
| virtual void MGUI::LAYOUT_WIZARD_PAGE::v_OnInitPage | ( | ) | [private, pure virtual] |
Create page contents.
Derived class MUST implement this.
| virtual void MGUI::LAYOUT_WIZARD_PAGE::v_OnSetActive | ( | ) | [private, virtual] |
Called when page is made active.
| virtual void MGUI::LAYOUT_WIZARD_PAGE::v_OnSetInactive | ( | ) | [private, virtual] |
Called when page is made inactive.
| virtual int MGUI::LAYOUT_WIZARD_PAGE::v_OnWizardBack | ( | ) | [private, virtual] |
Called when the 'Back' button is pressed.
| virtual void MGUI::LAYOUT_WIZARD_PAGE::v_OnWizardFinish | ( | ) | [protected, virtual] |
Called when 'Finish' button is pressed.
Derived class must call base class v_OnWizardFinish() method AFTER performing its own processing to actually close the dialog. If the dialog settings do not pass their associated validation test then an appropriate message should be displayed for the user and the base class v_OnFinish() method should not be called. This will cause the dialog to remain open and allow the user to correct the settings. Derived classes should typically declare this method as private.
| virtual int MGUI::LAYOUT_WIZARD_PAGE::v_OnWizardNext | ( | ) | [private, virtual] |
Called when the 'Next' button is pressed.
1.6.1