Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Protected Attributes | List of all members
WizardState Class Reference

Generic state of the wizard. More...

#include <WizardState.h>

Inherits QState.

Inherited by ActionAddParameterState, ActionClassificationState, ActionDescriptionState, ActionExtensionDescriptionState, ActionsCreationState, ActionSummaryState, CepContactState, CepCreateRecapState, CepCreationDirectoryState, CepDescriptionState, ComponentAddPropertyState, ComponentDescriptionState, ComponentExtensionDescriptionState, ComponentsCreationState, ComponentSummaryState, DependenciesState, ExtensionSummaryState, GeneratingCEPState, LibraryCopyFilesState, and LibraryDescriptionState.

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()

void WizardState::onExit ( QEvent *  event)
overrideprotected

Member Data Documentation

◆ mainWindow

WizardMainWindow* WizardState::mainWindow
protected

Referenced by onEntry(), and WizardState().

◆ name

QString WizardState::name
protected

◆ widget

QWidget* WizardState::widget
protected

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


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