Computer Assited Medical Intervention Tool Kit  version 5.0
LibraryDescriptionState Class Reference

State to describe library. More...

#include <LibraryDescriptionState.h>

+ Inheritance diagram for LibraryDescriptionState:
+ Collaboration diagram for LibraryDescriptionState:

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
WizardMainWindowmainWindow
 
QString name
 
QWidget * widget
 

Detailed Description

State to describe library.

Constructor & Destructor Documentation

◆ LibraryDescriptionState()

LibraryDescriptionState::LibraryDescriptionState ( QString  name,
LibraryDescriptionWidget widget,
WizardMainWindow mainWindow,
LibraryCreationState parent 
)

Constructor.

References domLibrary.

◆ ~LibraryDescriptionState()

LibraryDescriptionState::~LibraryDescriptionState ( )
overridedefault

Destructor.

Member Function Documentation

◆ onExit()

void LibraryDescriptionState::onExit ( QEvent *  event)
overrideprotected

References domLibrary, LibraryDescriptionWidget::getLibraryName(), WizardState::onExit(), and WizardState::widget.

+ Here is the call graph for this function:

◆ resetDomLibrary()

void LibraryDescriptionState::resetDomLibrary ( cepcoreschema::Library *  domLibrary)

References domLibrary, LibraryDescriptionWidget::setToDefault(), and WizardState::widget.

Referenced by LibraryCreationState::onEntry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ domLibrary

cepcoreschema::Library* LibraryDescriptionState::domLibrary
private

The documentation for this class was generated from the following files: