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(MainWin *mw, 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 openSpreadsheet(); 00026 void statGraph(); 00027 void toggleMask(); 00028 void unMask(); 00029 void Clone(); 00030 protected: 00031 class GraphListView *lv; 00032 QPopupMenu *menu; 00033 PType type; 00034 KLineEdit *ale, *ble; 00035 }; 00036 00037 #endif // LISTDIALOG_H