mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
16 lines
401 B
C++
16 lines
401 B
C++
#ifndef VNOFOCUSITEMDELEGATE_H
|
|
#define VNOFOCUSITEMDELEGATE_H
|
|
|
|
#include <QStyledItemDelegate>
|
|
|
|
class VNoFocusItemDelegate : public QStyledItemDelegate
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VNoFocusItemDelegate(QWidget *parent = 0);
|
|
void paint(QPainter *painter, const QStyleOptionViewItem &option,
|
|
const QModelIndex &index) const Q_DECL_OVERRIDE;
|
|
};
|
|
|
|
#endif // VNOFOCUSITEMDELEGATE_H
|