#include <FXWizard.h>
Public Types | |
enum | { ID_WIZARDPAGE_CHANGED = FXPacker::ID_LAST, ID_WIZARDPAGE_CHANGING, ID_LAST } |
Public Methods | |
FXWizardPage (FXWizard *wizard, FXImage *image=FXNullImage, FXWizardPage *prev=(FXWizardPage *) NULL, FXWizardPage *next=(FXWizardPage *) NULL, FXuint opts=FRAME_NONE) | |
virtual long | onPageChanging (FXObject *, FXSelector, void *ptr) |
virtual long | onPageChanged (FXObject *, FXSelector, void *ptr) |
virtual long | onPageCancel (FXObject *, FXSelector, void *ptr) |
virtual long | onPageHelp (FXObject *, FXSelector, void *ptr) |
long | onFocusNext (FXObject *sender, FXSelector sel,void *ptr) |
void | setPrev (FXWizardPage *prev) |
void | setNext (FXWizardPage *next) |
virtual FXWizardPage * | getPrev () const |
virtual FXWizardPage * | getNext () const |
virtual bool | transferDataFromPage () |
virtual FXImage * | getImage () |
void | enableFocus () |
void | disableFocus () |
FXbool | canFocus () |
Protected Methods | |
FXWizardPage () | |
Protected Attributes | |
FXImage * | _pageImage |
FXWizardPage is one of the screens in an FXWizard: it must know what are the following and preceding pages (which may be NULL for the first/last page). Except for this extra knowledge, FXWizardPage is just a FXPacker, so the controls may be placed directly on it in the usual way.
|
FXWizardPage Selector Types.
|
|
|
|
Constructor for a FXWizardPage.
|
|
returns whether the controls on this page can receive focus or not.
|
|
Used by the wizard to disable the controls on this page from receiving focus. Normally done when the page is not the current one being displayed. |
|
Used by the wizard to enable the controls on this page to receive focus.
|
|
This method is called by FXWizard to get the image to display alongside the page. If the image was not explicitly set (i.e. if FXNullImage is returned), the default image for the wizard should be used. If FXEmptyImage is returned, then no image should be displayed for the page. The only cases when you would want to override this function is if the page image depends dynamically on the user choices, i.e. almost never. |
|
Get the page which should be shown when the user chooses the "Next" button. |
|
Get the page which should be shown when the user chooses the "Prev" button. |
|
Used to enable focus only for the current page. Not overridable.
|
|
Override this to process input from a wizard dialog when the user attemps to cancel the wizard |
|
Override this to process input from a wizard dialog after the current page has changed. |
|
Override this to process input from a wizard dialog before the current page is changed. |
|
Override this to process input from a wizard dialog when the <HELP> button is pressed. |
|
Sets the next page.
|
|
Sets the previous page.
|
|
Used to test the validity of the user input. By default, it just returns TRUE. You should normally override this function in your own code if validity checking is required. |
|
image displayed to the left of this page when current.
|