Computer Assited Medical Intervention Tool Kit  version 5.0
ViewerDescriptionState Class Reference

State to describe action. More...

#include <ViewerDescriptionState.h>

+ Inheritance diagram for ViewerDescriptionState:
+ Collaboration diagram for ViewerDescriptionState:

Public Member Functions

void resetDomViewer (cepcoreschema::Viewer *domViewer, cepcoreschema::ViewerExtension *domViewerExtension)
 
 ViewerDescriptionState (QString name, ViewerDescriptionWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, ViewerCreationState *parent)
 Constructor. More...
 
 ~ViewerDescriptionState () override=default
 Destructor. More...
 
- Public Member Functions inherited from WizardState
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
 
void onExit (QEvent *event) override
 
- Protected Member Functions inherited from WizardState
void onEntry (QEvent *event) override
 Reimplemented from QState. More...
 
void onExit (QEvent *event) override
 

Private Attributes

cepcoreschema::Cep * domCep
 
cepcoreschema::Viewer * domViewer
 
cepcoreschema::ViewerExtension * domViewerExtension
 

Additional Inherited Members

- Protected Attributes inherited from WizardState
WizardMainWindowmainWindow
 
QString name
 
QWidget * widget
 

Detailed Description

State to describe action.

Constructor & Destructor Documentation

◆ ViewerDescriptionState()

ViewerDescriptionState::ViewerDescriptionState ( QString  name,
ViewerDescriptionWidget widget,
WizardMainWindow mainWindow,
cepcoreschema::Cep *  domCep,
ViewerCreationState parent 
)

Constructor.

References domCep, domViewer, and domViewerExtension.

◆ ~ViewerDescriptionState()

ViewerDescriptionState::~ViewerDescriptionState ( )
overridedefault

Destructor.

Member Function Documentation

◆ onEntry()

void ViewerDescriptionState::onEntry ( QEvent *  event)
overrideprotected

References domCep, domViewer, domViewerExtension, ClassNameHandler::getClassName(), WizardState::onEntry(), and WizardState::widget.

+ Here is the call graph for this function:

◆ onExit()

void ViewerDescriptionState::onExit ( QEvent *  event)
overrideprotected

References domViewer, domViewerExtension, ViewerDescriptionWidget::getViewerName(), WizardState::onExit(), and WizardState::widget.

+ Here is the call graph for this function:

◆ resetDomViewer()

void ViewerDescriptionState::resetDomViewer ( cepcoreschema::Viewer *  domViewer,
cepcoreschema::ViewerExtension *  domViewerExtension 
)

References domViewer, domViewerExtension, and WizardState::widget.

Referenced by ViewerCreationState::onEntry().

+ Here is the caller graph for this function:

Member Data Documentation

◆ domCep

cepcoreschema::Cep* ViewerDescriptionState::domCep
private

Referenced by onEntry(), and ViewerDescriptionState().

◆ domViewer

cepcoreschema::Viewer* ViewerDescriptionState::domViewer
private

◆ domViewerExtension

cepcoreschema::ViewerExtension* ViewerDescriptionState::domViewerExtension
private

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