1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-01 07:01:16 +01:00
GPXSee/src/routeitem.h

29 lines
421 B
C
Raw Normal View History

2016-08-09 01:16:19 +02:00
#ifndef ROUTEITEM_H
#define ROUTEITEM_H
2016-09-19 00:56:10 +02:00
#include "pathitem.h"
2016-08-09 01:16:19 +02:00
#include "route.h"
2016-08-09 01:16:19 +02:00
2016-09-19 00:56:10 +02:00
class RouteItem : public PathItem
2016-08-09 01:16:19 +02:00
{
2016-09-19 00:56:10 +02:00
Q_OBJECT
2016-08-09 01:16:19 +02:00
public:
RouteItem(const Route &route, QGraphicsItem *parent = 0);
void setUnits(enum Units units);
2016-09-26 21:01:58 +02:00
void setScale(qreal scale);
2016-08-09 01:16:19 +02:00
2016-08-09 10:47:49 +02:00
void showWaypoints(bool show);
void showWaypointLabels(bool show);
2016-08-09 10:47:49 +02:00
2016-08-09 01:16:19 +02:00
private:
QString toolTip();
QString _name;
QString _desc;
2016-08-09 01:16:19 +02:00
};
#endif // ROUTEITEM_H