00001 //LabPlot : AddGraphDialog.h 00002 00003 #ifndef ADDGRAPHDIALOG_H 00004 #define ADDGRAPHDIALOG_H 00005 00006 #include "Worksheet.h" 00007 #include "Dialog.h" 00008 #include "ListDialog.h" 00009 00010 class AddGraphDialog: public Dialog 00011 { 00012 Q_OBJECT 00013 public: 00014 AddGraphDialog(MainWin *mw, ListDialog *ld, GraphList *gl, const char *name); 00015 public slots: 00016 void ok_clicked() { apply_clicked(); accept(); } 00017 void apply_clicked(); 00018 private: 00019 ListDialog *ld; // needed for update 00020 GraphList *gl, *newgl; 00021 KListView *wslv, *sslv; 00022 Spreadsheet **ss; 00023 int *scol; 00024 }; 00025 00026 #endif //ADDGRAPHDIALOG_H