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         ListDialog *ld;         // used for updating list view
00039         QTable *table;
00040         Graph2D *graph2d;
00041         Graph3D *graph3d;
00042         GraphM *graphm;
00043         Graph4D *graph4d;
00044         KLineEdit *evalle;
00045         KComboBox *editorcb;
00046         QString filename;               // temp file for external editor
00047         int number, numberx, numbery;
00048 };
00049 
00050 #endif //EDITDIALOG_H

Generated on Sun Aug 29 14:56:04 2004 for LabPlot by doxygen 1.3.6