32 #include "../core/corecommon.h"
38 class TLMAPWIDGET_EXPORT
MapLine :
public QObject,
public QGraphicsLineItem
41 Q_INTERFACES(QGraphicsItem)
43 enum { Type = UserType + 8 };
47 QPainterPath shape()
const;
48 void setColor(
const QColor &color)
51 QGraphicsItem * source;
52 QGraphicsItem * destination;
57 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
59 void refreshLocations();
61 void setOpacitySlot(qreal opacity);
A graphicsItem representing a MapPointItem.
The main graphicsItem used on the widget, contains the map and map logic.
The main graphicsItem used on the widget, contains the map and map logic.
A QGraphicsItem representing a MapPointItem.