State to describe action. More...
#include <ViewerDescriptionState.h>
Public Member Functions | |
void | resetDomViewer (cepcoreschema::Viewer *domViewer, cepcoreschema::ViewerExtension *domViewerExtension) |
ViewerDescriptionState (QString name, ViewerDescriptionWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, ViewerCreationState *parent) | |
Constructor. More... | |
~ViewerDescriptionState () 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 action.
ViewerDescriptionState::ViewerDescriptionState | ( | QString | name, |
ViewerDescriptionWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
cepcoreschema::Cep * | domCep, | ||
ViewerCreationState * | parent | ||
) |
Constructor.
|
overridedefault |
Destructor.
|
overrideprotected |
References ClassNameHandler::getClassName(), WizardState::onEntry(), and WizardState::widget.
|
overrideprotected |
References ViewerDescriptionWidget::getViewerName(), WizardState::onExit(), and WizardState::widget.
void ViewerDescriptionState::resetDomViewer | ( | cepcoreschema::Viewer * | domViewer, |
cepcoreschema::ViewerExtension * | domViewerExtension | ||
) |
References ViewerDescriptionWidget::setToDefault(), and WizardState::widget.
Referenced by ViewerCreationState::onEntry().