Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sparkline_delegate.h
Go to the documentation of this file.
1
10#ifndef SPARKLINE_DELEGATE_H
11#define SPARKLINE_DELEGATE_H
12
13#include <QStyledItemDelegate>
14
15class SparkLineDelegate : public QStyledItemDelegate
16{
17public:
18 SparkLineDelegate(QWidget *parent = 0) : QStyledItemDelegate(parent) {}
19
20protected:
21 void paint(QPainter *painter, const QStyleOptionViewItem &option,
22 const QModelIndex &index) const;
23 QSize sizeHint(const QStyleOptionViewItem &option,
24 const QModelIndex &index) const;
25 QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
26
27signals:
28
29public slots:
30
31};
32
33Q_DECLARE_METATYPE(QList<int>)
34
35#endif // SPARKLINE_DELEGATE_H
Definition sparkline_delegate.h:16