00001
00002
00003 #ifndef DATADIALOG_H
00004 #define DATADIALOG_H
00005
00006 #include <qtoolbutton.h>
00007 #include <qcheckbox.h>
00008 #include "Dialog.h"
00009 #include "GraphListDialog.h"
00010 #include "FilterAUDIOFILE.h"
00011
00013 class DataDialog: public Dialog
00014 {
00015 Q_OBJECT
00016 public:
00017 DataDialog(Worksheet *p, const char *name,class ListDialog *l,int item,PType newtype);
00018 public slots:
00019 void selectFile();
00020 void applyStyle();
00021 void setLabel(){ labelle->setText(filele->text()); }
00022 private slots :
00023 void checkData();
00024 void updateRead();
00025 int addData();
00026 int agree();
00027 void ok_clicked() { if (!agree()) accept(); }
00028 private:
00029 class MainWin *mw;
00030 double getValue(FilterAUDIOFILE auf,int var, int i,double *data, int startRow);
00031 PType type;
00032 QLabel *readx, *ready, *readz, *readt;
00033 KLineEdit *readxle, *readyle, *readzle, *readtle;
00034 KLineEdit *labelle;
00035 KComboBox *interpretxcb, *interpretycb, *interpretzcb, *interprettcb;
00036 KComboBox *cbi;
00037 QCheckBox *reread;
00038 KLineEdit *readsc, *commle, *startrow, *endrow;
00039 ListDialog *l;
00040 int item;
00041 Graph *graph;
00042 };
00043 #endif //DATADIALOG_H