QtiPlot
0.9.8.2
Main Page
Related Pages
Classes
Files
File List
File Members
qtiplot
src
analysis
dialogs
IntegrationDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : IntegrationDialog.h
3
Project : QtiPlot
4
--------------------------------------------------------------------
5
Copyright : (C) 2011 by Ion Vasilief
6
Email (use @ for *) : ion_vasilief*yahoo.fr
7
Description : Integration options 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 INTEGRATIONDIALOG_H
30
#define INTEGRATIONDIALOG_H
31
32
#include <QDialog>
33
34
class
QPushButton;
35
class
QComboBox;
36
class
QCheckBox;
37
class
QSpinBox;
38
class
Graph
;
39
class
Table
;
40
class
DoubleSpinBox
;
41
43
class
IntegrationDialog
:
public
QDialog
44
{
45
Q_OBJECT
46
47
public
:
48
IntegrationDialog
(
Graph
*g, QWidget* parent = 0, Qt::WFlags fl = 0 );
49
IntegrationDialog
(
Table
*t, QWidget* parent = 0, Qt::WFlags fl = 0 );
50
51
public
slots:
52
void
activateCurve
(
const
QString&);
53
void
integrate
();
54
void
changeDataRange
();
55
56
private
:
57
void
closeEvent
(QCloseEvent * e );
58
59
void
setGraph
(
Graph
*g);
60
void
setTable
(
Table
*t);
61
void
integrateCurve
();
62
void
integrateTable
();
63
64
Graph
*
d_graph
;
65
Table
*
d_table
;
66
QPushButton*
buttonFit
;
67
QPushButton*
buttonCancel
;
68
QComboBox*
boxName
;
69
QCheckBox *
boxSortData
;
70
QCheckBox *
boxShowPlot
;
71
QCheckBox *
boxShowTable
;
72
QSpinBox *
boxStartRow
;
73
QSpinBox *
boxEndRow
;
74
DoubleSpinBox
*
boxStart
;
75
DoubleSpinBox
*
boxEnd
;
76
};
77
78
#endif
Generated on Sat Jun 8 2013 16:32:22 for QtiPlot by
1.8.1.2