/****************************************************************************
** Interface to the GUI.
**
** Created: Mon Jun 10 22:48:00 2005
**      by: Varol Okan using kate editor
**
**
****************************************************************************/

#ifndef DIALOGANIMATION_H
#define DIALOGANIMATION_H

// the designer created GUI.
#include "uidialoganimation.h"

class DialogAnimation : public uiDialogAnimation
{
	Q_OBJECT
public:
	enum	{
		TypeMovie,
		TypeImage,
		TypeFrame,
		TypeText,
		TypeImageBackground,
		TypeMovieBackground
	};

	 DialogAnimation (QWidget * parent=NULL, const char * name = 0, WFlags f = 0 );
	~DialogAnimation ();

	void initMe ( QString, long, float, int );
	QString  &string ();
	void      setFontName ( QString );

protected slots:
	virtual void slotAttribute    ( const QString & );
	virtual void slotHelp         (  );
	virtual void slotAddAttribute (  );
	virtual void slotValueChanged ( int );

private:
	QString m_qsAnimation;
	QString m_qsFontName;
	long    m_iMaxFrames;
	float   m_fFPS;
};

#endif // DIALOGANIMATION_H

