/**************************************************************************** Hyper's CD Catalog A multiplatform qt and xml based catalog program Author : Christoph Thielecke (crissi99@gmx.de) License : GPL Copyright : (C) 2003 Christoph Thielecke ****************************************************************************/ #ifndef IMPORTDIALOG_H #define IMPORTDIALOG_H #include #include #include #include #include #include #include #include #include #include class QLabel; class QLineEdit; class QPushButton; class ImportDialog : public QDialog { Q_OBJECT public: ImportDialog( QWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 ); ~ImportDialog(); QLabel* filename_lab; QLabel* separator_lab; QLabel* info_lab; QPushButton* buttonCancel; QPushButton* buttonOK; QPushButton* buttonGetFile; QLineEdit* filename_lineedit; QLineEdit* separator_lineedit; QCheckBox *newdatabase; QCheckBox *correctbadstyle; QRadioButton *importTypeCsv; QRadioButton *importTypeGtktalogXml; QRadioButton *importTypeWhereisitXml; QButtonGroup *importButtonBox; protected: QGridLayout* layout4; QGridLayout* ImportDialogLayout; QVBoxLayout* type_layout; QHBoxLayout* csv_layout; protected slots: virtual void languageChange(); int bOk(); int bCan(); void getFileName(); void typeChanged(); private: public: int OK; QString filename, separator; bool createdatabase; int type; }; #endif // IMPORTDIALOG_H