Computer Assited Medical Intervention Tool Kit
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
applications
wizard
ExtensionWindow.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2013 UJF-Grenoble 1, 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
// Qt
26
#include <QMainWindow>
27
#include <QString>
28
#include <QStringList>
29
30
#include "
RemovableLineEdit.h
"
31
// Include GUI automatically generated from the file
32
// ExtensionWindow.ui (to be modified via QtDesigner).
33
#include "ui_ExtensionWindow.h"
34
35
#ifndef EXTENSIONWINDOW_H
36
#define EXTENSIONWINDOW_H
37
38
enum
ExtTypeType
{
39
Action
= 1,
40
Application
= 2,
41
Component
= 3,
42
Viewer
=4
43
};
44
45
class
ExtensionWindow
:
public
QMainWindow {
46
Q_OBJECT
47
48
49
public
:
50
ExtensionWindow
(QMainWindow *
dad
, QString
workingDirectory
,
ExtTypeType
extType
);
51
52
void
addExtTypeFile
(QString extTypeFileName);
53
void
removeExtTypeFile
(
RemovableLineEdit
* extTypeRLE);
54
QString
getExtensionClassName
();
55
void
rleToggle
(
RemovableLineEdit
* rle,
bool
res);
56
void
addItkDependency
();
57
58
59
public
slots:
60
virtual
void
addExtTypeButtonClicked
();
61
virtual
void
addExtFileButtonClicked
();
62
virtual
void
okClicked
();
63
virtual
void
cancelClicked
();
64
65
private
:
66
67
void
personnalizeInterface
();
68
69
Ui_ExtensionWindow
ui
;
70
71
ExtTypeType
extType
;
72
73
QMainWindow *
dad
;
74
QString
workingDirectory
;
75
QList<RemovableLineEdit *>
extTypeFiles
;
76
QList<RemovableLineEdit *>
fileExts
;
77
78
};
79
#endif
Generated on Sat Feb 16 2013 16:59:43 for Computer Assited Medical Intervention Tool Kit by
1.8.1.2