Computer Assited Medical Intervention Tool Kit  version 4.0
LoadsValueEvent.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2016 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 
26 #ifndef LOADSVALUEEVENT_H
27 #define LOADSVALUEEVENT_H
28 
29 #include "ui_LoadsValueEvent.h"
30 
35 class LoadsValueEvent : public QDialog {
36  Q_OBJECT
37 
38 public:
40  LoadsValueEvent(QWidget* parent = 0, double date = 0.0, double value =0.0);
41 
44 
46  double getDate();
47 
49  double getValue();
50 
51 private:
53  Ui::LoadsValueEvent ui;
54 } ;
55 
56 #endif // LOADSVALUEEVENT_H
57 
58 
LoadsValueEvent(QWidget *parent=0, double date=0.0, double value=0.0)
Default Constructor.
Definition: LoadsValueEvent.cpp:29
Ui::LoadsValueEvent ui
the ui created in qdesigner
Definition: LoadsValueEvent.h:53
double getDate()
get the current date
Definition: LoadsValueEvent.cpp:43
~LoadsValueEvent()
Destructor.
Definition: LoadsValueEvent.cpp:38
double getValue()
get the current value
Definition: LoadsValueEvent.cpp:48
This dialog ...
Definition: LoadsValueEvent.h:35