31 #include "../core/corecommon.h"
38 class TLMAPWIDGET_EXPORT
MapCircle:
public QObject,
public QGraphicsEllipseItem
41 Q_INTERFACES(QGraphicsItem)
43 enum { Type = UserType + 9 };
47 void setColor(
const QColor &color)
50 QGraphicsItem *my_center;
51 QGraphicsItem *my_radius;
58 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
60 void refreshLocations();
62 void setOpacitySlot(qreal opacity);
A graphicsItem representing a MapPointItem.
The main graphicsItem used on the widget, contains the map and map logic.
A QGraphicsItem representing a MapPointItem.