1 #ifndef GEARRATIOGRAPH_H
2 #define GEARRATIOGRAPH_H
7 class GearRatioGraphItem
;
9 class GearRatioGraph
: public GraphTab
14 GearRatioGraph(QWidget
*parent
= 0);
17 QString
label() const {return tr("Gear ratio");}
18 QList
<GraphItem
*> loadData(const Data
&data
, Map
*map
);
20 void showTracks(bool show
);
24 qreal
min() const {return bounds().top();}
25 qreal
max() const {return bounds().bottom();}
28 QMap
<qreal
, qreal
> _map
;
31 QList
<GearRatioGraphItem
*> _tracks
;
34 #endif // GEARRATIOGRAPH_H