some bugfix in ADeditor

memory optimization in AD
This commit is contained in:
2010-09-18 00:00:32 +04:00
parent 97c8725091
commit 0a9679fd99
14 changed files with 399 additions and 133 deletions

22
ADeditor/animlabel.h Normal file
View 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