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++

#ifndef TRACKITEM_H
#define TRACKITEM_H
#include <QDateTime>
#include <QPen>
#include "track.h"
#include "pathitem.h"
#include "units.h"
class Map;
class TrackItem : public PathItem
{
Q_OBJECT
public:
TrackItem(const Track &track, Map *map, QGraphicsItem *parent = 0);
void setUnits(Units units);
private:
QString toolTip(Units units);
QString _name;
QString _desc;
QDateTime _date;
qreal _time;
qreal _movingTime;
};
#endif // TRACKITEM_H