qt/LedOK/player/elegif.h

22 lines
369 B
C
Raw Normal View History

2022-01-20 10:08:17 +08:00
#ifndef ELEGIF_H
#define ELEGIF_H
2022-08-25 18:37:24 +08:00
#include "synctimer.h"
2022-01-20 10:08:17 +08:00
#include <QWidget>
class EleGif : public QWidget {
Q_OBJECT
public:
explicit EleGif(QString path, QWidget *parent = nullptr);
QMovie* movie = nullptr;
SyncTimer* timer = nullptr;
public slots:
void sltNext();
protected:
void paintEvent(QPaintEvent *) override;
};
#endif // ELEGIF_H