24 #include <QPropertyAnimation>
25 #include <tulip/tulipconf.h>
28 class TLP_QT_SCOPE Animation:
public QPropertyAnimation {
30 Q_PROPERTY(
int frame READ currentFrame WRITE frameChanged)
31 Q_PROPERTY(
int frameCount READ frameCount WRITE setFrameCount)
37 Animation(
int frameCount=0,QObject* parent=0);
40 int currentFrame()
const;
41 int frameCount()
const;
44 virtual void frameChanged(
int)=0;
45 virtual void setFrameCount(
int);