1 #ifndef ELEVATIONGRAPHITEM_H
2 #define ELEVATIONGRAPHITEM_H
6 class ElevationGraphItem
: public GraphItem
11 ElevationGraphItem(const Graph
&graph
, GraphType type
, int width
,
12 const QColor
&color
, QGraphicsItem
*parent
= 0);
14 qreal
ascent() const {return _ascent
;}
15 qreal
descent() const {return _descent
;}
16 qreal
max() const {return _max
;}
17 qreal
min() const {return _min
;}
19 void setUnits(Units units
);
22 QString
toolTip(Units units
) const;
24 qreal _ascent
, _descent
, _min
, _max
;
27 #endif // ELEVATIONGRAPHITEM_H