Computer Assited Medical Intervention Tool Kit
version 4.1
Datas
CamiTK
src
sdk
applications
wizard
LibraryCopyFilesWidget.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6
*
7
* Visit http://camitk.imag.fr for more information
8
*
9
* This file is part of CamiTK.
10
*
11
* CamiTK is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU Lesser General Public License version 3
13
* only, as published by the Free Software Foundation.
14
*
15
* CamiTK is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Lesser General Public License version 3 for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public License
21
* version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22
*
23
* $CAMITK_LICENCE_END$
24
****************************************************************************/
25
#ifndef LIBRARYCOPYFILEWIDGET_H
26
#define LIBRARYCOPYFILEWIDGET_H
27
28
// Include GUI automatically generated file
29
#include "ui_LibraryCopyFilesWidget.h"
30
31
// includes from Qt
32
#include <QWidget>
33
#include <QStringList>
34
42
class
LibraryCopyFilesWidget
:
public
QWidget {
43
44
Q_OBJECT;
45
46
public
:
48
LibraryCopyFilesWidget
(QWidget* parent);
50
~LibraryCopyFilesWidget
()
override
=
default
;
51
52
void
setToDefault
();
53
54
void
addFile
(QString file);
55
56
void
addLibraryName
(QString libraryFileName);
57
QStringList
getFileNames
();
58
void
emptyFileNames
();
59
60
public
slots:
61
virtual
void
nextButtonClicked
();
62
virtual
void
previousButtonClicked
();
63
virtual
void
cancelButtonClicked
();
64
virtual
void
addFileClicked
();
65
66
signals:
67
void
next
();
68
void
previous
();
69
void
cancel
();
70
71
private
:
72
QStringList
filenames
;
73
QString
fileNamesString
;
74
75
Ui::LibraryCopyFilesWidget
ui
;
76
};
77
#endif
LibraryCopyFilesWidget::~LibraryCopyFilesWidget
~LibraryCopyFilesWidget() override=default
Destructor.
LibraryCopyFilesWidget::cancelButtonClicked
virtual void cancelButtonClicked()
Definition:
LibraryCopyFilesWidget.cpp:53
LibraryCopyFilesWidget::filenames
QStringList filenames
Definition:
LibraryCopyFilesWidget.h:72
LibraryCopyFilesWidget::nextButtonClicked
virtual void nextButtonClicked()
Definition:
LibraryCopyFilesWidget.cpp:45
LibraryCopyFilesWidget::previous
void previous()
LibraryCopyFilesWidget::next
void next()
LibraryCopyFilesWidget::LibraryCopyFilesWidget
LibraryCopyFilesWidget(QWidget *parent)
Constructor.
Definition:
LibraryCopyFilesWidget.cpp:36
LibraryCopyFilesWidget::addFileClicked
virtual void addFileClicked()
Definition:
LibraryCopyFilesWidget.cpp:66
LibraryCopyFilesWidget::previousButtonClicked
virtual void previousButtonClicked()
Definition:
LibraryCopyFilesWidget.cpp:49
LibraryCopyFilesWidget::getFileNames
QStringList getFileNames()
Definition:
LibraryCopyFilesWidget.cpp:73
LibraryCopyFilesWidget::addFile
void addFile(QString file)
Definition:
LibraryCopyFilesWidget.cpp:57
LibraryCopyFilesWidget::ui
Ui::LibraryCopyFilesWidget ui
Definition:
LibraryCopyFilesWidget.h:75
LibraryCopyFilesWidget::cancel
void cancel()
LibraryCopyFilesWidget::emptyFileNames
void emptyFileNames()
Definition:
LibraryCopyFilesWidget.cpp:77
LibraryCopyFilesWidget::fileNamesString
QString fileNamesString
Definition:
LibraryCopyFilesWidget.h:73
LibraryCopyFilesWidget::addLibraryName
void addLibraryName(QString libraryFileName)
Definition:
LibraryCopyFilesWidget.cpp:83
LibraryCopyFilesWidget
Widget to copy files to library.
Definition:
LibraryCopyFilesWidget.h:42
LibraryCopyFilesWidget::setToDefault
void setToDefault()
Definition:
LibraryCopyFilesWidget.cpp:41
Generated by
1.8.13