]> git.cworth.org Git - apitrace/blob - gui/apicalldelegate.h
some color in the list
[apitrace] / gui / apicalldelegate.h
1 #ifndef APICALLDELEGATE_H
2 #define APICALLDELEGATE_H
3
4
5
6 #include <QStyledItemDelegate>
7
8 class ApiCallDelegate : public QStyledItemDelegate
9 {
10     Q_OBJECT
11
12 public:
13     ApiCallDelegate(QWidget *parent = 0);
14
15     void paint(QPainter *painter, const QStyleOptionViewItem &option,
16                const QModelIndex &index) const;
17     QSize sizeHint(const QStyleOptionViewItem &option,
18                    const QModelIndex &index) const;
19 };
20
21 #endif