State to add parameters in the action. More...
#include <ActionAddParameterState.h>
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 | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to add parameters in the action.
ActionAddParameterState::ActionAddParameterState | ( | QString | name, |
ActionAddParameterWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
ActionCreationState * | parent | ||
) |
Constructor.
References domAction.
|
overridedefault |
Destructor.
|
protected |
References description, domAction, ActionAddParameterWidget::getActionParameterWidgets(), ActionParameterWidget::getDefaultValue(), ActionParameterWidget::getDescription(), ActionParameterWidget::getName(), ActionParameterWidget::getType(), ActionParameterWidget::getUnit(), WizardState::name, and WizardState::widget.
Referenced by onExit().
|
overrideprotected |
|
overrideprotected |
void ActionAddParameterState::resetDomAction | ( | cepcoreschema::Action * | domAction | ) |
References domAction, ActionAddParameterWidget::setToDefault(), and WizardState::widget.
Referenced by ActionCreationState::onEntry().
|
private |
Referenced by ActionAddParameterState(), addDomParameters(), and resetDomAction().