7#ifndef _CHTMLDELEGATE_H
8#define _CHTMLDELEGATE_H
10#include <QApplication>
13#include <QStyledItemDelegate>
17#include <QAbstractItemModel>
20#include <QTextDocument>
46 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
A delegate to display rich text.
Definition: cHTMLDelegate.h:26
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Reimplementation of paint.
Definition: cHTMLDelegate.cpp:8
cHTMLDelegate(QObject *parent=(QObject *) 0)
The constructor.
Definition: cHTMLDelegate.cpp:4