Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
qqtgifwidget.h 520 Bytes
Copy Edit Web IDE Raw Blame History
T.D.R. authored 2018-05-12 21:50 . support msvc2015
#ifndef QQTGIFWIDGET_H
#define QQTGIFWIDGET_H
#include <qqtwidget.h>
#include <qqt-local.h>
#include <qqtcore.h>
#include <QMovie>
#include <QTimer>
class QQTSHARED_EXPORT QQtGifWidget : public QQtWidget
{
Q_OBJECT
public:
explicit QQtGifWidget ( QWidget* parent = nullptr );
virtual ~QQtGifWidget() {}
void setGifFile ( QString gifFile );
signals:
public slots:
private:
QMovie* m_movie;
QTimer* m_frameTimer;
private slots:
void slotFramePlayback();
};
#endif // QQTGIFWIDGET_H

Comment ( 0 )

Sign in for post a comment