State to define action extension dependencies. More...
#include <ActionExtensionDependenciesState.h>
Public Member Functions | |
ActionExtensionDependenciesState (QString name, DependenciesWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, ActionExtensionCreationState *parent) | |
Constructor. More... | |
void | resetDomActionExtension (cepcoreschema::ActionExtension *domActionExtension) |
~ActionExtensionDependenciesState () override=default | |
Destructor. More... | |
Public Member Functions inherited from DependenciesState | |
DependenciesState (QString name, DependenciesWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, QState *parent) | |
Constructor. More... | |
~DependenciesState () 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... | |
Public Attributes | |
cepcoreschema::ActionExtension * | domActionExtension |
Protected Member Functions | |
void | onEntry (QEvent *event) override |
void | onExit (QEvent *event) override |
Protected Member Functions inherited from DependenciesState | |
cepcoreschema::Dependencies * | getDependencies () |
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 Member Functions | |
bool | isItkDependant (cepcoreschema::ActionExtension *domExtension) |
Additional Inherited Members | |
Protected Attributes inherited from DependenciesState | |
cepcoreschema::Cep * | domCep |
Protected Attributes inherited from WizardState | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to define action extension dependencies.
ActionExtensionDependenciesState::ActionExtensionDependenciesState | ( | QString | name, |
DependenciesWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
cepcoreschema::Cep * | domCep, | ||
ActionExtensionCreationState * | parent | ||
) |
Constructor.
References domActionExtension, and DependenciesWidget::setElement().
|
overridedefault |
Destructor.
|
private |
|
overrideprotected |
References domActionExtension, isItkDependant(), DependenciesState::onEntry(), DependenciesWidget::setItkDependency(), and WizardState::widget.
|
overrideprotected |
References domActionExtension, DependenciesState::getDependencies(), and DependenciesState::onExit().
void ActionExtensionDependenciesState::resetDomActionExtension | ( | cepcoreschema::ActionExtension * | domActionExtension | ) |
References domActionExtension, DependenciesWidget::setToDefault(), and WizardState::widget.
Referenced by ActionExtensionCreationState::onEntry().
cepcoreschema::ActionExtension* ActionExtensionDependenciesState::domActionExtension |
Referenced by ActionExtensionDependenciesState(), DependenciesState::onEntry(), onEntry(), onExit(), and resetDomActionExtension().