7#ifndef GRAPHICS_POINT_POLYGON_H
8#define GRAPHICS_POINT_POLYGON_H
10#include <QGraphicsPolygonItem>
21 const QPolygonF &polygon);
24 QVariant
itemChange(GraphicsItemChange change,
const QVariant &value);
This class add event handling to QGraphicsPolygonItem.
void setRadius(int radius)
Update the radius.
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Intercept moves by dragging so moved items can be identified. This replaces unreliable hit tests.
Graphics item for drawing a circular or polygonal Point.