1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 23:03:22 +02: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