some bugfix in ADeditor
memory optimization in AD
This commit is contained in:
22
ADeditor/animlabel.h
Normal file
22
ADeditor/animlabel.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef ANIMLABEL_H
|
||||
#define ANIMLABEL_H
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
class AnimLabel : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AnimLabel(QWidget *parent = 0);
|
||||
void setAnimation(const QStringList &anim);
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QList<QPixmap *> images;
|
||||
int imgIndex;
|
||||
void timerEvent(QTimerEvent *);
|
||||
};
|
||||
|
||||
#endif // ANIMLABEL_H
|
||||
Reference in New Issue
Block a user