Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComponentSummaryState Class Reference

State to summarise component creation. More...

#include <ComponentSummaryState.h>

Inherits WizardState.

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

◆ onExit()

void ComponentSummaryState::onExit ( QEvent *  event)
overrideprotected

References WizardState::onExit().

◆ resetComponent()

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

References domComponent.

Referenced by ComponentCreationState::onEntry().

Member Data Documentation

◆ domComponent

cepcoreschema::Component* ComponentSummaryState::domComponent
protected

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