1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/trackitem.h

30 lines
411 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"
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:
2016-08-02 00:28:56 +02:00
TrackItem(const Track &track, QGraphicsItem *parent = 0);
void setUnits(enum Units units);
2016-08-09 01:16:19 +02:00
private:
QString toolTip();
QString _name;
QString _desc;
QDateTime _date;
qreal _time;
qreal _movingTime;
};
#endif // TRACKITEM_H