Computer Assited Medical Intervention Tool Kit  version 5.0
ActionCreationState Class Reference

State to create one action. More...

#include <ActionCreationState.h>

+ Inheritance diagram for ActionCreationState:
+ Collaboration diagram for ActionCreationState:

Public Slots

virtual void actionCancelled ()
 
virtual void actionFinished ()
 

Signals

void nextACS ()
 

Public Member Functions

 ActionCreationState (QString name, WizardMainWindow *mainWidnow, cepcoreschema::Cep *domCep, ActionExtensionCreationState *parent)
 Constructor. More...
 
void resetDomActionExtension (cepcoreschema::ActionExtension *domActionExtension)
 
 ~ActionCreationState () override=default
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

ActionAddParameterStateactionAddParameterState
 
ActionAddParameterWidgetactionAddParameterWidget
 
ActionClassificationStateactionClassificationState
 
ActionClassificationWidgetactionClassificationWidget
 
ActionDescriptionStateactionDescriptionState
 
ActionDescriptionWidgetactionDescriptionWidget
 Substates (to be updated with domAction at each entry) More...
 
ActionSummaryStateactionSummaryState
 
ActionSummaryWidgetactionSummaryWidget
 

Private Member Functions

void createSubStates (WizardMainWindow *mainWindow)
 

Private Attributes

bool cancelled
 
cepcoreschema::Action * domAction
 
cepcoreschema::ActionExtension * domActionExtension
 
cepcoreschema::Cep * domCep
 
QString name
 

Detailed Description

State to create one action.

This state manages sub-state to create one action.

Constructor & Destructor Documentation

◆ ActionCreationState()

ActionCreationState::ActionCreationState ( QString  name,
WizardMainWindow mainWidnow,
cepcoreschema::Cep *  domCep,
ActionExtensionCreationState parent 
)

Constructor.

References cancelled, createSubStates(), domAction, domActionExtension, domCep, and name.

+ Here is the call graph for this function:

◆ ~ActionCreationState()

ActionCreationState::~ActionCreationState ( )
overridedefault

Destructor.

Member Function Documentation

◆ actionCancelled

void ActionCreationState::actionCancelled ( )
virtualslot

References cancelled, and nextACS().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ actionFinished

void ActionCreationState::actionFinished ( )
virtualslot

References cancelled, and nextACS().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ createSubStates()

void ActionCreationState::createSubStates ( WizardMainWindow mainWindow)
private

References actionAddParameterState, actionAddParameterWidget, actionCancelled(), actionClassificationState, actionClassificationWidget, actionDescriptionState, actionDescriptionWidget, actionFinished(), actionSummaryState, actionSummaryWidget, and domCep.

Referenced by ActionCreationState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nextACS

void ActionCreationState::nextACS ( )
signal

Referenced by actionCancelled(), and actionFinished().

+ Here is the caller graph for this function:

◆ onEntry()

void ActionCreationState::onEntry ( QEvent *  event)
overrideprotected

Reimplemented from QState.

References actionAddParameterState, actionClassificationState, actionDescriptionState, actionSummaryState, cancelled, domAction, domActionExtension, ActionSummaryState::resetAction(), ActionClassificationState::resetDomAction(), ActionDescriptionState::resetDomAction(), and ActionAddParameterState::resetDomAction().

+ Here is the call graph for this function:

◆ onExit()

void ActionCreationState::onExit ( QEvent *  event)
overrideprotected

◆ resetDomActionExtension()

void ActionCreationState::resetDomActionExtension ( cepcoreschema::ActionExtension *  domActionExtension)

References domActionExtension.

Referenced by ActionExtensionCreationState::onEntry().

+ Here is the caller graph for this function:

Member Data Documentation

◆ actionAddParameterState

ActionAddParameterState* ActionCreationState::actionAddParameterState
protected

Referenced by createSubStates(), and onEntry().

◆ actionAddParameterWidget

ActionAddParameterWidget* ActionCreationState::actionAddParameterWidget
protected

Referenced by createSubStates().

◆ actionClassificationState

ActionClassificationState* ActionCreationState::actionClassificationState
protected

Referenced by createSubStates(), and onEntry().

◆ actionClassificationWidget

ActionClassificationWidget* ActionCreationState::actionClassificationWidget
protected

Referenced by createSubStates().

◆ actionDescriptionState

ActionDescriptionState* ActionCreationState::actionDescriptionState
protected

Referenced by createSubStates(), and onEntry().

◆ actionDescriptionWidget

ActionDescriptionWidget* ActionCreationState::actionDescriptionWidget
protected

Substates (to be updated with domAction at each entry)

Referenced by createSubStates().

◆ actionSummaryState

ActionSummaryState* ActionCreationState::actionSummaryState
protected

Referenced by createSubStates(), and onEntry().

◆ actionSummaryWidget

ActionSummaryWidget* ActionCreationState::actionSummaryWidget
protected

Referenced by createSubStates().

◆ cancelled

bool ActionCreationState::cancelled
private

◆ domAction

cepcoreschema::Action* ActionCreationState::domAction
private

◆ domActionExtension

cepcoreschema::ActionExtension* ActionCreationState::domActionExtension
private

◆ domCep

cepcoreschema::Cep* ActionCreationState::domCep
private

◆ name

QString ActionCreationState::name
private

Referenced by ActionCreationState().


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