1 Star 0 Fork 156

zijunma / LibQQt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
qqtsvgpushbutton.h 682 Bytes
一键复制 编辑 原始数据 按行查看 历史
T.D.R. 提交于 2018-05-12 21:50 . support msvc2015
#ifndef QQTSVGPUSHBUTTON_H
#define QQTSVGPUSHBUTTON_H
#include <qqtpushbutton.h>
#include <QSvgRenderer>
#include <qqtwidgets.h>
#include <qqt-local.h>
#include <qqtcore.h>
class QQTSHARED_EXPORT QQtSvgPushButton : public QQtPushButton
{
Q_OBJECT
public:
explicit QQtSvgPushButton ( QWidget* parent = nullptr );
virtual ~QQtSvgPushButton() {}
/**
* @brief renderToVariable
* call this function after iconTable() set.
*/
void renderToVariable();
signals:
public slots:
// QWidget interface
protected:
virtual void paintEvent ( QPaintEvent* event ) override;
private:
QSvgRenderer r[BTN_MAX];
};
#endif // QQTSVGPUSHBUTTON_H
C/C++
1
https://gitee.com/zijunma/LibQQt.git
git@gitee.com:zijunma/LibQQt.git
zijunma
LibQQt
LibQQt
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891