#ifndef STFSTROKEITEM_H #define STFSTROKEITEM_H #include #include "paperreplay.h" class StfStrokeItem : public QGraphicsPathItem { public: StfStrokeItem(const QPainterPath &stroke, const PaperReplay::Session &session, qint64 startTime, qint64 endTime, QGraphicsItem *parent = 0); enum { Type = UserType + 't' }; int type() const; protected: void mousePressEvent(QGraphicsSceneMouseEvent *event); private: PaperReplay::Session _session; qint64 _startTime; qint64 _endTime; }; #endif // STFSTROKEITEM_H