|
Engauge Digitizer 2
|
This class add event handling to QGraphicsEllipseItem. More...
#include <GraphicsPointEllipse.h>
Public Member Functions | |
| GraphicsPointEllipse (GraphicsPoint &graphicsPoint, const QRect &rect) | |
| 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 QGraphicsEllipseItem.
Definition at line 16 of file GraphicsPointEllipse.h.
| GraphicsPointEllipse::GraphicsPointEllipse | ( | GraphicsPoint & | graphicsPoint, |
| const QRect & | rect | ||
| ) |
Single constructor.
Definition at line 14 of file GraphicsPointEllipse.cpp.
| QVariant GraphicsPointEllipse::itemChange | ( | GraphicsItemChange | change, |
| const QVariant & | value | ||
| ) |
Intercept moves by dragging so moved items can be identified. This replaces unreliable hit tests.
Definition at line 22 of file GraphicsPointEllipse.cpp.
| void GraphicsPointEllipse::setRadius | ( | int | radius | ) |
Update the radius.
Definition at line 38 of file GraphicsPointEllipse.cpp.