36 #ifndef AVERAGESCENEITEM_H
37 #define AVERAGESCENEITEM_H
43 #include "../../disp_global.h"
44 #include "../scalingview.h"
50 #include <QGraphicsObject>
71 typedef QPair<const double*,qint32> RowVectorPair;
90 const QPointF& channelPosition,
93 const QColor& color = Qt::yellow);
99 QRectF boundingRect()
const;
100 void mousePressEvent(QGraphicsSceneMouseEvent *event);
101 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
102 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
110 void setDefaultColor(
const QColor& viewColor);
143 void paintAveragePath(QPainter *painter);
151 void paintStimLine(QPainter *painter);
158 void sceneUpdateRequested();
162 #endif // AVERAGESCENEITEM_H