1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-01 07:01:16 +01:00
GPXSee/src/GUI/temperaturegraphitem.h

25 lines
474 B
C
Raw Normal View History

#ifndef TEMPERATUREGRAPHITEM_H
#define TEMPERATUREGRAPHITEM_H
#include "graphitem.h"
class TemperatureGraphItem : public GraphItem
{
2017-09-24 20:13:13 +02:00
Q_OBJECT
public:
TemperatureGraphItem(const Graph &graph, GraphType type, int width,
const QColor &color, QGraphicsItem *parent = 0);
qreal max() const {return _max;}
qreal min() const {return _min;}
qreal avg() const {return _avg;}
QString info() const;
private:
2019-02-11 23:28:08 +01:00
qreal _min, _max, _avg;
};
#endif // TEMPERATUREGRAPHITEM_H