State to define action extension dependencies. More...
#include <ViewerExtensionDependenciesState.h>
Public Member Functions | |
void | resetDomViewerExtension (cepcoreschema::ViewerExtension *domViewerExtension) |
ViewerExtensionDependenciesState (QString name, DependenciesWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, ViewerExtensionCreationState *parent) | |
Constructor. More... | |
~ViewerExtensionDependenciesState () 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::ViewerExtension * | domViewerExtension |
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::ViewerExtension *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.
ViewerExtensionDependenciesState::ViewerExtensionDependenciesState | ( | QString | name, |
DependenciesWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
cepcoreschema::Cep * | domCep, | ||
ViewerExtensionCreationState * | parent | ||
) |
Constructor.
References domViewerExtension, and DependenciesWidget::setElement().
|
overridedefault |
Destructor.
|
private |
|
overrideprotected |
|
overrideprotected |
References domViewerExtension, DependenciesState::getDependencies(), and DependenciesState::onExit().
void ViewerExtensionDependenciesState::resetDomViewerExtension | ( | cepcoreschema::ViewerExtension * | domViewerExtension | ) |
References domViewerExtension, DependenciesWidget::setToDefault(), and WizardState::widget.
Referenced by ViewerExtensionCreationState::onEntry().
cepcoreschema::ViewerExtension* ViewerExtensionDependenciesState::domViewerExtension |
Referenced by onExit(), resetDomViewerExtension(), and ViewerExtensionDependenciesState().