1 Star 0 Fork 0

yinyigame / RPGMaker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ejeffecteddelegate.h 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
mk4g 提交于 2018-03-26 07:59 . init
#ifndef EJAFFECTEDDELEGATE_H
#define EJAFFECTEDDELEGATE_H
#include <QStyledItemDelegate>
class EJEffectedDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
EJEffectedDelegate(QObject *parent = 0);
signals:
void clicked(bool check, const QModelIndex index);
protected:
void paint(QPainter* painter,const QStyleOptionViewItem& option,const QModelIndex& index) const;
bool editorEvent(QEvent *event,QAbstractItemModel *model,const QStyleOptionViewItem &option,const QModelIndex &index);
};
#endif // EJAFFECTEDDELEGATE_H
C++
1
https://gitee.com/yinyigame/RPGMaker.git
git@gitee.com:yinyigame/RPGMaker.git
yinyigame
RPGMaker
RPGMaker
master

搜索帮助