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