Computer Assisted Medical Intervention Tool Kit  version 5.2
WizardState Class Reference

Generic state of the wizard. More...

#include <WizardState.h>

+ Inheritance diagram for WizardState:
+ Collaboration diagram for WizardState:

Public Member Functions

QString getName ()
 
QWidget * getWidget ()
 
 WizardState (QString name, QWidget *widget, WizardMainWindow *mainWidnow)
 Constructor. More...
 
 WizardState (QString name, QWidget *widget, WizardMainWindow *mainWidnow, QState *parent)
 Constructor. More...
 
 ~WizardState () override=default
 Destructor. More...
 

Protected Member Functions

void onEntry (QEvent *event) override
 Reimplemented from QState. More...
 
void onExit (QEvent *event) override
 

Protected Attributes

WizardMainWindowmainWindow
 
QString name
 
QWidget * widget
 

Detailed Description

Generic state of the wizard.

Inherited from QState.
A state is defined by its name, its widget and its mainWindow. It can be linked too to a state parent.

Constructor & Destructor Documentation

◆ WizardState() [1/2]

WizardState::WizardState ( QString  name,
QWidget *  widget,
WizardMainWindow mainWidnow 
)

Constructor.

References mainWindow, name, and widget.

◆ WizardState() [2/2]

WizardState::WizardState ( QString  name,
QWidget *  widget,
WizardMainWindow mainWidnow,
QState *  parent 
)

Constructor.

References mainWindow, name, and widget.

◆ ~WizardState()

WizardState::~WizardState ( )
overridedefault

Destructor.

Member Function Documentation

◆ getName()

QString WizardState::getName ( )

References name.

◆ getWidget()

QWidget * WizardState::getWidget ( )

References widget.

◆ onEntry()

void WizardState::onEntry ( QEvent *  event)
overrideprotected

◆ onExit()

Member Data Documentation

◆ mainWindow

WizardMainWindow* WizardState::mainWindow
protected

Referenced by onEntry(), and WizardState().

◆ name

◆ widget

QWidget* WizardState::widget
protected

Referenced by ActionAddParameterState::addDomParameters(), ComponentAddPropertyState::addDomParameters(), ComponentExtensionDependenciesState::ComponentExtensionDependenciesState(), DependenciesState::getDependencies(), getWidget(), LibraryDependenciesState::LibraryDependenciesState(), ActionDescriptionState::onEntry(), ActionExtensionDependenciesState::onEntry(), ActionsCreationState::onEntry(), ActionSummaryState::onEntry(), CepContactState::onEntry(), CepCreateRecapState::onEntry(), ComponentDescriptionState::onEntry(), ComponentsCreationState::onEntry(), ComponentSummaryState::onEntry(), DependenciesState::onEntry(), ExtensionSummaryState::onEntry(), GeneratingCEPState::onEntry(), LibraryCopyFilesState::onEntry(), ViewerDescriptionState::onEntry(), ViewerSummaryState::onEntry(), onEntry(), ActionClassificationState::onExit(), ActionDescriptionState::onExit(), ActionExtensionDescriptionState::onExit(), CepContactState::onExit(), CepCreationDirectoryState::onExit(), CepDescriptionState::onExit(), ComponentDescriptionState::onExit(), ComponentExtensionDescriptionState::onExit(), LibraryCopyFilesState::onExit(), LibraryDescriptionState::onExit(), ViewerDescriptionState::onExit(), ViewerExtensionDescriptionState::onExit(), ActionAddParameterState::resetDomAction(), ActionClassificationState::resetDomAction(), ActionDescriptionState::resetDomAction(), ActionExtensionDependenciesState::resetDomActionExtension(), ActionExtensionDescriptionState::resetDomActionExtension(), ActionsCreationState::resetDomActionExtension(), ComponentAddPropertyState::resetDomComponent(), ComponentDescriptionState::resetDomComponent(), ComponentExtensionDependenciesState::resetDomComponentExtension(), ComponentExtensionDescriptionState::resetDomComponentExtension(), ComponentsCreationState::resetDomComponentExtension(), LibraryCopyFilesState::resetDomLibrary(), LibraryDescriptionState::resetDomLibrary(), ViewerDescriptionState::resetDomViewer(), ViewerExtensionDependenciesState::resetDomViewerExtension(), ViewerExtensionDescriptionState::resetDomViewerExtension(), ViewersCreationState::resetDomViewerExtension(), and WizardState().


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