State to describe component extension. More...
#include <ComponentExtensionDescriptionState.h>
Public Member Functions | |
ComponentExtensionDescriptionState (QString name, ComponentExtensionDescriptionWidget *widget, WizardMainWindow *mainWindow, ComponentExtensionCreationState *parent) | |
Constructor. More... | |
void | resetDomComponentExtension (cepcoreschema::ComponentExtension *domComponentExtension) |
~ComponentExtensionDescriptionState () 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 | 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::ComponentExtension * | domComponentExtension |
Additional Inherited Members | |
Protected Attributes inherited from WizardState | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to describe component extension.
ComponentExtensionDescriptionState::ComponentExtensionDescriptionState | ( | QString | name, |
ComponentExtensionDescriptionWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
ComponentExtensionCreationState * | parent | ||
) |
Constructor.
References domComponentExtension.
|
overridedefault |
Destructor.
|
overrideprotected |
References domComponentExtension, ComponentExtensionDescriptionWidget::getComponentExtensionName(), WizardState::onExit(), and WizardState::widget.
void ComponentExtensionDescriptionState::resetDomComponentExtension | ( | cepcoreschema::ComponentExtension * | domComponentExtension | ) |
References domComponentExtension, ComponentExtensionDescriptionWidget::setToDefault(), and WizardState::widget.
Referenced by ComponentExtensionCreationState::onEntry().
|
private |
Referenced by ComponentExtensionDescriptionState(), onExit(), and resetDomComponentExtension().