#ifndef NOTESVIEWDELEGATE_H
#define NOTESVIEWDELEGATE_H

#include <QItemDelegate>
#include <QPainter>

class NotesViewDelegate : public QItemDelegate
{
    Q_OBJECT

    public:
            NotesViewDelegate(QObject * parent = 0)  : QItemDelegate(parent) {};
            ~NotesViewDelegate();
            virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
            virtual void drawDisplay(QPainter * /*painter*/, const QStyleOptionViewItem & /*option*/, const QRect & /*rect*/, const QString & /*text*/) const {};
            void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const;

};

#endif // NOTESVIEWDELEGATE_H
