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

ImageStorerDialog Class Reference

The configuration dialog for exporting a game as an image. More...

#include <image_storer_dialog.h>

Inheritance diagram for ImageStorerDialog::

List of all members.

Public Methods

 ImageStorerDialog (Map const &map, Theme const *theme, QWidget *parent=0, char const *name=0)
virtual ~ImageStorerDialog ()
bool transparentBackground () const
int pieceSize () const
bool lowQuality () const

Private Slots

void pieceSizeChanged (int size)

Private Attributes

Theme const * m_theme
QCheckBox * m_transparent_background
KIntNumInput * m_piece_size
QLabel * m_whole_size
QCheckBox * m_low_quality
int m_map_width
int m_map_height

Detailed Description

The configuration dialog for exporting a game as an image.

Ralf Schmelter (

Constructor & Destructor Documentation

ImageStorerDialog::ImageStorerDialog Map const & map,
Theme const * theme,
QWidget * parent = 0,
char const * name = 0

Constructs the object.

map   The map to use.
theme   The theme to use.
parent   The parent widget.
name   The internal name.

virtual ImageStorerDialog::~ImageStorerDialog [virtual]

Stores the values.

Member Function Documentation

bool ImageStorerDialog::lowQuality const

Return true, if we only use low quality images.

int ImageStorerDialog::pieceSize const

Returns the piece size.

void ImageStorerDialog::pieceSizeChanged int size [private, slot]

Called, when the piece size has changed.

size   The new piece size.

bool ImageStorerDialog::transparentBackground const

Returns true, if the background should be transparent.

Member Data Documentation

QCheckBox* ImageStorerDialog::m_low_quality [private]

Use low quality images.

int ImageStorerDialog::m_map_height [private]

The map height.

int ImageStorerDialog::m_map_width [private]

The map width.

KIntNumInput* ImageStorerDialog::m_piece_size [private]

The piece size.

Theme const* ImageStorerDialog::m_theme [private]

The theme to use.

QCheckBox* ImageStorerDialog::m_transparent_background [private]

The background checkbox.

QLabel* ImageStorerDialog::m_whole_size [private]

Label which displays the whole image size.

The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:11 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001