Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | 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 public slots:
00029         // needed from Spreadsheet => public
00030         void Menu(QListViewItem *, const QPoint& pos, int) { menu->popup(pos); }
00031         void updateRange(int axis=0);
00032         void toggleShown();
00033         void addGraph();
00034         void deleteGraph();
00035         void changeGraph();
00036         void dumpGraph();
00037         void editGraph();
00038         void exportGraph() { dumpGraph(); }
00039         void openSpreadsheet();
00040         void statGraph();
00041         void setDifferentColor();
00042         void setDifferentSymbol();
00043         void setDifferentWidth();
00044         void setDifferentStyle();
00045         void setBlackWhite();
00046         void mask(int how, int n);
00047         void toggleMask();
00048         void unMask();
00049         void nthMask();
00050         void firstMask();
00051         void Clone();
00052 
00053         void selectItem(int i);                                 
00054         int Apply() { return apply_clicked(); }
00055 protected:
00056         class GraphListView *lv;
00057         QPopupMenu *menu;
00058         PType type;
00059         KLineEdit *ale, *ble;
00060         QLabel *sheetlabel;
00061 protected slots:
00062         void ok_clicked() { if ( apply_clicked() == 0) accept(); }
00063         virtual int apply_clicked() = 0;
00064 };
00065 
00066 #endif // LISTDIALOG_H

Generated on Sun Apr 2 02:05:09 2006 for LabPlot by  doxygen 1.4.4