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

newpagedialog.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 NEWPAGEDIALOG_H
00015 #define NEWPAGEDIALOG_H
00016 
00017 #include <qdialog.h>
00018 
00019 class QButtonGroup;
00020 class QLineEdit;
00021 class QSpinBox;
00022 
00023 class NewPageDialog : public QDialog
00024 { 
00025     Q_OBJECT
00026 
00027 public:
00028     NewPageDialog(uint width, uint height, const QColor& foregroundColor,
00029                   const QColor& backgroundColor, QWidget* parent = 0, const char* name = 0);
00030     ~NewPageDialog();
00031 
00032     QString selectedTitle();
00033     uint selectedWidth();
00034     uint selectedHeight();
00035     const QColor& selectedColor();
00036 
00037 private:
00038     QLineEdit* m_pTitleLineEdit;
00039 
00040     QSpinBox* m_pWidthSpinBox;
00041     QSpinBox* m_pHeightSpinBox;
00042 
00043     QColor m_penColor;
00044     QColor m_brushColor;
00045 
00046     QButtonGroup* m_pContentButtonGroup;
00047 };
00048 
00049 #endif // NEWPAGEDIALOG_H

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