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(MainWin *mw, const char *name,class ListDialog *l,int item,PType newtype);
00018 public slots:
00019 void applyStyle();
00020 void setLabel(){ labelle->setText(filele->text()); }
00021 private slots :
00022 void checkData();
00023 void updateRead();
00024 int addData();
00025 int agree();
00026 void ok_clicked() { if (!agree()) accept(); }
00027 private:
00028 double getValue(FilterAUDIOFILE auf,int var, int i,double *data, int startRow);
00029 PType type;
00030 QLabel *readx, *ready, *readz, *readt;
00031 KLineEdit *readxle, *readyle, *readzle, *readtle;
00032 KLineEdit *labelle;
00033 KComboBox *interpretxcb, *interpretycb, *interpretzcb, *interprettcb;
00034 KComboBox *cbi;
00035 QCheckBox *reread;
00036 ListDialog *l;
00037 int item;
00038 Graph *graph;
00039 };
00040 #endif //DATADIALOG_H