18 #ifndef DIAGRAMDIALOG_H
19 #define DIAGRAMDIALOG_H
25 #define M_PI 3.1415926535897932384626433832795029
41 class QDoubleValidator;
43 class QRegExpValidator;
51 Graph *currentGraph=0);
58 void slotReadVars(
int);
59 void slotTakeVar(QListViewItem*);
61 void slotSelectGraph(QListBoxItem*);
63 void slotDeleteGraph();
68 void slotSetGridColor();
69 void slotResetToTake(
const QString&);
70 void slotSetProp2(
const QString&);
71 void slotSetNumMode(
int);
72 void slotSetGridBox(
int);
73 void slotSetGraphStyle(
int);
74 void slotSetYAxis(
int);
75 void slotManualX(
int);
76 void slotManualY(
int);
77 void slotManualZ(
int);
78 void slotChangeTab(QWidget*);
80 void slotNewRotX(
int);
81 void slotNewRotY(
int);
82 void slotNewRotZ(
int);
83 void slotEditRotX(
const QString&);
84 void slotEditRotY(
const QString&);
85 void slotEditRotZ(
const QString&);
91 void SelectGraph(
Graph*);
94 QString defaultDataSet;
97 QDoubleValidator *ValDouble;
98 QIntValidator *ValInteger;
99 QRegExpValidator *Validator;
101 QComboBox *ChooseData;
102 QListView *ChooseVars;
106 QLineEdit *GraphInput, *Property2, *xLabel, *ylLabel, *yrLabel;
107 QCheckBox *GridOn, *GridLogX, *GridLogY, *GridLogZ;
108 QCheckBox *manualX, *manualY, *manualZ, *hideInvisible;
109 QLineEdit *startX, *stepX, *stopX;
110 QLineEdit *startY, *stepY, *stopY;
111 QLineEdit *startZ, *stepZ, *stopZ;
112 QLineEdit *rotationX, *rotationY, *rotationZ;
113 QLabel *GridLabel1, *GridLabel2, *Label1, *Label2, *Label3, *Label4;
114 QComboBox *PropertyBox, *GridStyleBox, *yAxisBox;
115 QPushButton *ColorButt, *GridColorButt;
116 QSlider *SliderRotX, *SliderRotY, *SliderRotZ;
118 bool changed, transfer, toTake;
119 QPtrList<Graph> Graphs;