Crossfire Server, Branches 1.12  R18729
CREAnimationWidget.h
Go to the documentation of this file.
1 #ifndef CREANIMATIONWIDGET_H_
2 #define CREANIMATIONWIDGET_H_
3 
4 #include <QObject>
5 #include <QtGui>
6 
7 class CREAnimationWidget : public QWidget
8 {
9  Q_OBJECT
10 
11  public:
12  CREAnimationWidget(QWidget* parent);
13 
14  void setAnimation(QList<int> faces);
15  void step();
16  //virtual QSize sizeHint () const { return QSize(32, 32); }
17 
18  protected:
19  int myStep;
20  QList<int> myFaces;
21 
22  virtual void paintEvent(QPaintEvent* event);
23 };
24 
25 #endif // CREANIMATIONWIDGET_H_
void setAnimation(QList< int > faces)
virtual void paintEvent(QPaintEvent *event)
CREAnimationWidget(QWidget *parent)