QtiPlot
0.9.8.2
Main Page
Related Pages
Classes
Files
File List
File Members
qtiplot
src
analysis
dialogs
SubtractDataDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : SubtractDataDialog.h
3
Project : QtiPlot
4
--------------------------------------------------------------------
5
Copyright : (C) 2010 by Ion Vasilief
6
Email (use @ for *) : ion_vasilief*yahoo.fr
7
Description : Subtract reference data 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 SUBTRACT_DATA_DIALOG_H
30
#define SUBTRACT_DATA_DIALOG_H
31
32
#include <QDialog>
33
34
class
QPushButton;
35
class
QRadioButton;
36
class
QComboBox;
37
class
QCheckBox;
38
class
Graph
;
39
class
DoubleSpinBox
;
40
42
class
SubtractDataDialog
:
public
QDialog
43
{
44
Q_OBJECT
45
46
public
:
47
SubtractDataDialog
( QWidget* parent = 0, Qt::WFlags fl = 0 );
48
void
setGraph
(
Graph
*g);
49
50
private
slots:
51
void
interpolate
();
52
void
updateTableColumns
(
int
tabnr);
53
void
setCurrentFolder
(
bool
);
54
55
private
:
56
double
combineValues
(
double
v1,
double
v2);
57
58
Graph
*
graph
;
59
QPushButton*
buttonApply
;
60
QPushButton*
buttonCancel
;
61
QComboBox*
boxInputName
;
62
QComboBox*
boxReferenceName
;
63
QComboBox*
boxColumnName
;
64
QComboBox*
boxOperation
;
65
QRadioButton *
btnDataset
;
66
QRadioButton *
btnValue
;
67
QCheckBox *
boxCurrentFolder
;
68
DoubleSpinBox
*
boxOffset
;
69
};
70
71
#endif
Generated on Tue Sep 17 2013 18:53:37 for QtiPlot by
1.8.4