mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 13:41:16 +01:00
29 lines
421 B
C++
29 lines
421 B
C++
#ifndef ROUTEITEM_H
|
|
#define ROUTEITEM_H
|
|
|
|
#include "pathitem.h"
|
|
#include "route.h"
|
|
|
|
|
|
class RouteItem : public PathItem
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
RouteItem(const Route &route, QGraphicsItem *parent = 0);
|
|
|
|
void setUnits(enum Units units);
|
|
void setScale(qreal scale);
|
|
|
|
void showWaypoints(bool show);
|
|
void showWaypointLabels(bool show);
|
|
|
|
private:
|
|
QString toolTip();
|
|
|
|
QString _name;
|
|
QString _desc;
|
|
};
|
|
|
|
#endif // ROUTEITEM_H
|