Computer Assisted Medical Intervention Tool Kit  version 5.2
ComponentSummaryState Class Reference

State to summarise component creation. More...

#include <ComponentSummaryState.h>

+ Inheritance diagram for ComponentSummaryState:
+ Collaboration diagram for ComponentSummaryState:

Public Member Functions

 ComponentSummaryState (QString name, ComponentSummaryWidget *widget, WizardMainWindow *mainWindow, QState *parent)
 Constructor. More...
 
void resetComponent (cepcoreschema::Component *domComponent)
 
 ~ComponentSummaryState () 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
 

Protected Attributes

cepcoreschema::Component * domComponent
 
- Protected Attributes inherited from WizardState
WizardMainWindowmainWindow
 
QString name
 
QWidget * widget
 

Detailed Description

State to summarise component creation.

Constructor & Destructor Documentation

◆ ComponentSummaryState()

ComponentSummaryState::ComponentSummaryState ( QString  name,
ComponentSummaryWidget widget,
WizardMainWindow mainWindow,
QState *  parent 
)

Constructor.

References domComponent.

◆ ~ComponentSummaryState()

ComponentSummaryState::~ComponentSummaryState ( )
overridedefault

Destructor.

Member Function Documentation

◆ onEntry()

void ComponentSummaryState::onEntry ( QEvent *  event)
overrideprotected

References description, domComponent, WizardState::name, WizardState::onEntry(), and WizardState::widget.

+ Here is the call graph for this function:

◆ onExit()

void ComponentSummaryState::onExit ( QEvent *  event)
overrideprotected

References WizardState::onExit().

+ Here is the call graph for this function:

◆ resetComponent()

void ComponentSummaryState::resetComponent ( cepcoreschema::Component *  domComponent)

References domComponent.

Referenced by ComponentCreationState::onEntry().

+ Here is the caller graph for this function:

Member Data Documentation

◆ domComponent

cepcoreschema::Component* ComponentSummaryState::domComponent
protected

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