1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/speedgraph.h

23 lines
313 B
C
Raw Normal View History

2015-10-12 01:12:12 +02:00
#ifndef SPEEDGRAPH_H
#define SPEEDGRAPH_H
#include <QList>
#include "graph.h"
class SpeedGraph : public Graph
{
2015-10-13 00:27:49 +02:00
Q_OBJECT
2015-10-12 01:12:12 +02:00
public:
2015-10-17 01:33:02 +02:00
SpeedGraph(QWidget *parent = 0);
2015-10-12 01:12:12 +02:00
2015-10-16 18:28:47 +02:00
void loadData(const QVector<QPointF> &data, qreal time);
2015-10-12 01:12:12 +02:00
void clear();
private:
qreal _max;
QList<QPointF> _avg;
};
#endif // SPEEDGRAPH_H