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 |
Private Attributes | |
cepcoreschema::Library * | domLibrary |
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.
References domLibrary.
|
overridedefault |
Destructor.
|
overrideprotected |
References domLibrary, LibraryDescriptionWidget::getLibraryName(), WizardState::onExit(), and WizardState::widget.
void LibraryDescriptionState::resetDomLibrary | ( | cepcoreschema::Library * | domLibrary | ) |
References domLibrary, LibraryDescriptionWidget::setToDefault(), and WizardState::widget.
Referenced by LibraryCreationState::onEntry().
|
private |
Referenced by LibraryDescriptionState(), onExit(), and resetDomLibrary().