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         FilterKexiDB *kexi;                                     //KexiDB
00020         KComboBox *driver, *databases, *tables;
00021         QLabel *connectionlabel, *tablelabel;
00022         KLineEdit *host, *user, *password;
00023         QCheckBox *newspread;                           // whether to create a new spreadsheet; otherwise active used
00024 private slots : 
00025         int apply_clicked();
00026         void saveSettings();
00027         void wizardKexiDB(const QString &name);
00028         void finishKexiDB();
00029 };
00030 #endif //IMPORTDIALOG_H

Generated on Sun Apr 2 02:05:09 2006 for LabPlot by  doxygen 1.4.4