Computer Assisted Medical Intervention Tool Kit  version 5.2
ComponentDescriptionState Class Reference

State to describe component. More...

#include <ComponentDescriptionState.h>

+ Inheritance diagram for ComponentDescriptionState:
+ Collaboration diagram for ComponentDescriptionState:

Public Member Functions

 ComponentDescriptionState (QString name, ComponentDescriptionWidget *widget, WizardMainWindow *mainWindow, ComponentCreationState *parent)
 Constructor. More...
 
void resetDomComponent (cepcoreschema::Component *domComponent, cepcoreschema::ComponentExtension *domComponentExtension)
 
 ~ComponentDescriptionState () 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
 

Additional Inherited Members

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

Detailed Description

State to describe component.

Constructor & Destructor Documentation

◆ ComponentDescriptionState()

ComponentDescriptionState::ComponentDescriptionState ( QString  name,
ComponentDescriptionWidget widget,
WizardMainWindow mainWindow,
ComponentCreationState parent 
)

Constructor.

◆ ~ComponentDescriptionState()

ComponentDescriptionState::~ComponentDescriptionState ( )
overridedefault

Destructor.

Member Function Documentation

◆ onEntry()

void ComponentDescriptionState::onEntry ( QEvent *  event)
overrideprotected

References WizardState::onEntry(), and WizardState::widget.

+ Here is the call graph for this function:

◆ onExit()

void ComponentDescriptionState::onExit ( QEvent *  event)
overrideprotected

References ComponentDescriptionWidget::getComponentName(), WizardState::onExit(), and WizardState::widget.

+ Here is the call graph for this function:

◆ resetDomComponent()

void ComponentDescriptionState::resetDomComponent ( cepcoreschema::Component *  domComponent,
cepcoreschema::ComponentExtension *  domComponentExtension 
)

References ComponentDescriptionWidget::setToDefault(), and WizardState::widget.

Referenced by ComponentCreationState::onEntry().

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

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