ALBA
Public Types | Public Member Functions | Public Attributes | List of all members
albaGUIWizard Class Reference

#include <albaGUIWizard.h>

Inheritance diagram for albaGUIWizard:
Inheritance graph
[legend]
Collaboration diagram for albaGUIWizard:
Collaboration graph
[legend]

Public Types

enum  ID_MESSAGES { ALBA_WIZARD_CHANGE_PAGE = MINID , ALBA_WIZARD_CHANGED_PAGE , ID_LAST }
 

Public Member Functions

 albaGUIWizard (const wxString &title, bool testMode=false)
 
virtual ~albaGUIWizard ()
 
void SetListener (albaObserver *Listener)
 
void OnEvent (albaEventBase *alba_event)
 
bool Run ()
 
void SetFirstPage (wxWizardPageSimple *firstPage)
 
wxWizardPageSimple * GetFirstPage ()
 
void EnableChangePageOn ()
 
void EnableChangePageOff ()
 
bool GetEnableChangePage ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Public Attributes

albaObserverm_Listener
 

Detailed Description

Class Name: albaGUIWizard.

This class is the container of wizard pages in order to handle typical gui wizard widget. It can set first page and enable changing pages.

Definition at line 35 of file albaGUIWizard.h.

Member Enumeration Documentation

◆ ID_MESSAGES

Message Ids.

Enumerator
ALBA_WIZARD_CHANGE_PAGE 
ALBA_WIZARD_CHANGED_PAGE 
ID_LAST 

Definition at line 65 of file albaGUIWizard.h.

Constructor & Destructor Documentation

◆ albaGUIWizard()

albaGUIWizard::albaGUIWizard ( const wxString &  title,
bool  testMode = false 
)

constructor.

◆ ~albaGUIWizard()

virtual albaGUIWizard::~albaGUIWizard ( )
virtual

destructor.

Member Function Documentation

◆ SetListener()

void albaGUIWizard::SetListener ( albaObserver Listener)
inline

Set the Listener that will receive event-notification.

Definition at line 43 of file albaGUIWizard.h.

◆ OnEvent()

void albaGUIWizard::OnEvent ( albaEventBase alba_event)
virtual

Precess events coming from other objects.

Implements albaObserver.

◆ Run()

bool albaGUIWizard::Run ( )

Call wxWizard::RunWizard.


◆ SetFirstPage()

void albaGUIWizard::SetFirstPage ( wxWizardPageSimple *  firstPage)

Set the first page of the wizard.

◆ GetFirstPage()

wxWizardPageSimple * albaGUIWizard::GetFirstPage ( )
inline

Return the first page of the wizard.

Definition at line 54 of file albaGUIWizard.h.

◆ EnableChangePageOn()

void albaGUIWizard::EnableChangePageOn ( )
inline

Enable the changing of the page.

Definition at line 57 of file albaGUIWizard.h.

◆ EnableChangePageOff()

void albaGUIWizard::EnableChangePageOff ( )
inline

Disable the changing of the page.

Definition at line 59 of file albaGUIWizard.h.

◆ GetEnableChangePage()

bool albaGUIWizard::GetEnableChangePage ( )
inline

Return the enable changing of the page.

Definition at line 62 of file albaGUIWizard.h.

Member Data Documentation

◆ m_Listener

albaObserver* albaGUIWizard::m_Listener

Definition at line 72 of file albaGUIWizard.h.


The documentation for this class was generated from the following file: