Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
15 class SparkLineDelegate : public QStyledItemDelegate
16 {
17 public:
18  SparkLineDelegate(QWidget *parent = 0) : QStyledItemDelegate(parent) {}
19 
20 protected:
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 
27 signals:
28 
29 public slots:
30 
31 };
32 
33 Q_DECLARE_METATYPE(QList<int>)
34 
35 #endif // SPARKLINE_DELEGATE_H
Definition: sparkline_delegate.h:16