State to class the action and to attribute a tag to it. More...
#include <ActionClassificationState.h>
Public Member Functions | |
ActionClassificationState (QString name, ActionClassificationWidget *widget, WizardMainWindow *mainWindow, ActionCreationState *parent) | |
Constructor. More... | |
void | resetDomAction (cepcoreschema::Action *domAction) |
~ActionClassificationState () 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 |
Private Attributes | |
cepcoreschema::Action * | domAction |
Additional Inherited Members | |
Protected Attributes inherited from WizardState | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to class the action and to attribute a tag to it.
ActionClassificationState::ActionClassificationState | ( | QString | name, |
ActionClassificationWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
ActionCreationState * | parent | ||
) |
Constructor.
References domAction.
|
overridedefault |
Destructor.
|
overrideprotected |
|
overrideprotected |
References domAction, ActionClassificationWidget::getFamily(), ActionTagWidget::getTag(), WizardState::onExit(), and WizardState::widget.
void ActionClassificationState::resetDomAction | ( | cepcoreschema::Action * | domAction | ) |
References domAction, ActionClassificationWidget::setToDefault(), and WizardState::widget.
Referenced by ActionCreationState::onEntry().
|
private |
Referenced by ActionClassificationState(), onExit(), and resetDomAction().