1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 13:41:16 +01:00
GPXSee/src/routeitem.h

32 lines
493 B
C++

#ifndef ROUTEITEM_H
#define ROUTEITEM_H
#include "pathitem.h"
#include "route.h"
#include "units.h"
class Map;
class RouteItem : public PathItem
{
Q_OBJECT
public:
RouteItem(const Route &route, Map *map, QGraphicsItem *parent = 0);
//void setScale(qreal scale);
void setMap(Map *map);
void setUnits(Units units);
void showWaypoints(bool show);
void showWaypointLabels(bool show);
private:
QString toolTip(Units units);
QString _name;
QString _desc;
};
#endif // ROUTEITEM_H