Computer Assited Medical Intervention Tool Kit  version 5.0
CepDescriptionWidget.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, 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 CEPDESCRIPTIONWIDGET_H
26 #define CEPDESCRIPTIONWIDGET_H
27 
28 // Include GUI automatically generated file
29 #include "ui_CepDescriptionWidget.h"
30 
31 // includes from Qt
32 #include <QWidget>
33 
41 class CepDescriptionWidget : public QWidget {
42 
43  Q_OBJECT;
44 
45 public:
47  CepDescriptionWidget(QWidget* parent);
48 
50  ~CepDescriptionWidget() override = default;
51 
52  QString getCepName();
53  QString getCepDescription();
54 
55 public slots:
56  virtual void nextButtonClicked();
57  virtual void previousButtonClicked();
58 
59 signals:
60  void next();
61  void previous();
62 
63 private:
64 
65  Ui::CepDescriptionWidget ui;
66 };
67 #endif
defaultBeforeGoingFurther
static const QString defaultBeforeGoingFurther
Definition: DefaultGUIText.h:31
CepDescriptionWidget::CepDescriptionWidget
CepDescriptionWidget(QWidget *parent)
Constructor.
Definition: CepDescriptionWidget.cpp:34
defaultAscii
static const QString defaultAscii
Definition: DefaultGUIText.h:38
CepDescriptionWidget::~CepDescriptionWidget
~CepDescriptionWidget() override=default
Destructor.
defaultCepDescription
static const QString defaultCepDescription
Definition: DefaultGUIText.h:43
CepDescriptionWidget::previous
void previous()
CepDescriptionWidget::ui
Ui::CepDescriptionWidget ui
Definition: CepDescriptionWidget.h:88
defaultCepName
static const QString defaultCepName
Definition: DefaultGUIText.h:42
normalStyle
static const QString normalStyle
Definition: DefaultGUIText.h:34
defaultRealCepDescription
static const QString defaultRealCepDescription
Definition: DefaultGUIText.h:51
CepDescriptionWidget::nextButtonClicked
virtual void nextButtonClicked()
Definition: CepDescriptionWidget.cpp:40
DefaultGUIText.h
CepDescriptionWidget
Widget to describe the CEP.
Definition: CepDescriptionWidget.h:41
CepDescriptionWidget::previousButtonClicked
virtual void previousButtonClicked()
Definition: CepDescriptionWidget.cpp:89
enhancedStyle
static const QString enhancedStyle
Definition: DefaultGUIText.h:35
CepDescriptionWidget::getCepName
QString getCepName()
Definition: CepDescriptionWidget.cpp:97
defaultRealCepName
static const QString defaultRealCepName
Definition: DefaultGUIText.h:50
CepDescriptionWidget::getCepDescription
QString getCepDescription()
Definition: CepDescriptionWidget.cpp:102
CepDescriptionWidget.h
CepDescriptionWidget::next
void next()