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

AnimationStorerDialog Class Reference

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

#include <animation_storer_dialog.h>

Inheritance diagram for AnimationStorerDialog::

List of all members.

Public Methods

 AnimationStorerDialog (Map const &map, Theme const *theme, QWidget *parent=0, char const *name=0)
virtual ~AnimationStorerDialog ()
bool transparentBackground () const
int pieceSize () const
int startDelay () const
int delay () const
bool cylcle () const
int endDelay () const
bool lowQuality () const

Private Slots

void pieceSizeChanged (int size)
void cycleChanged (bool cycle)

Private Methods

void createSizeGroup (QWidget *parent, KConfig *config)
void createBackgroundGroup (QWidget *parent, KConfig *config)
void createDelayGroup (QWidget *parent, KConfig *config)
void createCycleGroup (QWidget *parent, KConfig *config)
void createQualityGroup (QWidget *parent, KConfig *config)

Private Attributes

Theme const * m_theme
QCheckBox * m_transparent_background
KIntNumInput * m_piece_size
QLabel * m_whole_size
KIntNumInput * m_start_delay
KIntNumInput * m_delay
KIntNumInput * m_end_delay
QCheckBox * m_cycle
QCheckBox * m_low_quality
int m_map_width
int m_map_height

Detailed Description

The configuration dialog for exporting a game as an animation.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1


Constructor & Destructor Documentation

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

Constructs the object.

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

virtual AnimationStorerDialog::~AnimationStorerDialog [virtual]
 

Stores the settings.


Member Function Documentation

void AnimationStorerDialog::createBackgroundGroup QWidget * parent,
KConfig * config
[private]
 

Creates the background group.

Parameters:
parent   The parent widget.
config   The applications KConfig object.

void AnimationStorerDialog::createCycleGroup QWidget * parent,
KConfig * config
[private]
 

Creates the cylce group.

Parameters:
parent   The parent widget.
config   The applications KConfig object.

void AnimationStorerDialog::createDelayGroup QWidget * parent,
KConfig * config
[private]
 

Creates the delay group.

Parameters:
parent   The parent widget.
config   The applications KConfig object.

void AnimationStorerDialog::createQualityGroup QWidget * parent,
KConfig * config
[private]
 

Creates the quality group.

Parameters:
parent   The parent widget.
config   The applications KConfig object.
theme   The theme to use.

void AnimationStorerDialog::createSizeGroup QWidget * parent,
KConfig * config
[private]
 

Creates the piece size group.

Parameters:
parent   The parent widget.
config   The applications KConfig object.

void AnimationStorerDialog::cycleChanged bool cycle [private, slot]
 

Called, when the cycle option was changed.

Parameters:
cycle   The new state of the cylcle option.

bool AnimationStorerDialog::cylcle const
 

Returns true, if we should cycle.

int AnimationStorerDialog::delay const
 

Returns the delay between two frames.

int AnimationStorerDialog::endDelay const
 

Returns the end delay.

bool AnimationStorerDialog::lowQuality const
 

Return true, if we only use low quality images.

int AnimationStorerDialog::pieceSize const
 

Returns the piece size.

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

Called, when the piece size has changed.

Parameters:
size   The new piece size.

int AnimationStorerDialog::startDelay const
 

Returns the start delay.

bool AnimationStorerDialog::transparentBackground const
 

Returns true, if the background should be transparent.


Member Data Documentation

QCheckBox* AnimationStorerDialog::m_cycle [private]
 

Cylcle?

KIntNumInput* AnimationStorerDialog::m_delay [private]
 

The delay.

KIntNumInput* AnimationStorerDialog::m_end_delay [private]
 

The end delay.

QCheckBox* AnimationStorerDialog::m_low_quality [private]
 

Use low quality images.

int AnimationStorerDialog::m_map_height [private]
 

The map height.

int AnimationStorerDialog::m_map_width [private]
 

The map width.

KIntNumInput* AnimationStorerDialog::m_piece_size [private]
 

The piece size.

KIntNumInput* AnimationStorerDialog::m_start_delay [private]
 

The start delay.

Theme const* AnimationStorerDialog::m_theme [private]
 

The theme to use.

QCheckBox* AnimationStorerDialog::m_transparent_background [private]
 

The background checkbox.

QLabel* AnimationStorerDialog::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:10 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001