mirror of https://gitee.com/cxasm/notepad--.git
16 lines
336 B
C
16 lines
336 B
C
|
#pragma once
|
||
|
|
||
|
#include <QStyledItemDelegate>
|
||
|
|
||
|
class NdStyledItemDelegate : public QStyledItemDelegate
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
NdStyledItemDelegate(QObject *parent);
|
||
|
virtual ~NdStyledItemDelegate();
|
||
|
|
||
|
protected:
|
||
|
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||
|
};
|