1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00
GPXSee/src/speedgraph.h
2015-10-19 00:35:08 +02:00

27 lines
358 B
C++

#ifndef SPEEDGRAPH_H
#define SPEEDGRAPH_H
#include <QList>
#include "graph.h"
#include "gpx.h"
class SpeedGraph : public Graph
{
Q_OBJECT
public:
SpeedGraph(QWidget *parent = 0);
void loadGPX(const GPX &gpx);
void clear();
qreal avg() const;
qreal max() const {return _max;}
private:
qreal _max;
QList<QPointF> _avg;
};
#endif // SPEEDGRAPH_H