CycloBranch
|
A delegate to display rich text. More...
#include <cHTMLDelegate.h>
Public Member Functions | |
cHTMLDelegate (QObject *parent=(QObject *) 0) | |
The constructor. More... | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Reimplementation of paint. More... | |
A delegate to display rich text.
cHTMLDelegate::cHTMLDelegate | ( | QObject * | parent = (QObject *)0 | ) |
The constructor.
parent | pointer to a parent widget |
void cHTMLDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Reimplementation of paint.
painter | QPainter |
option | QStyleOptionViewItem |
index | QModelIndex |