Computer Assited Medical Intervention Tool Kit  version 5.0
ComponentCreationState Class Reference

State to create one component. More...

#include <ComponentCreationState.h>

+ Inheritance diagram for ComponentCreationState:
+ Collaboration diagram for ComponentCreationState:

Public Slots

virtual void componentCancelled ()
 
virtual void componentFinished ()
 

Signals

void nextCCS ()
 

Public Member Functions

 ComponentCreationState (QString name, WizardMainWindow *mainWidnow, ComponentExtensionCreationState *parent)
 Constructor. More...
 
void resetDomComponentExtension (cepcoreschema::ComponentExtension *domComponentExtension)
 
 ~ComponentCreationState () override=default
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

ComponentAddPropertyStatecomponentAddPropertyState
 
ComponentAddPropertyWidgetcomponentAddPropertyWidget
 
ComponentDescriptionStatecomponentDescriptionState
 
ComponentDescriptionWidgetcomponentDescriptionWidget
 
ComponentSummaryStatecomponentSummaryState
 
ComponentSummaryWidgetcomponentSummaryWidget
 

Private Member Functions

void createSubStates (WizardMainWindow *mainWindow)
 

Private Attributes

bool cancelled
 
cepcoreschema::Component * domComponent
 
cepcoreschema::ComponentExtension * domComponentExtension
 
QString name
 

Detailed Description

State to create one component.

This state manages sub-state to create one component.

Constructor & Destructor Documentation

◆ ComponentCreationState()

ComponentCreationState::ComponentCreationState ( QString  name,
WizardMainWindow mainWidnow,
ComponentExtensionCreationState parent 
)

Constructor.

References cancelled, createSubStates(), domComponent, domComponentExtension, and name.

+ Here is the call graph for this function:

◆ ~ComponentCreationState()

ComponentCreationState::~ComponentCreationState ( )
overridedefault

Destructor.

Member Function Documentation

◆ componentCancelled

void ComponentCreationState::componentCancelled ( )
virtualslot

References cancelled, and nextCCS().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ componentFinished

void ComponentCreationState::componentFinished ( )
virtualslot

References cancelled, and nextCCS().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ createSubStates()

void ComponentCreationState::createSubStates ( WizardMainWindow mainWindow)
private

References componentAddPropertyState, componentAddPropertyWidget, componentCancelled(), componentDescriptionState, componentDescriptionWidget, componentFinished(), componentSummaryState, and componentSummaryWidget.

Referenced by ComponentCreationState().

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

◆ nextCCS

void ComponentCreationState::nextCCS ( )
signal

Referenced by componentCancelled(), and componentFinished().

+ Here is the caller graph for this function:

◆ onEntry()

void ComponentCreationState::onEntry ( QEvent *  event)
overrideprotected

Reimplemented from QState.

References cancelled, componentAddPropertyState, componentDescriptionState, componentSummaryState, domComponent, domComponentExtension, ComponentSummaryState::resetComponent(), ComponentAddPropertyState::resetDomComponent(), and ComponentDescriptionState::resetDomComponent().

+ Here is the call graph for this function:

◆ onExit()

void ComponentCreationState::onExit ( QEvent *  event)
overrideprotected

◆ resetDomComponentExtension()

void ComponentCreationState::resetDomComponentExtension ( cepcoreschema::ComponentExtension *  domComponentExtension)

References domComponentExtension.

Referenced by ComponentExtensionCreationState::onEntry().

+ Here is the caller graph for this function:

Member Data Documentation

◆ cancelled

bool ComponentCreationState::cancelled
private

◆ componentAddPropertyState

ComponentAddPropertyState* ComponentCreationState::componentAddPropertyState
protected

Referenced by createSubStates(), and onEntry().

◆ componentAddPropertyWidget

ComponentAddPropertyWidget* ComponentCreationState::componentAddPropertyWidget
protected

Referenced by createSubStates().

◆ componentDescriptionState

ComponentDescriptionState* ComponentCreationState::componentDescriptionState
protected

Referenced by createSubStates(), and onEntry().

◆ componentDescriptionWidget

ComponentDescriptionWidget* ComponentCreationState::componentDescriptionWidget
protected

Referenced by createSubStates().

◆ componentSummaryState

ComponentSummaryState* ComponentCreationState::componentSummaryState
protected

Referenced by createSubStates(), and onEntry().

◆ componentSummaryWidget

ComponentSummaryWidget* ComponentCreationState::componentSummaryWidget
protected

Referenced by createSubStates().

◆ domComponent

cepcoreschema::Component* ComponentCreationState::domComponent
private

◆ domComponentExtension

cepcoreschema::ComponentExtension* ComponentCreationState::domComponentExtension
private

◆ name

QString ComponentCreationState::name
private

Referenced by ComponentCreationState().


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