26 #ifndef WAYPOINTCURVE_H
27 #define WAYPOINTCURVE_H
30 #include "../core/corecommon.h"
40 class TLMAPWIDGET_EXPORT
WayPointCurve:
public QObject,
public QGraphicsEllipseItem
43 Q_INTERFACES(QGraphicsItem)
45 enum { Type = UserType + 9 };
47 double radius,
bool clockwise,
50 void setColor(
const QColor &color) { myColor = color; }
71 double midpoint_angle;
78 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
82 void refreshLocations();
85 void waypointdeleted();
87 void setOpacitySlot(qreal opacity);
91 #endif // WAYPOINTCURVE_H
A graphicsItem representing a WayPoint.
The WayPointCurve class draws an arc between two graphics items of a given radius and direction of cu...
The main graphicsItem used on the widget, contains the map and map logic.
A QGraphicsItem representing a WayPoint.