❩
❩
❩
CamiTK
About
Community
Support
News & Releases
Download
Documentation
API doc
Computer Assisted Medical Intervention Tool Kit
version 5.2
ViewerDescriptionWidget.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 VIEWERDESCRIPTIONWIDGET_H
26
#define VIEWERDESCRIPTIONWIDGET_H
27
28
// Include GUI automatically generated file
29
#include "ui_ViewerDescriptionWidget.h"
30
31
// includes from Qt
32
#include <QWidget>
33
34
#include <ViewerType.hxx>
35
43
class
ViewerDescriptionWidget
:
public
QWidget {
44
45
Q_OBJECT;
46
47
public
:
49
ViewerDescriptionWidget
(QWidget* parent);
50
52
~ViewerDescriptionWidget
()
override
=
default
;
53
54
void
setToDefault
(QString viewerExtensionName);
55
56
void
setName
(QString name);
57
void
setDescription
(QString
description
);
58
59
QString
getViewerName
();
60
QString
getViewerDescription
();
61
cepcoreschema::ViewerType
getType
();
62
63
public
slots:
64
virtual
void
nextButtonClicked
();
65
virtual
void
cancelButtonClicked
();
66
67
signals:
68
void
next
();
69
void
cancel
();
70
71
private
:
72
Ui::ViewerDescriptionWidget ui;
73
74
QString viewerExtensionName;
75
};
76
#endif
description
const char * description
Definition:
applications/cepgenerator/main.cpp:38
ViewerDescriptionWidget
Widget to describe action.
Definition:
ViewerDescriptionWidget.h:43
ViewerDescriptionWidget::getType
cepcoreschema::ViewerType getType()
Definition:
ViewerDescriptionWidget.cpp:106
ViewerDescriptionWidget::setName
void setName(QString name)
Definition:
ViewerDescriptionWidget.cpp:126
ViewerDescriptionWidget::next
void next()
ViewerDescriptionWidget::setDescription
void setDescription(QString description)
Definition:
ViewerDescriptionWidget.cpp:130
ViewerDescriptionWidget::~ViewerDescriptionWidget
~ViewerDescriptionWidget() override=default
Destructor.
ViewerDescriptionWidget::cancelButtonClicked
virtual void cancelButtonClicked()
Definition:
ViewerDescriptionWidget.cpp:93
ViewerDescriptionWidget::setToDefault
void setToDefault(QString viewerExtensionName)
Definition:
ViewerDescriptionWidget.cpp:115
ViewerDescriptionWidget::getViewerDescription
QString getViewerDescription()
Definition:
ViewerDescriptionWidget.cpp:102
ViewerDescriptionWidget::nextButtonClicked
virtual void nextButtonClicked()
Definition:
ViewerDescriptionWidget.cpp:41
ViewerDescriptionWidget::ViewerDescriptionWidget
ViewerDescriptionWidget(QWidget *parent)
Constructor *.
Definition:
ViewerDescriptionWidget.cpp:36
ViewerDescriptionWidget::getViewerName
QString getViewerName()
Definition:
ViewerDescriptionWidget.cpp:98
ViewerDescriptionWidget::cancel
void cancel()
prog
release-5.2
createRelease
CamiTK
sdk
applications
wizard
ViewerDescriptionWidget.h
Generated by
1.9.1