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
ExtTypeWindow.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 <QList>
29
30
#include "
ParameterWidget.h
"
31
#include "
RemovableLineEdit.h
"
32
33
#include "
ExtensionWindow.h
"
34
// The inclusion is needed as ExtTypeWindow uses the ExtTypeType enumeration.
35
//class ExtensionWindow;
36
37
// Include GUI automatically generated from the file
38
// MedicalViewer.ui (to be modified via QtDesigner).
39
#include "ui_ExtTypeWindow.h"
40
41
#ifndef EXTTYPEWINDOW_H
42
#define EXTTYPEWINDOW_H
43
44
class
ExtTypeWindow
:
public
QMainWindow {
45
Q_OBJECT
46
47
48
public
:
49
ExtTypeWindow
(
ExtensionWindow
*
dad
, QString
workingDirectory
,
ExtTypeType
type
);
50
51
void
removeParameter
(
ParameterWidget
* param);
52
void
removeLineEdit
(
RemovableLineEdit
* tag);
53
54
public
slots:
55
virtual
void
okClicked
();
56
virtual
void
cancelClicked
();
57
virtual
void
addTagClicked
();
58
virtual
void
addParameterClicked
();
59
virtual
void
componentComboBoxChanged
(QString);
60
61
protected
:
62
63
void
personnalizeInterface
();
64
bool
makeActionXML
();
65
bool
makeApplicationXML
();
66
bool
makeComponentXML
();
67
bool
makeViewerXML
();
68
69
private
:
70
Ui_ExtTypeWindow
ui
;
71
72
ExtTypeType
type
;
73
QString
typeStr
;
74
ExtensionWindow
*
dad
;
75
QString
workingDirectory
;
76
QList<ParameterWidget *>
parameters
;
77
QList<RemovableLineEdit *>
tags
;
78
79
QString
className
;
80
81
82
83
};
84
#endif
Generated on Sat Feb 16 2013 16:59:43 for Computer Assited Medical Intervention Tool Kit by
1.8.1.2