Computer Assited Medical Intervention Tool Kit
version 4.1
Datas
CamiTK
src
sdk
applications
wizard
DependenciesWidget.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 DENCIESWIDGET_H
26
#define DENCIESWIDGET_H
27
28
// Include GUI automatically generated file
29
#include "ui_DependenciesWidget.h"
30
31
// includes from Qt
32
#include <QWidget>
33
#include <QStringList>
34
#include <QCheckBox>
35
43
class
DependenciesWidget
:
public
QWidget {
44
45
Q_OBJECT;
46
47
public
:
49
DependenciesWidget
(QWidget* parent);
51
~DependenciesWidget
()
override
=
default
;
52
53
void
setToDefault
();
54
55
void
setElement
(QString element);
56
void
updateCEPLibraries
(QStringList cepLibraries);
57
void
updateCEPComponents
(QMap<QString, bool> cepComponents);
58
void
updateCEPActions
(QStringList cepActions);
59
60
void
setItkDependency
(
bool
checked);
61
62
QStringList
getCEPLibrariesDependencies
();
63
QStringList
getCEPComponentsDependencies
();
64
QStringList
getCEPActionsDependencies
();
65
66
QStringList
getCamiTKLibrariesDependencies
();
67
QStringList
getCamiTKComponentsDependencies
();
68
QStringList
getCamiTKActionsDependencies
();
69
70
QStringList
getExternalLibsDependencies
();
71
72
73
public
slots:
74
virtual
void
nextButtonClicked
();
75
virtual
void
cancelButtonClicked
();
76
virtual
void
previousButtonClicked
();
77
78
signals:
79
void
next
();
80
void
previous
();
81
void
cancel
();
82
83
private
:
84
Ui::DependenciesWidget
ui
;
85
86
QVector<QCheckBox*>
cepLibrariesCheckBox
;
87
QVector<QCheckBox*>
cepComponentsCheckBox
;
88
QVector<QCheckBox*>
cepActionsCheckBox
;
89
90
};
91
#endif
DependenciesWidget
Widget to define dependencies.
Definition:
DependenciesWidget.h:43
DependenciesWidget::updateCEPComponents
void updateCEPComponents(QMap< QString, bool > cepComponents)
Definition:
DependenciesWidget.cpp:149
DependenciesWidget::previousButtonClicked
virtual void previousButtonClicked()
Definition:
DependenciesWidget.cpp:76
DependenciesWidget::cancel
void cancel()
DependenciesWidget::getCEPActionsDependencies
QStringList getCEPActionsDependencies()
Definition:
DependenciesWidget.cpp:241
DependenciesWidget::~DependenciesWidget
~DependenciesWidget() override=default
Destructor.
DependenciesWidget::getCamiTKComponentsDependencies
QStringList getCamiTKComponentsDependencies()
Definition:
DependenciesWidget.cpp:260
DependenciesWidget::updateCEPActions
void updateCEPActions(QStringList cepActions)
Definition:
DependenciesWidget.cpp:187
DependenciesWidget::cepComponentsCheckBox
QVector< QCheckBox * > cepComponentsCheckBox
Definition:
DependenciesWidget.h:87
DependenciesWidget::updateCEPLibraries
void updateCEPLibraries(QStringList cepLibraries)
Definition:
DependenciesWidget.cpp:117
DependenciesWidget::cancelButtonClicked
virtual void cancelButtonClicked()
Definition:
DependenciesWidget.cpp:72
DependenciesWidget::getCEPLibrariesDependencies
QStringList getCEPLibrariesDependencies()
Definition:
DependenciesWidget.cpp:219
DependenciesWidget::getCamiTKActionsDependencies
QStringList getCamiTKActionsDependencies()
Definition:
DependenciesWidget.cpp:269
DependenciesWidget::getCamiTKLibrariesDependencies
QStringList getCamiTKLibrariesDependencies()
Definition:
DependenciesWidget.cpp:252
DependenciesWidget::next
void next()
DependenciesWidget::setToDefault
void setToDefault()
Definition:
DependenciesWidget.cpp:35
DependenciesWidget::DependenciesWidget
DependenciesWidget(QWidget *parent)
Constructor.
Definition:
DependenciesWidget.cpp:31
DependenciesWidget::cepActionsCheckBox
QVector< QCheckBox * > cepActionsCheckBox
Definition:
DependenciesWidget.h:88
DependenciesWidget::setElement
void setElement(QString element)
Definition:
DependenciesWidget.cpp:84
DependenciesWidget::ui
Ui::DependenciesWidget ui
Definition:
DependenciesWidget.h:84
DependenciesWidget::getCEPComponentsDependencies
QStringList getCEPComponentsDependencies()
Definition:
DependenciesWidget.cpp:230
DependenciesWidget::setItkDependency
void setItkDependency(bool checked)
Definition:
DependenciesWidget.cpp:80
DependenciesWidget::previous
void previous()
DependenciesWidget::cepLibrariesCheckBox
QVector< QCheckBox * > cepLibrariesCheckBox
Definition:
DependenciesWidget.h:86
DependenciesWidget::nextButtonClicked
virtual void nextButtonClicked()
Definition:
DependenciesWidget.cpp:68
DependenciesWidget::getExternalLibsDependencies
QStringList getExternalLibsDependencies()
Definition:
DependenciesWidget.cpp:278
Generated by
1.8.13