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 class PlotSettingsDialog: public Dialog
00013 {
00014 Q_OBJECT
00015 public:
00016 PlotSettingsDialog(Worksheet *p, const char *name);
00017 public slots:
00018 void ok_clicked() {apply_clicked(); accept(); }
00019 void apply_clicked();
00020 void autoscalex();
00021 void autoscaley();
00022 void autoscalez();
00023 private:
00024 Plot *plot;
00025 int type;
00026 KLineEdit *posx, *posy, *sizex, *sizey;
00027 KLineEdit *borderwidth, *baselinele;
00028 KColorButton *bgcolor, *gbgcolor;
00029 KLineEdit *xmin, *xmax, *ymin, *ymax, *zmin, *zmax, *cliple;
00030 QCheckBox *baselinecb, *regioncb, *transparentcb;
00031 KLineEdit *regionminle, *regionmaxle;
00032 };
00033
00034 #endif //PLOTSETTINGSDIALOG_H