Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ListDialog.h

Go to the documentation of this file.
00001 //LabPlot : ListDialog.h
00002 
00003 #ifndef LISTDIALOG_H
00004 #define LISTDIALOG_H
00005 
00006 // for all list dialogs
00007 #include <stdio.h>
00008 #include <stdlib.h>
00009 #include <iostream>
00010 #include <qstring.h>
00011 #include <qlabel.h>
00012 #include <math.h>
00013 
00014 #include <qtextstream.h>
00015 #include <klocale.h>
00016 #include <kmessagebox.h>
00017 #include "GraphListView.h"
00018 #include "Dialog.h"
00019 
00021 class ListDialog : public Dialog
00022 {
00023         Q_OBJECT
00024 public:
00025         ListDialog(MainWin *mw, const char *name);
00026         void updateList();
00027         void updateSheetList();
00028         // needed from Spreadsheet => public
00029 public slots:
00030         void Menu(QListViewItem *, const QPoint& pos, int) { menu->popup(pos); }
00031         void updateRange(int axis=0);
00032         void toggleShown();
00033         void deleteGraph();
00034         void changeGraph();
00035         void dumpGraph();
00036         void editGraph();
00037         void exportGraph() { dumpGraph(); }
00038         void openSpreadsheet();
00039         void statGraph();
00040         void setDifferentColor();
00041         void setDifferentSymbol();
00042         void setDifferentWidth();
00043         void setDifferentStyle();
00044         void setBlackWhite();
00045         void mask(int how, int n);
00046         void toggleMask();
00047         void unMask();
00048         void nthMask();
00049         void firstMask();
00050         void Clone();
00051 
00052         void selectItem(int i);                                 
00053         int Apply() { return apply_clicked(); }
00054 protected:
00055         class GraphListView *lv;
00056         QPopupMenu *menu;
00057         PType type;
00058         KLineEdit *ale, *ble;
00059 protected slots:
00060         void ok_clicked() { if ( apply_clicked() == 0) accept(); }
00061         virtual int apply_clicked() = 0;
00062 };
00063 
00064 #endif // LISTDIALOG_H

Generated on Fri Aug 19 21:34:44 2005 for LabPlot by doxygen 1.3.6