Widget to copy files to library. More...
#include <LibraryCopyFilesWidget.h>
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 |
Widget to copy files to library.
LibraryCopyFilesWidget::LibraryCopyFilesWidget | ( | QWidget * | parent | ) |
|
overridedefault |
Destructor.
void LibraryCopyFilesWidget::addFile | ( | QString | file | ) |
References fileNamesString, and ui.
|
virtualslot |
void LibraryCopyFilesWidget::addLibraryName | ( | QString | libraryFileName | ) |
References filenames, fileNamesString, and ui.
Referenced by addFileClicked().
|
signal |
|
virtualslot |
References cancel().
void LibraryCopyFilesWidget::emptyFileNames | ( | ) |
References defaultCopiedFiles, filenames, fileNamesString, and ui.
Referenced by LibraryCopyFilesState::onEntry(), LibraryCopyFilesState::resetDomLibrary(), and setToDefault().
QStringList LibraryCopyFilesWidget::getFileNames | ( | ) |
References filenames.
Referenced by LibraryCopyFilesState::onExit().
|
signal |
|
virtualslot |
References next().
|
signal |
|
virtualslot |
References previous().
void LibraryCopyFilesWidget::setToDefault | ( | ) |
References defaultCopyFilesExplanation, emptyFileNames(), and ui.
Referenced by LibraryCopyFilesWidget().
|
private |
Referenced by addLibraryName(), emptyFileNames(), and getFileNames().
|
private |
Referenced by addFile(), addLibraryName(), and emptyFileNames().
|
private |
Referenced by addFile(), addLibraryName(), emptyFileNames(), LibraryCopyFilesWidget(), and setToDefault().