QtiPlot
0.9.8.2
Main Page
Related Pages
Classes
Files
File List
File Members
qtiplot
src
plot2D
dialogs
ErrDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : ErrDialog.h
3
Project : QtiPlot
4
--------------------------------------------------------------------
5
Copyright : (C) 2006 - 2011 by Ion Vasilief
6
Email (use @ for *) : ion_vasilief*yahoo.fr
7
Description : Add error bars 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 ERRDIALOG_H
30
#define ERRDIALOG_H
31
32
#include <QDialog>
33
#include <QList>
34
class
QLabel;
35
class
QComboBox;
36
class
QRadioButton;
37
class
DoubleSpinBox
;
38
class
QPushButton;
39
class
QGroupBox;
40
class
QButtonGroup;
41
class
MdiSubWindow
;
42
44
class
ErrDialog
:
public
QDialog
45
{
46
Q_OBJECT
47
48
public
:
50
54
ErrDialog
( QWidget* parent = 0, Qt::WFlags fl = 0 );
55
56
private
:
57
QLabel*
textLabel1
;
58
QComboBox*
nameLabel
, *
tableNamesBox
, *
colNamesBox
;
59
QGroupBox *
groupBox2
;
60
QGroupBox *
groupBox1
, *
groupBox3
;
61
QButtonGroup *
buttonGroup1
, *
buttonGroup2
;
62
QRadioButton*
standardBox
, *
columnBox
;
63
QRadioButton*
percentBox
;
64
DoubleSpinBox
*
valueBox
;
65
QRadioButton*
xErrBox
;
66
QRadioButton*
yErrBox
;
67
QPushButton*
buttonAdd
;
68
QPushButton*
buttonCancel
;
69
QList<MdiSubWindow*>
srcTables
;
70
71
protected
slots:
73
virtual
void
languageChange
();
74
75
public
slots:
77
void
add
();
79
void
setCurveNames
(
const
QStringList& names);
81
void
setSrcTables
(QList<MdiSubWindow *> tables);
83
void
selectSrcTable
(
int
tabnr);
84
};
85
86
#endif // ERRDIALOG_H
Generated on Fri Mar 14 2014 22:59:34 for QtiPlot by
1.8.1.2