State to describe library. More...
#include <LibraryDescriptionState.h>
Public Member Functions | |
LibraryDescriptionState (QString name, LibraryDescriptionWidget *widget, WizardMainWindow *mainWindow, LibraryCreationState *parent) | |
Constructor. More... | |
void | resetDomLibrary (cepcoreschema::Library *domLibrary) |
~LibraryDescriptionState () 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 |
Additional Inherited Members | |
Protected Attributes inherited from WizardState | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to describe library.
LibraryDescriptionState::LibraryDescriptionState | ( | QString | name, |
LibraryDescriptionWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
LibraryCreationState * | parent | ||
) |
Constructor.
|
overridedefault |
Destructor.
|
overrideprotected |
References LibraryDescriptionWidget::getLibraryName(), WizardState::onExit(), and WizardState::widget.
void LibraryDescriptionState::resetDomLibrary | ( | cepcoreschema::Library * | domLibrary | ) |
References LibraryDescriptionWidget::setToDefault(), and WizardState::widget.
Referenced by LibraryCreationState::onEntry().