00001 /*************************************************************************** 00002 * * 00003 * DrawPad - a drawing program for Opie Environment * 00004 * * 00005 * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * 00006 * * 00007 * This program is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU General Public License as published by * 00009 * the Free Software Foundation; either version 2 of the License, or * 00010 * (at your option) any later version. * 00011 * * 00012 ***************************************************************************/ 00013 00014 #ifndef IMPORTDIALOG_H 00015 #define IMPORTDIALOG_H 00016 00017 #include <opie2/ofileselector.h> 00018 00019 #include <qdialog.h> 00020 00021 class DocLnk; 00022 00023 class QCheckBox; 00024 class QLabel; 00025 00026 class ImportDialog : public QDialog 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 ImportDialog(QWidget* parent = 0, const char* name = 0); 00032 ~ImportDialog(); 00033 00034 const DocLnk* selected(); 00035 00036 private slots: 00037 void fileChanged(); 00038 void preview(); 00039 00040 private: 00041 Opie::Ui::OFileSelector* m_pFileSelector; 00042 QLabel* m_pPreviewLabel; 00043 QCheckBox* m_pAutomaticPreviewCheckBox; 00044 }; 00045 00046 #endif // IMPORTDIALOG_H
1.4.2