QtiPlot
0.9.8.2
Main Page
Related Pages
Classes
Files
File List
File Members
qtiplot
src
core
PlotWizard.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : PlotWizard.h
3
Project : QtiPlot
4
--------------------------------------------------------------------
5
Copyright : (C) 2004 - 2010 by Ion Vasilief
6
Email (use @ for *) : ion_vasilief*yahoo.fr
7
Description : A wizard type dialog to create new plots
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
30
31
#ifndef PLOTWIZARD_H
32
#define PLOTWIZARD_H
33
34
#include <QDialog>
35
class
QGroupBox;
36
class
QPushButton;
37
class
QListWidget;
38
class
QComboBox;
39
41
class
PlotWizard
:
public
QDialog
42
{
43
Q_OBJECT
44
45
public
:
47
51
PlotWizard
( QWidget* parent = 0, Qt::WFlags fl = 0 );
52
53
private
:
55
QPushButton*
buttonOk
,
57
*
buttonXErr
,
59
*
buttonYErr
,
61
*
buttonDelete
;
63
QPushButton*
buttonCancel
,
65
*
buttonX
,
67
*
buttonY
,
69
*
buttonNew
,
71
*
buttonZ
;
73
QGroupBox*
groupBox1
,
75
*
groupBox2
,
77
*
groupBox3
;
79
QComboBox*
boxTables
;
81
QListWidget *
columnsList
,
83
*
plotAssociations
;
84
86
QStringList
columns
;
87
88
public
slots:
90
void
changeColumnsList
(
const
QString &table);
92
void
insertTablesList
(
const
QStringList& tables);
94
void
setColumnsListBoxContents
(
const
QStringList& cols);
96
void
setColumnsList
(
const
QStringList& cols);
98
void
addCurve
();
100
void
removeCurve
();
102
void
addXCol
();
104
void
addYCol
();
106
void
addXErrCol
();
108
void
addYErrCol
();
110
void
accept
();
112
void
addZCol
();
113
114
private
:
115
void
plot2D
(
const
QStringList&);
116
void
plot3D
(
const
QStringList&);
117
void
plot3DRibbon
(
const
QStringList&);
119
bool
noCurves
();
120
QSize
sizeHint
()
const
;
121
};
122
123
#endif // PLOTWIZARD_H
Generated on Tue Dec 10 2013 17:29:14 for QtiPlot by
1.8.4