Computer Assited Medical Intervention Tool Kit  version 5.0
LibraryCreationState Class Reference

State to create library. More...

#include <LibraryCreationState.h>

+ Inheritance diagram for LibraryCreationState:
+ Collaboration diagram for LibraryCreationState:

Public Slots

virtual void extensionCancelled ()
 
virtual void extensionFinished ()
 

Signals

void next ()
 

Public Member Functions

 LibraryCreationState (QString name, WizardMainWindow *mainWidnow, cepcoreschema::Cep *domCep, QMap< QString, QStringList > *libraryFilesMap)
 Constructor. More...
 
 ~LibraryCreationState () override=default
 Destructor. More...
 

Protected Member Functions

void onEntry (QEvent *event) override
 Reimplemented from QState. More...
 
void onExit (QEvent *event) override
 

Protected Attributes

LibraryCopyFilesStatelibraryCopyFilesState
 
LibraryCopyFilesWidgetlibraryCopyFilesWidget
 
LibraryDependenciesStatelibraryDependenciesState
 
DependenciesWidgetlibraryDependenciesWidget
 
LibraryDescriptionStatelibraryDescriptionState
 
LibraryDescriptionWidgetlibraryDescriptionWidget
 

Private Member Functions

void createSubStates (WizardMainWindow *mainWindow)
 

Private Attributes

bool cancelled
 
cepcoreschema::Cep * domCep
 
cepcoreschema::Library * domLibrary
 
QMap< QString, QStringList > * libraryFilesMap
 
QString name
 

Detailed Description

State to create library.

This state manages sub-state to create one library.

Constructor & Destructor Documentation

◆ LibraryCreationState()

LibraryCreationState::LibraryCreationState ( QString  name,
WizardMainWindow mainWidnow,
cepcoreschema::Cep *  domCep,
QMap< QString, QStringList > *  libraryFilesMap 
)

Constructor.

References createSubStates(), domCep, domLibrary, libraryFilesMap, and name.

+ Here is the call graph for this function:

◆ ~LibraryCreationState()

LibraryCreationState::~LibraryCreationState ( )
overridedefault

Destructor.

Member Function Documentation

◆ createSubStates()

void LibraryCreationState::createSubStates ( WizardMainWindow mainWindow)
private

References domCep, extensionCancelled(), extensionFinished(), libraryCopyFilesState, libraryCopyFilesWidget, libraryDependenciesState, libraryDependenciesWidget, libraryDescriptionState, libraryDescriptionWidget, libraryFilesMap, and next().

Referenced by LibraryCreationState().

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

◆ extensionCancelled

void LibraryCreationState::extensionCancelled ( )
virtualslot

References cancelled, and next().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ extensionFinished

void LibraryCreationState::extensionFinished ( )
virtualslot

References cancelled, and next().

Referenced by createSubStates().

+ Here is the caller graph for this function:

◆ next

void LibraryCreationState::next ( )
signal

Referenced by createSubStates(), extensionCancelled(), and extensionFinished().

+ Here is the caller graph for this function:

◆ onEntry()

void LibraryCreationState::onEntry ( QEvent *  event)
overrideprotected

Reimplemented from QState.

References domLibrary, libraryCopyFilesState, libraryDependenciesState, libraryDescriptionState, LibraryDependenciesState::resetDomLibrary(), LibraryDescriptionState::resetDomLibrary(), and LibraryCopyFilesState::resetDomLibrary().

+ Here is the call graph for this function:

◆ onExit()

void LibraryCreationState::onExit ( QEvent *  event)
overrideprotected

Member Data Documentation

◆ cancelled

bool LibraryCreationState::cancelled
private

◆ domCep

cepcoreschema::Cep* LibraryCreationState::domCep
private

◆ domLibrary

cepcoreschema::Library* LibraryCreationState::domLibrary
private

◆ libraryCopyFilesState

LibraryCopyFilesState* LibraryCreationState::libraryCopyFilesState
protected

Referenced by createSubStates(), and onEntry().

◆ libraryCopyFilesWidget

LibraryCopyFilesWidget* LibraryCreationState::libraryCopyFilesWidget
protected

Referenced by createSubStates().

◆ libraryDependenciesState

LibraryDependenciesState* LibraryCreationState::libraryDependenciesState
protected

Referenced by createSubStates(), and onEntry().

◆ libraryDependenciesWidget

DependenciesWidget* LibraryCreationState::libraryDependenciesWidget
protected

Referenced by createSubStates().

◆ libraryDescriptionState

LibraryDescriptionState* LibraryCreationState::libraryDescriptionState
protected

Referenced by createSubStates(), and onEntry().

◆ libraryDescriptionWidget

LibraryDescriptionWidget* LibraryCreationState::libraryDescriptionWidget
protected

Referenced by createSubStates().

◆ libraryFilesMap

QMap<QString, QStringList>* LibraryCreationState::libraryFilesMap
private

◆ name

QString LibraryCreationState::name
private

Referenced by LibraryCreationState().


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