Computer Assited Medical Intervention Tool Kit  version 5.0
ViewerCreationState Class Reference

State to create one action. More...

#include <ViewerCreationState.h>

+ Inheritance diagram for ViewerCreationState:
+ Collaboration diagram for ViewerCreationState:

Public Slots

virtual void viewerCancelled ()
 
virtual void viewerFinished ()
 

Signals

void nextVCS ()
 
void nextVCS2 ()
 

Public Member Functions

void resetDomViewerExtension (cepcoreschema::ViewerExtension *domViewerExtension)
 
 ViewerCreationState (QString name, WizardMainWindow *mainWidnow, cepcoreschema::Cep *domCep, ViewerExtensionCreationState *parent)
 Constructor. More...
 
 ~ViewerCreationState () override=default
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

ViewerDescriptionStateviewerDescriptionState
 
ViewerDescriptionWidgetviewerDescriptionWidget
 Substates (to be updated with domAction at each entry) More...
 
ViewerSummaryStateviewerSummaryState
 
ViewerSummaryWidgetviewerSummaryWidget
 

Private Member Functions

void createSubStates (WizardMainWindow *mainWindow)
 

Private Attributes

bool cancelled
 
cepcoreschema::Cep * domCep
 
cepcoreschema::Viewer * domViewer
 
cepcoreschema::ViewerExtension * domViewerExtension
 
QString name
 

Detailed Description

State to create one action.

This state manages sub-state to create one action.

Constructor & Destructor Documentation

◆ ViewerCreationState()

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

Constructor.

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

+ Here is the call graph for this function:

◆ ~ViewerCreationState()

ViewerCreationState::~ViewerCreationState ( )
overridedefault

Destructor.

Member Function Documentation

◆ createSubStates()

void ViewerCreationState::createSubStates ( WizardMainWindow mainWindow)
private

References domCep, viewerCancelled(), viewerDescriptionState, viewerDescriptionWidget, viewerFinished(), viewerSummaryState, and viewerSummaryWidget.

Referenced by ViewerCreationState().

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

◆ nextVCS

void ViewerCreationState::nextVCS ( )
signal

Referenced by viewerCancelled().

+ Here is the caller graph for this function:

◆ nextVCS2

void ViewerCreationState::nextVCS2 ( )
signal

Referenced by viewerFinished().

+ Here is the caller graph for this function:

◆ onEntry()

void ViewerCreationState::onEntry ( QEvent *  event)
overrideprotected

Reimplemented from QState.

References cancelled, domViewer, domViewerExtension, ViewerDescriptionState::resetDomViewer(), ViewerSummaryState::resetViewer(), viewerDescriptionState, and viewerSummaryState.

+ Here is the call graph for this function:

◆ onExit()

void ViewerCreationState::onExit ( QEvent *  event)
overrideprotected

◆ resetDomViewerExtension()

void ViewerCreationState::resetDomViewerExtension ( cepcoreschema::ViewerExtension *  domViewerExtension)

References domViewerExtension.

Referenced by ViewerExtensionCreationState::onEntry().

+ Here is the caller graph for this function:

◆ viewerCancelled

void ViewerCreationState::viewerCancelled ( )
virtualslot

References cancelled, and nextVCS().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ viewerFinished

void ViewerCreationState::viewerFinished ( )
virtualslot

References cancelled, and nextVCS2().

Referenced by createSubStates().

+ Here is the caller graph for this function:

Member Data Documentation

◆ cancelled

bool ViewerCreationState::cancelled
private

◆ domCep

cepcoreschema::Cep* ViewerCreationState::domCep
private

◆ domViewer

cepcoreschema::Viewer* ViewerCreationState::domViewer
private

◆ domViewerExtension

cepcoreschema::ViewerExtension* ViewerCreationState::domViewerExtension
private

◆ name

QString ViewerCreationState::name
private

Referenced by ViewerCreationState().

◆ viewerDescriptionState

ViewerDescriptionState* ViewerCreationState::viewerDescriptionState
protected

Referenced by createSubStates(), and onEntry().

◆ viewerDescriptionWidget

ViewerDescriptionWidget* ViewerCreationState::viewerDescriptionWidget
protected

Substates (to be updated with domAction at each entry)

Referenced by createSubStates().

◆ viewerSummaryState

ViewerSummaryState* ViewerCreationState::viewerSummaryState
protected

Referenced by createSubStates(), and onEntry().

◆ viewerSummaryWidget

ViewerSummaryWidget* ViewerCreationState::viewerSummaryWidget
protected

Referenced by createSubStates().


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