Computer Assited Medical Intervention Tool Kit  version 5.0
ViewerExtensionCreationState Class Reference

State to create an action extension.
. More...

#include <ViewerExtensionCreationState.h>

+ Inheritance diagram for ViewerExtensionCreationState:
+ Collaboration diagram for ViewerExtensionCreationState:

Public Slots

virtual void extensionCancelled ()
 
virtual void extensionFinished ()
 

Signals

void next ()
 

Public Member Functions

 ViewerExtensionCreationState (QString name, WizardMainWindow *mainWidnow, cepcoreschema::Cep *domCep)
 Constructor. More...
 
 ~ViewerExtensionCreationState () override=default
 Destructor. More...
 

Protected Member Functions

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

Private Member Functions

void createSubStates (WizardMainWindow *mainWindow)
 

Private Attributes

bool cancelled
 
cepcoreschema::Cep * domCep
 
cepcoreschema::ViewerExtension * domViewerExtension
 
QString name
 
ViewerCreationStateviewerCreationState
 
ViewerExtensionDependenciesStateviewerExtensionDependenciesState
 
DependenciesWidgetviewerExtensionDependenciesWidget
 
ViewerExtensionDescriptionStateviewerExtensionDescriptionState
 
ViewerExtensionDescriptionWidgetviewerExtensionDescriptionWidget
 
ExtensionSummaryStateviewerExtensionSummaryState
 
ExtensionSummaryWidgetviewerExtensionSummaryWidget
 
ViewersCreationStateviewersCreationState
 
ViewersCreationWidgetviewersCreationWidget
 

Detailed Description

State to create an action extension.
.

This state enables to create all states to generate one or more actions.
It manages a sub-states dedicated to the creation of actions.

Constructor & Destructor Documentation

◆ ViewerExtensionCreationState()

ViewerExtensionCreationState::ViewerExtensionCreationState ( QString  name,
WizardMainWindow mainWidnow,
cepcoreschema::Cep *  domCep 
)

Constructor.

References cancelled, createSubStates(), domCep, domViewerExtension, and name.

+ Here is the call graph for this function:

◆ ~ViewerExtensionCreationState()

ViewerExtensionCreationState::~ViewerExtensionCreationState ( )
overridedefault

Destructor.

Member Function Documentation

◆ createSubStates()

void ViewerExtensionCreationState::createSubStates ( WizardMainWindow mainWindow)
private

References domCep, extensionCancelled(), extensionFinished(), next(), viewerCreationState, viewerExtensionDependenciesState, viewerExtensionDependenciesWidget, viewerExtensionDescriptionState, viewerExtensionDescriptionWidget, viewerExtensionSummaryState, viewerExtensionSummaryWidget, viewersCreationState, and viewersCreationWidget.

Referenced by ViewerExtensionCreationState().

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

◆ extensionCancelled

void ViewerExtensionCreationState::extensionCancelled ( )
virtualslot

References cancelled, and next().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ extensionFinished

void ViewerExtensionCreationState::extensionFinished ( )
virtualslot

References cancelled, and next().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ next

void ViewerExtensionCreationState::next ( )
signal

Referenced by createSubStates(), extensionCancelled(), and extensionFinished().

+ Here is the caller graph for this function:

◆ onEntry()

void ViewerExtensionCreationState::onEntry ( QEvent *  event)
overrideprotected

◆ onExit()

void ViewerExtensionCreationState::onExit ( QEvent *  event)
overrideprotected

References cancelled, domCep, and domViewerExtension.

Member Data Documentation

◆ cancelled

bool ViewerExtensionCreationState::cancelled
private

◆ domCep

cepcoreschema::Cep* ViewerExtensionCreationState::domCep
private

◆ domViewerExtension

cepcoreschema::ViewerExtension* ViewerExtensionCreationState::domViewerExtension
private

◆ name

QString ViewerExtensionCreationState::name
private

◆ viewerCreationState

ViewerCreationState* ViewerExtensionCreationState::viewerCreationState
private

Referenced by createSubStates(), and onEntry().

◆ viewerExtensionDependenciesState

ViewerExtensionDependenciesState* ViewerExtensionCreationState::viewerExtensionDependenciesState
private

Referenced by createSubStates(), and onEntry().

◆ viewerExtensionDependenciesWidget

DependenciesWidget* ViewerExtensionCreationState::viewerExtensionDependenciesWidget
private

Referenced by createSubStates().

◆ viewerExtensionDescriptionState

ViewerExtensionDescriptionState* ViewerExtensionCreationState::viewerExtensionDescriptionState
private

Referenced by createSubStates(), and onEntry().

◆ viewerExtensionDescriptionWidget

ViewerExtensionDescriptionWidget* ViewerExtensionCreationState::viewerExtensionDescriptionWidget
private

Referenced by createSubStates().

◆ viewerExtensionSummaryState

ExtensionSummaryState* ViewerExtensionCreationState::viewerExtensionSummaryState
private

Referenced by createSubStates(), and onEntry().

◆ viewerExtensionSummaryWidget

ExtensionSummaryWidget* ViewerExtensionCreationState::viewerExtensionSummaryWidget
private

Referenced by createSubStates().

◆ viewersCreationState

ViewersCreationState* ViewerExtensionCreationState::viewersCreationState
private

Referenced by createSubStates(), and onEntry().

◆ viewersCreationWidget

ViewersCreationWidget* ViewerExtensionCreationState::viewersCreationWidget
private

Referenced by createSubStates().


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