❩
❩
❩
CamiTK
About
Community
Support
News & Releases
Download
Documentation
API doc
Computer Assisted Medical Intervention Tool Kit
version 5.2
ActionClassificationWidget.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2024 Univ. Grenoble Alpes, CNRS, Grenoble INP - UGA, TIMC, 38000 Grenoble, France
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 ACTIONCLASSIFICATIONWIDGET_H
26
#define ACTIONCLASSIFICATIONWIDGET_H
27
28
// Include GUI automatically generated file
29
#include "ui_ActionClassificationWidget.h"
30
31
// includes from Qt
32
#include <QWidget>
33
34
class
ActionTagWidget
;
35
43
class
ActionClassificationWidget
:
public
QWidget {
44
45
Q_OBJECT;
46
47
public
:
49
ActionClassificationWidget
(QWidget* parent);
50
52
~ActionClassificationWidget
()
override
=
default
;
53
54
void
setToDefault
();
55
56
QString
getFamily
();
57
58
void
removeTag
(
ActionTagWidget
* widget);
59
QList<ActionTagWidget*>
getTagWidgets
();
60
61
62
public
slots:
63
virtual
void
nextButtonClicked
();
64
virtual
void
previousButtonClicked
();
65
virtual
void
cancelButtonClicked
();
66
virtual
void
addTagClicked
();
67
68
signals:
69
void
next
();
70
void
previous
();
71
void
cancel
();
72
73
private
:
74
75
bool
isOneNonAsciiTag();
76
77
Ui::ActionClassificationWidget ui;
78
QList<ActionTagWidget*>
list;
79
};
80
#endif
ActionClassificationWidget
Widget to class the action and to attribute a tag to it.
Definition:
ActionClassificationWidget.h:43
ActionClassificationWidget::removeTag
void removeTag(ActionTagWidget *widget)
Definition:
ActionClassificationWidget.cpp:122
ActionClassificationWidget::getFamily
QString getFamily()
Definition:
ActionClassificationWidget.cpp:118
ActionClassificationWidget::cancelButtonClicked
virtual void cancelButtonClicked()
Definition:
ActionClassificationWidget.cpp:94
ActionClassificationWidget::setToDefault
void setToDefault()
Definition:
ActionClassificationWidget.cpp:40
ActionClassificationWidget::~ActionClassificationWidget
~ActionClassificationWidget() override=default
Destructor.
ActionClassificationWidget::nextButtonClicked
virtual void nextButtonClicked()
Definition:
ActionClassificationWidget.cpp:55
ActionClassificationWidget::getTagWidgets
QList< ActionTagWidget * > getTagWidgets()
Definition:
ActionClassificationWidget.cpp:130
ActionClassificationWidget::previousButtonClicked
virtual void previousButtonClicked()
Definition:
ActionClassificationWidget.cpp:89
ActionClassificationWidget::previous
void previous()
ActionClassificationWidget::ActionClassificationWidget
ActionClassificationWidget(QWidget *parent)
Constructor.
Definition:
ActionClassificationWidget.cpp:35
ActionClassificationWidget::next
void next()
ActionClassificationWidget::addTagClicked
virtual void addTagClicked()
Definition:
ActionClassificationWidget.cpp:112
ActionClassificationWidget::cancel
void cancel()
ActionTagWidget
Widget to define tag to an action.
Definition:
ActionTagWidget.h:45
QList< ActionTagWidget * >
prog
release-5.2
createRelease
CamiTK
sdk
applications
wizard
ActionClassificationWidget.h
Generated by
1.9.1