Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

image_storer_dialog.h

00001 /*
00002  *   EasySok --- A(nother) sokoban game for KDE.
00003  *
00004  *   Copyright (C) 2001 by Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License version 2 as
00008  *   published by the Free Software Foundation.
00009  *
00010  *   This program is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with this program; if not, write to the Free Software
00017  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  */
00019 
00020 
00021 #ifndef EASYSOK_IMAGE_STORER_DIALOG_INC_GUARD_H
00022 #define EASYSOK_IMAGE_STORER_DIALOG_INC_GUARD_H
00023 
00024 
00025 #include <kdialogbase.h>
00026 
00027 
00028 class KIntNumInput;
00029 class Map;
00030 class QCheckBox;
00031 class QLabel;
00032 class Theme;
00033 
00034 
00035 
00036 
00044 class ImageStorerDialog : public KDialogBase
00045 {
00046     Q_OBJECT
00047 
00048 public:
00049 
00059     ImageStorerDialog(Map const & map, Theme const * theme, QWidget * parent = 0, char const * name = 0);
00060 
00061 
00066     virtual ~ImageStorerDialog();
00067 
00068 
00073     bool transparentBackground() const;
00074 
00075 
00080     int pieceSize() const;
00081 
00082 
00087     bool lowQuality() const;
00088 
00089 
00090 private slots:
00091 
00098     void pieceSizeChanged(int size);
00099 
00100 
00101 private:
00102 
00107     Theme const * m_theme;
00108 
00109 
00114     QCheckBox * m_transparent_background;
00115 
00116 
00121     KIntNumInput * m_piece_size;
00122 
00123 
00128     QLabel * m_whole_size;
00129 
00130 
00135     QCheckBox * m_low_quality;
00136 
00137 
00142     int m_map_width;
00143 
00144 
00149     int m_map_height;
00150 };
00151 
00152 
00153 #endif

Generated at Sun Jan 6 18:49:09 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001