74 Star 334 Fork 155

LibQQt应用程序开发组织 / LibQQt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
qqtgifwidget.h 652 Bytes
一键复制 编辑 原始数据 按行查看 历史
tianduanrui 提交于 2019-11-27 19:24 . update qqtgifwidget
#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 );
inline QMovie* movieHandler() const { return m_movie; }
inline QTimer* timerHandler() const { return m_frameTimer; }
signals:
public slots:
private:
QMovie* m_movie;
QTimer* m_frameTimer;
protected slots:
virtual void slotFramePlayback();
};
#endif // QQTGIFWIDGET_H
C/C++
1
https://gitee.com/drabel/LibQQt.git
git@gitee.com:drabel/LibQQt.git
drabel
LibQQt
LibQQt
master

搜索帮助