#ifndef GEARRATIOGRAPHITEM_H #define GEARRATIOGRAPHITEM_H #include #include "graphitem.h" class GearRatioGraphItem : public GraphItem { Q_OBJECT public: GearRatioGraphItem(const Graph &graph, GraphType type, int width, const QColor &color, QGraphicsItem *parent = 0); qreal top() const {return _top;} const QMap &map() const {return _map;} ToolTip info() const; private: QMap _map; qreal _top; }; #endif // GEARRATIOGRAPHITEM_H