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

EditDialog.h

Go to the documentation of this file.
00001 //LabPlot : EditDialog.h
00002 
00003 #ifndef EDITDIALOG_H
00004 #define EDITDIALOG_H
00005 
00006 #include <qfont.h>
00007 #include <qcheckbox.h>
00008 #include <qtable.h>
00009 #include <kprocess.h>
00010 #include <ktempfile.h>
00011 #include "Worksheet.h"
00012 #include "Dialog.h"
00013 #include "Graph.h"
00014 #include "ListDialog.h"
00015 
00016 class EditDialog: public Dialog
00017 {
00018         Q_OBJECT
00019 public:
00020         EditDialog(Worksheet *p, const char *name, int item,ListDialog *ld=0);
00021 public slots:
00022         void select() {
00023 #if QT_VERSION >0x030005
00024         table->selectCells(0,0,table->numRows(),table->numCols());
00025 #endif
00026         }
00027         void deselect() { table->clearSelection(); }
00028         void deleteSelection();
00029         void evaluateExpression();
00030         void sortascColumn();
00031         void sortdescColumn();
00032         void ok_clicked() { apply_clicked(); accept(); }
00033         void apply_clicked();
00034 private slots:
00035         void edit_editor(int editor);
00036         void readfile(KProcess*);
00037 private:
00038         void qsort(int s, int e);
00039         void sort();
00040         MainWin *mw;
00041         QTable *table;
00042         ListDialog *ld;         // used for updating list view
00043         Graph2D *graph2d;
00044         Graph3D *graph3d;
00045         GraphM *graphm;
00046         Graph4D *graph4d;
00047         KLineEdit *evalle;
00048         KComboBox *editorcb;
00049         QString filename;               // temp file for external editor
00050         int number, numberx, numbery;
00051         bool ascending;
00052 };
00053 
00054 #endif //EDITDIALOG_H

Generated on Sun Nov 28 22:31:16 2004 for LabPlot by doxygen 1.3.6