|
Engauge Digitizer 2
|
This class add event handling to QGraphicsPolygonItem. More...
#include <GraphicsPointPolygon.h>
Public Member Functions | |
| GraphicsPointPolygon (GraphicsPoint &graphicsPoint, const QPolygonF &polygon) | |
| Single constructor. | |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
| Intercept moves by dragging so moved items can be identified. This replaces unreliable hit tests. | |
| void | setRadius (int radius) |
| Update the radius. | |
This class add event handling to QGraphicsPolygonItem.
Definition at line 16 of file GraphicsPointPolygon.h.
| GraphicsPointPolygon::GraphicsPointPolygon | ( | GraphicsPoint & | graphicsPoint, |
| const QPolygonF & | polygon | ||
| ) |
Single constructor.
Definition at line 14 of file GraphicsPointPolygon.cpp.
| QVariant GraphicsPointPolygon::itemChange | ( | GraphicsItemChange | change, |
| const QVariant & | value | ||
| ) |
Intercept moves by dragging so moved items can be identified. This replaces unreliable hit tests.
Definition at line 23 of file GraphicsPointPolygon.cpp.
| void GraphicsPointPolygon::setRadius | ( | int | radius | ) |
Update the radius.
Definition at line 39 of file GraphicsPointPolygon.cpp.