Computer Assited Medical Intervention Tool Kit  version 5.0
LibraryCopyFilesState Class Reference

State to copy files in library. More...

#include <LibraryCopyFilesState.h>

+ Inheritance diagram for LibraryCopyFilesState:
+ Collaboration diagram for LibraryCopyFilesState:

Public Member Functions

 LibraryCopyFilesState (QString name, LibraryCopyFilesWidget *widget, WizardMainWindow *mainWindow, QMap< QString, QStringList > *libraryFilesMap, LibraryCreationState *parent)
 Constructor. More...
 
void resetDomLibrary (cepcoreschema::Library *domLibrary)
 
 ~LibraryCopyFilesState () 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 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
 
QMap< QString, QStringList > * libraryFilesMap
 

Additional Inherited Members

- Protected Attributes inherited from WizardState
WizardMainWindowmainWindow
 
QString name
 
QWidget * widget
 

Detailed Description

State to copy files in library.

Constructor & Destructor Documentation

◆ LibraryCopyFilesState()

LibraryCopyFilesState::LibraryCopyFilesState ( QString  name,
LibraryCopyFilesWidget widget,
WizardMainWindow mainWindow,
QMap< QString, QStringList > *  libraryFilesMap,
LibraryCreationState parent 
)

Constructor.

References domLibrary, and libraryFilesMap.

◆ ~LibraryCopyFilesState()

LibraryCopyFilesState::~LibraryCopyFilesState ( )
overridedefault

Destructor.

Member Function Documentation

◆ onEntry()

void LibraryCopyFilesState::onEntry ( QEvent *  event)
overrideprotected

References domLibrary, LibraryCopyFilesWidget::emptyFileNames(), libraryFilesMap, WizardState::onEntry(), and WizardState::widget.

+ Here is the call graph for this function:

◆ onExit()

void LibraryCopyFilesState::onExit ( QEvent *  event)
overrideprotected

References domLibrary, LibraryCopyFilesWidget::getFileNames(), libraryFilesMap, WizardState::onExit(), and WizardState::widget.

+ Here is the call graph for this function:

◆ resetDomLibrary()

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

References domLibrary, LibraryCopyFilesWidget::emptyFileNames(), 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* LibraryCopyFilesState::domLibrary
private

◆ libraryFilesMap

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

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