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

Last change on this file since 10483 was 10394, checked in by tbretz, 14 years ago
First version of the GUI.
File size: 507 bytes
Line 
1#ifndef FACT_HtmlDelegate
2#define FACT_HtmlDelegate
3
4#include <QtGui/QStyledItemDelegate>
5
6using namespace std;
7
8class HtmlDelegate : public QStyledItemDelegate
9{
10 Q_OBJECT;
11
12public:
13 HtmlDelegate(QObject *p=0) : QStyledItemDelegate(p)
14 {
15 }
16
17 void paint(QPainter *painter,
18 const QStyleOptionViewItem &option,
19 const QModelIndex &index) const;
20
21 QSize sizeHint(const QStyleOptionViewItem &option,
22 const QModelIndex &index) const;
23};
24
25#endif
Note: See TracBrowser for help on using the repository browser.