Crossfire Server, Branches 1.12  R18729
CREAnimationWidget Class Reference

#include <CREAnimationWidget.h>

+ Inheritance diagram for CREAnimationWidget:
+ Collaboration diagram for CREAnimationWidget:

Public Member Functions

 CREAnimationWidget (QWidget *parent)
 
void setAnimation (QList< int > faces)
 
void step ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

QList< int > myFaces
 
int myStep
 

Detailed Description

Definition at line 7 of file CREAnimationWidget.h.

Constructor & Destructor Documentation

CREAnimationWidget::CREAnimationWidget ( QWidget *  parent)

Definition at line 6 of file CREAnimationWidget.cpp.

References myStep.

Member Function Documentation

void CREAnimationWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 31 of file CREAnimationWidget.cpp.

References CREPixmap::getIcon(), myFaces, and myStep.

+ Here is the call graph for this function:

void CREAnimationWidget::setAnimation ( QList< int >  faces)

Definition at line 13 of file CREAnimationWidget.cpp.

References myFaces, and myStep.

void CREAnimationWidget::step ( )

Definition at line 19 of file CREAnimationWidget.cpp.

References myFaces, and myStep.

Field Documentation

QList<int> CREAnimationWidget::myFaces
protected

Definition at line 20 of file CREAnimationWidget.h.

Referenced by paintEvent(), setAnimation(), and step().

int CREAnimationWidget::myStep
protected

Definition at line 19 of file CREAnimationWidget.h.

Referenced by CREAnimationWidget(), paintEvent(), setAnimation(), and step().


The documentation for this class was generated from the following files: