- Guide(GenTime pos, QString label, double scale, double fps, double height);
- void updatePosition(double scale, double height);
- GenTime position();
+ Guide(CustomTrackView *view, const GenTime &pos, const QString &label, double height);
+ GenTime position() const;
+ void updateGuide(const GenTime &newPos, const QString &comment = QString());
+ QString label() const;
+ CommentedTime info() const;
+ void updatePos();
+ virtual int type() const;
+ virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *w);
+ virtual QRectF boundingRect() const;
+ virtual QPainterPath shape() const;
+
+protected:
+ virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *);
+ virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
+ virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);