qt/LedOK/player/elegif.h
2022-01-20 10:08:17 +08:00

22 lines
366 B
C++

#ifndef ELEGIF_H
#define ELEGIF_H
#include "ttimer.h"
#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