![]() |
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
![]() |
#include <FXWizardDialog.h>
Inheritance diagram for FXEX::FXWizardDialog::
Public Types | |
enum | { ID_WIZARD_PREV = FXDialogBox::ID_LAST, ID_WIZARD_NEXT, ID_WIZARD_CANCEL, ID_WIZARD_HELP, ID_LAST } |
Public Methods | |
FXWizardDialog (FXApp *app, const FXString &name, FXImage *image=NULL, FXPoint position=FXPlacementScreen, FXint padding=DEFAULT_PAD) | |
FXWizardDialog (FXWindow *owner, const FXString &name, FXImage *image=NULL, FXPoint position=FXPlacementScreen, FXint padding=DEFAULT_PAD) | |
void | create () |
int | run (FXWizardPage *startPage) |
void | move (FXuint x, FXuint y) |
void | move (FXPoint pos) |
virtual | ~FXWizardDialog () |
Static Public Methods | |
void | chain (FXWizardPage *first,...) |
Public Attributes | |
FXArray< FXWizardPage *> | pageArray |
FXWizardDialog is the central class for implementing 'wizard-like' dialogs. These dialogs are mostly familiar to Windows users and are nothing else but a sequence of 'pages' each of them displayed inside a dialog which has the buttons to pass to the next (and previous) pages.
The wizards are typically used to decompose a complex dialog into several simple steps and are mainly useful to the novice users, hence it is important to keep them as simple as possible.
To show a wizard dialog, you must first create an object of FXWizardDialog class. Then you should add all pages you want the wizard to show and then call FXWizardDialog::run.
Definition at line 59 of file FXWizardDialog.h.
|
Definition at line 63 of file FXWizardDialog.h. |
|
Construct a free-floating FXWizardDialog dialog. This is the construtor to use if creating a dialog-based FXWizardDialog application.
|
|
Construct a model FXWizardDialog dialog which will always float over the owner window.
|
|
dtor.
|
|
Create the server side resources for the wizard.
|
|
Executes the wizard starting from the given page, returns TRUE if it was successfully finished or FALSE if user cancelled it. The first Page can not be NULL. |
|
Moves the wizard window to a specific location. This can be called anytime before FXWizardDialog::run() |
|
Moves the wizard window to a specific location. This can be called anytime before FXWizardDialog::run() |
|
A convenience function to make the pages follow each other. A NULL value should terminate the list. |
|
Called when the <NEXT>, <PREV>, and <FINISH>(last page only) is pressed. Called when the <CANCEL> or [X](if toolbar is active) is pressed. Called when the <HELP> button is pressed. Holds an array of FXWizard pages. This is the only thing that effects portablility(it uses template classes). Therefore future versions may replace this with a more portable method. But for now it works :) This should also be made private and accessed through member functions but i'll save that for later. Definition at line 96 of file FXWizardDialog.h. |