Computer Assited Medical Intervention Tool Kit  version 5.0
ComponentExtensionDescriptionState Class Reference

State to describe component extension. More...

#include <ComponentExtensionDescriptionState.h>

+ Inheritance diagram for ComponentExtensionDescriptionState:
+ Collaboration diagram for ComponentExtensionDescriptionState:

Public Member Functions

 ComponentExtensionDescriptionState (QString name, ComponentExtensionDescriptionWidget *widget, WizardMainWindow *mainWindow, ComponentExtensionCreationState *parent)
 Constructor. More...
 
void resetDomComponentExtension (cepcoreschema::ComponentExtension *domComponentExtension)
 
 ~ComponentExtensionDescriptionState () 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 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::ComponentExtension * domComponentExtension
 

Additional Inherited Members

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

Detailed Description

State to describe component extension.

Constructor & Destructor Documentation

◆ ComponentExtensionDescriptionState()

ComponentExtensionDescriptionState::ComponentExtensionDescriptionState ( QString  name,
ComponentExtensionDescriptionWidget widget,
WizardMainWindow mainWindow,
ComponentExtensionCreationState parent 
)

Constructor.

References domComponentExtension.

◆ ~ComponentExtensionDescriptionState()

ComponentExtensionDescriptionState::~ComponentExtensionDescriptionState ( )
overridedefault

Destructor.

Member Function Documentation

◆ onExit()

void ComponentExtensionDescriptionState::onExit ( QEvent *  event)
overrideprotected

References domComponentExtension, ComponentExtensionDescriptionWidget::getComponentExtensionName(), WizardState::onExit(), and WizardState::widget.

+ Here is the call graph for this function:

◆ resetDomComponentExtension()

void ComponentExtensionDescriptionState::resetDomComponentExtension ( cepcoreschema::ComponentExtension *  domComponentExtension)

References domComponentExtension, ComponentExtensionDescriptionWidget::setToDefault(), and WizardState::widget.

Referenced by ComponentExtensionCreationState::onEntry().

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

Member Data Documentation

◆ domComponentExtension

cepcoreschema::ComponentExtension* ComponentExtensionDescriptionState::domComponentExtension
private

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