Computer Assited Medical Intervention Tool Kit  version 5.0
LibraryCopyFilesWidget Class Reference

Widget to copy files to library. More...

#include <LibraryCopyFilesWidget.h>

+ Inheritance diagram for LibraryCopyFilesWidget:
+ Collaboration diagram for LibraryCopyFilesWidget:

Public Slots

virtual void addFileClicked ()
 
virtual void cancelButtonClicked ()
 
virtual void nextButtonClicked ()
 
virtual void previousButtonClicked ()
 

Signals

void cancel ()
 
void next ()
 
void previous ()
 

Public Member Functions

void addFile (QString file)
 
void addLibraryName (QString libraryFileName)
 
void emptyFileNames ()
 
QStringList getFileNames ()
 
 LibraryCopyFilesWidget (QWidget *parent)
 Constructor. More...
 
void setToDefault ()
 
 ~LibraryCopyFilesWidget () override=default
 Destructor. More...
 

Private Attributes

QStringList filenames
 
QString fileNamesString
 
Ui::LibraryCopyFilesWidget ui
 

Detailed Description

Widget to copy files to library.

Constructor & Destructor Documentation

◆ LibraryCopyFilesWidget()

LibraryCopyFilesWidget::LibraryCopyFilesWidget ( QWidget *  parent)

Constructor.

References setToDefault(), and ui.

+ Here is the call graph for this function:

◆ ~LibraryCopyFilesWidget()

LibraryCopyFilesWidget::~LibraryCopyFilesWidget ( )
overridedefault

Destructor.

Member Function Documentation

◆ addFile()

void LibraryCopyFilesWidget::addFile ( QString  file)

References fileNamesString, and ui.

◆ addFileClicked

void LibraryCopyFilesWidget::addFileClicked ( )
virtualslot

References addLibraryName().

+ Here is the call graph for this function:

◆ addLibraryName()

void LibraryCopyFilesWidget::addLibraryName ( QString  libraryFileName)

References filenames, fileNamesString, and ui.

Referenced by addFileClicked().

+ Here is the caller graph for this function:

◆ cancel

void LibraryCopyFilesWidget::cancel ( )
signal

Referenced by cancelButtonClicked().

+ Here is the caller graph for this function:

◆ cancelButtonClicked

void LibraryCopyFilesWidget::cancelButtonClicked ( )
virtualslot

References cancel().

◆ emptyFileNames()

void LibraryCopyFilesWidget::emptyFileNames ( )

References defaultCopiedFiles, filenames, fileNamesString, and ui.

Referenced by LibraryCopyFilesState::onEntry(), LibraryCopyFilesState::resetDomLibrary(), and setToDefault().

+ Here is the caller graph for this function:

◆ getFileNames()

QStringList LibraryCopyFilesWidget::getFileNames ( )

References filenames.

Referenced by LibraryCopyFilesState::onExit().

+ Here is the caller graph for this function:

◆ next

void LibraryCopyFilesWidget::next ( )
signal

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ nextButtonClicked

void LibraryCopyFilesWidget::nextButtonClicked ( )
virtualslot

References next().

◆ previous

void LibraryCopyFilesWidget::previous ( )
signal

Referenced by previousButtonClicked().

+ Here is the caller graph for this function:

◆ previousButtonClicked

void LibraryCopyFilesWidget::previousButtonClicked ( )
virtualslot

References previous().

◆ setToDefault()

void LibraryCopyFilesWidget::setToDefault ( )

References defaultCopyFilesExplanation, emptyFileNames(), and ui.

Referenced by LibraryCopyFilesWidget().

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

Member Data Documentation

◆ filenames

QStringList LibraryCopyFilesWidget::filenames
private

◆ fileNamesString

QString LibraryCopyFilesWidget::fileNamesString
private

◆ ui

Ui::LibraryCopyFilesWidget LibraryCopyFilesWidget::ui
private

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