Computer Assited Medical Intervention Tool Kit  version 5.0
ActionAddParameterState Class Reference

State to add parameters in the action. More...

#include <ActionAddParameterState.h>

+ Inheritance diagram for ActionAddParameterState:
+ Collaboration diagram for ActionAddParameterState:

Public Member Functions

 ActionAddParameterState (QString name, ActionAddParameterWidget *widget, WizardMainWindow *mainWindow, ActionCreationState *parent)
 Constructor. More...
 
void resetDomAction (cepcoreschema::Action *domAction)
 
 ~ActionAddParameterState () 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 addDomParameters ()
 
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::Action * domAction
 

Additional Inherited Members

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

Detailed Description

State to add parameters in the action.

Constructor & Destructor Documentation

◆ ActionAddParameterState()

ActionAddParameterState::ActionAddParameterState ( QString  name,
ActionAddParameterWidget widget,
WizardMainWindow mainWindow,
ActionCreationState parent 
)

Constructor.

References domAction.

◆ ~ActionAddParameterState()

ActionAddParameterState::~ActionAddParameterState ( )
overridedefault

Destructor.

Member Function Documentation

◆ addDomParameters()

void ActionAddParameterState::addDomParameters ( )
protected

References description, domAction, ActionAddParameterWidget::getActionParameterWidgets(), ActionParameterWidget::getDefaultValue(), ActionParameterWidget::getDescription(), ActionParameterWidget::getName(), ActionParameterWidget::getType(), ActionParameterWidget::getUnit(), WizardState::name, and WizardState::widget.

Referenced by onExit().

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

◆ onEntry()

void ActionAddParameterState::onEntry ( QEvent *  event)
overrideprotected

References WizardState::onEntry().

+ Here is the call graph for this function:

◆ onExit()

void ActionAddParameterState::onExit ( QEvent *  event)
overrideprotected

References addDomParameters(), and WizardState::onExit().

+ Here is the call graph for this function:

◆ resetDomAction()

void ActionAddParameterState::resetDomAction ( cepcoreschema::Action *  domAction)

References domAction, ActionAddParameterWidget::setToDefault(), and WizardState::widget.

Referenced by ActionCreationState::onEntry().

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

Member Data Documentation

◆ domAction

cepcoreschema::Action* ActionAddParameterState::domAction
private

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