QtiPlot
0.9.8.2
Main Page
Related Pages
Classes
Files
File List
File Members
qtiplot
src
plot3D
SurfaceDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : SurfaceDialog.h
3
Project : QtiPlot
4
--------------------------------------------------------------------
5
Copyright : (C) 2006 by Ion Vasilief
6
Email (use @ for *) : ion_vasilief*yahoo.fr
7
Description : Define surface plot 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 SURFACEDIALOG_H
30
#define SURFACEDIALOG_H
31
32
#include <QDialog>
33
34
class
QPushButton;
35
class
DoubleSpinBox
;
36
class
QCheckBox;
37
class
QComboBox;
38
class
QStackedWidget;
39
class
QSpinBox;
40
class
Graph3D
;
41
class
QLineEdit;
42
class
ScriptEdit
;
43
45
class
SurfaceDialog
:
public
QDialog
46
{
47
Q_OBJECT
48
49
public
:
50
SurfaceDialog
( QWidget* parent = 0, Qt::WFlags fl = 0 );
51
52
public
slots:
53
void
setFunction
(
Graph3D
*);
54
void
setParametricSurface
(
Graph3D
*);
55
void
setGraph
(
Graph3D
*g){
d_graph
= g;};
56
57
private
slots:
58
void
clearFunction
();
59
void
accept
();
60
void
showFunctionLog
();
61
void
showXLog
();
62
void
showYLog
();
63
void
showZLog
();
64
65
private
:
66
Graph3D
*
d_graph
;
67
68
void
initFunctionPage
();
69
void
initParametricSurfacePage
();
70
void
acceptParametricSurface
();
71
void
acceptFunction
();
72
73
QWidget*
functionPage
;
74
QWidget*
parametricPage
;
75
QStackedWidget*
optionStack
;
76
QPushButton*
buttonOk
;
77
QPushButton*
buttonCancel
;
78
QPushButton*
buttonClear
;
79
QComboBox*
boxType
;
80
ScriptEdit
*
boxFunction
;
81
DoubleSpinBox
*
boxXFrom
;
82
DoubleSpinBox
*
boxXTo
;
83
DoubleSpinBox
*
boxYFrom
;
84
DoubleSpinBox
*
boxYTo
;
85
DoubleSpinBox
*
boxZFrom
;
86
DoubleSpinBox
*
boxZTo
;
87
88
ScriptEdit
*
boxX
;
89
ScriptEdit
*
boxY
;
90
ScriptEdit
*
boxZ
;
91
92
DoubleSpinBox
*
boxUFrom
;
93
DoubleSpinBox
*
boxUTo
;
94
DoubleSpinBox
*
boxVFrom
;
95
DoubleSpinBox
*
boxVTo
;
96
97
QCheckBox *
boxUPeriodic
, *
boxVPeriodic
;
98
QSpinBox *
boxColumns
, *
boxRows
, *
boxFuncColumns
, *
boxFuncRows
;
99
QPushButton *
buttonRecentFunc
, *
buttonXLog
, *
buttonYLog
, *
buttonZLog
;
100
};
101
102
#endif
Generated on Tue Sep 17 2013 18:53:44 for QtiPlot by
1.8.4