1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 12:12:08 +01:00
GPXSee/src/GUI/trackitem.h

32 lines
483 B
C
Raw Normal View History

#ifndef TRACKITEM_H
#define TRACKITEM_H
#include <QDateTime>
2021-01-17 18:39:57 +01:00
#include "data/link.h"
2016-09-26 21:01:58 +02:00
#include "pathitem.h"
class Map;
2021-01-17 18:39:57 +01:00
class Track;
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);
ToolTip info() const;
QDateTime date() const {return _date;}
private:
QString _name;
QString _desc;
QString _comment;
2019-10-14 20:07:05 +02:00
QVector<Link> _links;
QDateTime _date;
qreal _time;
qreal _movingTime;
};
#endif // TRACKITEM_H