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

exportdialog.h

Go to the documentation of this file.
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 EXPORTDIALOG_H
00015 #define EXPORTDIALOG_H
00016 
00017 #include <qdialog.h>
00018 
00019 #include <qstrlist.h>
00020 
00021 class QComboBox;
00022 class QLineEdit;
00023 class QSpinBox;
00024 
00025 class ExportDialog : public QDialog
00026 { 
00027     Q_OBJECT
00028 
00029 public:
00030     ExportDialog(uint pageAt, uint pageCount, QWidget* parent = 0, const char* name = 0);
00031     ~ExportDialog();
00032 
00033     uint selectedFromPage();
00034     uint selectedToPage();
00035 
00036     QString selectedName();
00037     QString selectedFormat();
00038 
00039 public slots:
00040     void accept();
00041 
00042 private slots:
00043     void selectionChanged(int id);
00044     void fromPageChanged(int value);
00045     void toPageChanged(int value);
00046 
00047 private:
00048     uint m_pageAt;
00049     uint m_pageCount;
00050 
00051     QSpinBox* m_pFromPageSpinBox;
00052     QSpinBox* m_pToPageSpinBox;
00053 
00054     QLineEdit* m_pNameLineEdit;
00055     QComboBox* m_pFormatComboBox;
00056 };
00057 
00058 #endif // EXPORTDIALOG_H

Generated on Sat Nov 5 16:17:29 2005 for OPIE by  doxygen 1.4.2