vnote/src/vnofocusitemdelegate.h
Le Tan e32ee1fa90 refactor: VNotebookSelector
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-07 13:08:06 +08:00

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