SciDAVis
1.D4
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
scidavis
src
ExpDecayDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : ExpDecayDialog.h
3
Project : SciDAVis
4
--------------------------------------------------------------------
5
Copyright : (C) 2006 by Ion Vasilief, Tilman Benkert
6
Email (use @ for *) : ion_vasilief*yahoo.fr, thzs*gmx.net
7
Description : Fit exponential decay dialog
8
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
* This program is distributed in the hope that it will be useful, *
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
21
* GNU General Public License for more details. *
22
* *
23
* You should have received a copy of the GNU General Public License *
24
* along with this program; if not, write to the Free Software *
25
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
26
* Boston, MA 02110-1301 USA *
27
* *
28
***************************************************************************/
29
#ifndef EXPDECAYDIALOG_H
30
#define EXPDECAYDIALOG_H
31
32
#include <QDialog>
33
34
class
QPushButton;
35
class
QLineEdit;
36
class
QComboBox;
37
class
QLabel;
38
class
Graph
;
39
class
ColorBox
;
40
class
Fit
;
41
43
class
ExpDecayDialog
:
public
QDialog
44
{
45
Q_OBJECT
46
47
public
:
48
ExpDecayDialog
(
int
type, QWidget* parent = 0, Qt::WFlags fl = 0 );
49
~ExpDecayDialog
(){};
50
51
public
slots:
52
void
fit
();
53
void
setGraph
(
Graph
*g);
54
55
private
slots:
56
void
activateCurve
(
const
QString& curveName);
57
void
changeDataRange
();
58
59
signals:
60
void
options
(
const
QString&,
double
,
double
,
double
,
double
,
int
);
61
void
options
(
const
QString&,
double
,
double
,
double
,
int
);
62
void
options3
(
const
QString&,
double
,
double
,
double
,
double
,
double
,
int
);
63
64
private
:
65
void
closeEvent
(QCloseEvent *);
66
67
Fit
*
fitter
;
68
Graph
*
graph
;
69
int
slopes
;
70
71
QPushButton*
buttonFit
;
72
QPushButton*
buttonCancel
;
73
QComboBox*
boxName
;
74
QLineEdit*
boxAmplitude
;
75
QLineEdit*
boxFirst
;
76
QLineEdit*
boxSecond
;
77
QLineEdit*
boxThird
;
78
QLineEdit*
boxStart
;
79
QLineEdit*
boxYOffset
;
80
QLabel*
thirdLabel
, *
dampingLabel
;
81
ColorBox
*
boxColor
;
82
};
83
84
#endif
85
86
Generated by
1.8.1