public slots:
void sceneRectChanged(const QRectF &);
+ inline void setColor(const QColor &color) { _rulerColor = color; }
protected:
void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
bool _moving;
qreal _minXPos, _maxXPos;
QTimeLine _timeLine;
+ QColor _rulerColor;
};
#endif