36 #ifndef REALTIMEMULTISAMPLEARRAYDELEGATE_H
37 #define REALTIMEMULTISAMPLEARRAYDELEGATE_H
44 #include <QAbstractItemDelegate>
86 virtual void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
95 virtual QSize
sizeHint(
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
105 void createPlotPath(
const QModelIndex &index,
const QStyleOptionViewItem &option, QPainterPath& path, QPainterPath& lastPath, QVector<float>& data, QVector<float>& lastData)
const;
114 void createGridPath(
const QModelIndex &index,
const QStyleOptionViewItem &option, QPainterPath& path, QList< QVector<float> >& data)
const;
126 #endif // REALTIMEMULTISAMPLEARRAYDELEGATE_H
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
The RealTimeMultiSampleArrayDelegate class represents a RTMSA delegate which creates the plot paths...
RealTimeMultiSampleArrayDelegate(QObject *parent=0)
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const