Fetch the repository succeeded.
#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
Sign in for post a comment
Comment ( 0 )