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 |
Private Attributes | |
cepcoreschema::Component * | domComponent |
cepcoreschema::ComponentExtension * | domComponentExtension |
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.
References domComponent, and domComponentExtension.
|
overridedefault |
Destructor.
|
overrideprotected |
References domComponent, domComponentExtension, WizardState::onEntry(), and WizardState::widget.
|
overrideprotected |
References domComponent, ComponentDescriptionWidget::getComponentName(), WizardState::onExit(), and WizardState::widget.
void ComponentDescriptionState::resetDomComponent | ( | cepcoreschema::Component * | domComponent, |
cepcoreschema::ComponentExtension * | domComponentExtension | ||
) |
References domComponent, domComponentExtension, and WizardState::widget.
Referenced by ComponentCreationState::onEntry().
|
private |
Referenced by ComponentDescriptionState(), onEntry(), onExit(), and resetDomComponent().
|
private |
Referenced by ComponentDescriptionState(), onEntry(), and resetDomComponent().