source: trunk/FACT++/gui/HtmlDelegate.h@ 10962

Last change on this file since 10962 was 10657, checked in by tbretz, 14 years ago
Added or improved documentation.
File size: 464 bytes
Line 
1#ifndef FACT_HtmlDelegate
2#define FACT_HtmlDelegate
3
4#include <QStyledItemDelegate>
5
6class HtmlDelegate : public QStyledItemDelegate
7{
8public:
9 HtmlDelegate(QObject *p=0) : QStyledItemDelegate(p)
10 {
11 }
12
13 void paint(QPainter *painter,
14 const QStyleOptionViewItem &option,
15 const QModelIndex &index) const;
16
17 QSize sizeHint(const QStyleOptionViewItem &option,
18 const QModelIndex &index) const;
19};
20
21#endif
Note: See TracBrowser for help on using the repository browser.