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

32 lines
483 B
C++

#ifndef TRACKITEM_H
#define TRACKITEM_H
#include <QDateTime>
#include "data/link.h"
#include "pathitem.h"
class Map;
class Track;
class TrackItem : public PathItem
{
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;
QVector<Link> _links;
QDateTime _date;
qreal _time;
qreal _movingTime;
};
#endif // TRACKITEM_H