00001
00002
00003 #ifndef PLOTSETTINGSDIALOG_H
00004 #define PLOTSETTINGSDIALOG_H
00005
00006 #include <qtoolbutton.h>
00007 #include <qcolor.h>
00008 #include <qcheckbox.h>
00009 #include "Worksheet.h"
00010 #include "Dialog.h"
00011
00012 #ifdef HAVE_GL
00013 #include "qwt3d_surfaceplot.h"
00014 #endif
00015
00016 class PlotSettingsDialog: public Dialog
00017 {
00018 Q_OBJECT
00019 public:
00020 PlotSettingsDialog(MainWin *mw, const char *name);
00021 public slots:
00022 void selectColormap();
00023 void adaptDataColors(const QString&);
00024 void ok_clicked() {apply_clicked(); accept(); }
00025 void apply_clicked();
00026 void autoscalex();
00027 void autoscaley();
00028 void autoscalez();
00029 private:
00030 bool openColorMap(QString fn);
00031 Plot *plot;
00032 int type;
00033 KLineEdit *posx, *posy, *sizex, *sizey;
00034 KLineEdit *borderwidth, *baselinele, *xbaselinele;
00035 KColorButton *bgcolor, *gbgcolor;
00036 KLineEdit *xmin, *xmax, *ymin, *ymax, *zmin, *zmax, *cliple;
00037 QCheckBox *baselinecb, *xbaselinecb, *regioncb, *transparentcb;
00038 KLineEdit *regionminle, *regionmaxle;
00039 QCheckBox *markercb;
00040 KLineEdit *markminxle, *markmaxxle, *markminyle, *markmaxyle;
00041 KComboBox *aspectcb;
00042 KComboBox *plotstyle, *coordinatestyle, *floorstyle;
00043 KLineEdit *isolines, *resolutionle;
00044 QCheckBox *disablemousecb;
00045 #ifdef HAVE_GL
00046 Qwt3D::ColorVector cv;
00047 #endif
00048 };
00049
00050 #endif //PLOTSETTINGSDIALOG_H