State to define dependencies to the library. More...
#include <LibraryDependenciesState.h>
Public Member Functions | |
LibraryDependenciesState (QString name, DependenciesWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, LibraryCreationState *parent) | |
Constructor. More... | |
void | resetDomLibrary (cepcoreschema::Library *domLibrary) |
~LibraryDependenciesState () override=default | |
Destructor. More... | |
Public Member Functions inherited from DependenciesState | |
DependenciesState (QString name, DependenciesWidget *widget, WizardMainWindow *mainWindow, cepcoreschema::Cep *domCep, QState *parent) | |
Constructor. More... | |
~DependenciesState () 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 DependenciesState | |
cepcoreschema::Dependencies * | getDependencies () |
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::Library * | domLibrary |
Additional Inherited Members | |
Protected Attributes inherited from DependenciesState | |
cepcoreschema::Cep * | domCep |
Protected Attributes inherited from WizardState | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to define dependencies to the library.
LibraryDependenciesState::LibraryDependenciesState | ( | QString | name, |
DependenciesWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
cepcoreschema::Cep * | domCep, | ||
LibraryCreationState * | parent | ||
) |
Constructor.
References domLibrary, and DependenciesWidget::setElement().
|
overridedefault |
Destructor.
|
overrideprotected |
References domLibrary, DependenciesState::getDependencies(), and DependenciesState::onExit().
void LibraryDependenciesState::resetDomLibrary | ( | cepcoreschema::Library * | domLibrary | ) |
References domLibrary.
Referenced by LibraryCreationState::onEntry().
|
private |
Referenced by LibraryDependenciesState(), onExit(), and resetDomLibrary().