mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-10-06 23:03:22 +02:00
21 lines
360 B
C
21 lines
360 B
C
|
#ifndef CADENCEGRAPHITEM_H
|
||
|
#define CADENCEGRAPHITEM_H
|
||
|
|
||
|
#include "graphitem.h"
|
||
|
|
||
|
class CadenceGraphItem : public GraphItem
|
||
|
{
|
||
|
public:
|
||
|
CadenceGraphItem(const Graph &graph, QGraphicsItem *parent = 0);
|
||
|
|
||
|
qreal max() const {return -bounds().top();}
|
||
|
qreal avg() const {return _avg;}
|
||
|
|
||
|
private:
|
||
|
QString toolTip() const;
|
||
|
|
||
|
qreal _avg;
|
||
|
};
|
||
|
|
||
|
#endif // CADENCEGRAPHITEM_H
|