1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 23:03:22 +02:00
GPXSee/src/trackitem.h

32 lines
457 B
C
Raw Normal View History

#ifndef TRACKITEM_H
#define TRACKITEM_H
#include <QDateTime>
2016-09-19 00:56:10 +02:00
#include <QPen>
#include "track.h"
2016-09-26 21:01:58 +02:00
#include "pathitem.h"
#include "units.h"
class Map;
2016-08-09 01:16:19 +02:00
2016-09-19 00:56:10 +02:00
class TrackItem : public PathItem
{
2016-09-19 00:56:10 +02:00
Q_OBJECT
public:
TrackItem(const Track &track, Map *map, QGraphicsItem *parent = 0);
void setUnits(Units units);
2016-08-09 01:16:19 +02:00
private:
QString toolTip(Units units);
QString _name;
QString _desc;
QDateTime _date;
qreal _time;
qreal _movingTime;
};
#endif // TRACKITEM_H