00001 //LabPlot : ListDialog.h 00002 00003 #ifndef LISTDIALOG_H 00004 #define LISTDIALOG_H 00005 00006 #include <qtextstream.h> 00007 #include "GraphListView.h" 00008 #include "Dialog.h" 00009 00011 class ListDialog : public Dialog 00012 { 00013 Q_OBJECT 00014 public: 00015 ListDialog(Worksheet *p, const char *name); 00016 void updateList(); 00017 public slots: 00018 void Menu(QListViewItem *item, const QPoint& pos , int) {menu->popup(pos); } 00019 void updateRange(); 00020 void toggleShown(); 00021 void deleteGraph(); 00022 void changeGraph(); 00023 void dumpGraph(); 00024 void editGraph(); 00025 void statGraph(); 00026 protected: 00027 Worksheet *p; 00028 class GraphListView *lv; 00029 QPopupMenu *menu; 00030 int type; 00031 KLineEdit *ale, *ble; 00032 }; 00033 00034 #endif // LISTDIALOG_H