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

ImportDialog.h

Go to the documentation of this file.
00001 //LabPlot : ImportDialog.h
00002 
00003 #ifndef IMPORTDIALOG_H
00004 #define IMPORTDIALOG_H
00005 
00006 #include "FilterKexiDB.h"
00007 #include "Dialog.h"
00008 
00010 class ImportDialog: public Dialog
00011 {
00012         Q_OBJECT
00013 public:
00014         ImportDialog(MainWin *mw, QString filename="", InputFilter filter=FUSER, const char *name=0);
00015 public slots :
00016         void setNewSpreadsheet(bool e=true) { newspread->setChecked(e); }
00017         void Apply() { if (!apply_clicked()) accept(); }
00018 private:
00019         int importKEXIDB();
00020         int importHP41XX(QIODevice *file);
00021         int importAUDIOFILE(QString filename, Spreadsheet *ss, int startRow, int endRow);
00022         int importHDF5(QString filename, Spreadsheet *ss, int startRow, int endRow);
00023         int importNETCDF(QString filename, Spreadsheet *ss, int startRow, int endRow);
00024         int importCDF(QString filename, Spreadsheet *ss, int startRow, int endRow);
00025         int importBINARY(QIODevice *file, QTable *table, int startRow, int endRow);
00026         int importASCII(QIODevice *file, QTable *table, int startRow, int endRow, int column, QStringList::iterator it);
00027         FilterKexiDB *kexi;                                     //KexiDB
00028         KComboBox *driver, *databases, *tables;
00029         QLabel *connectionlabel, *tablelabel;
00030         KLineEdit *host, *user, *password;
00031         QCheckBox *newspread, *namespread;                                      // importWidget
00032 private slots : 
00033         int apply_clicked();
00034         void saveSettings();
00035         void wizardKexiDB(const QString &name);
00036         void finishKexiDB();
00037 };
00038 #endif //IMPORTDIALOG_H

Generated on Sat Oct 13 21:55:01 2007 for LabPlot by  doxygen 1.4.4