00001 //LabPlot : GRASSDialog.h 00002 00003 #ifndef GRASSDIALOG_H 00004 #define GRASSDIALOG_H 00005 00006 #include <qtoolbutton.h> 00007 #include <qcheckbox.h> 00008 #include <qcolor.h> 00009 #include "Dialog.h" 00010 #include "Worksheet.h" 00011 00012 class GRASSDialog: public Dialog 00013 { 00014 Q_OBJECT 00015 public: 00016 GRASSDialog(Worksheet *p, const char *name,int item); 00017 private slots : 00018 int agree(); 00019 void ok_clicked() { if (!agree()) accept(); } 00020 private: 00021 int type; 00022 Plot *plot; 00023 Graph *graph; 00024 KLineEdit *GISBASEle, *GISRCle, *LOCle, *layerle; 00025 KComboBox *typecb, *drawmodecb; 00026 KColorButton *color, *fillcolor; 00027 }; 00028 #endif //GRASSDIALOG_H