Engauge Digitizer
2
|
This class add event handling to QGraphicsPolygonItem. More...
#include <GraphicsPointPolygon.h>
Signals | |
void | signalPointHoverEnter (QString) |
Signal for geometry window to highlight the current point upon hover enter. | |
void | signalPointHoverLeave (QString) |
Signal for geometry window to unhighlight the current point upon hover leave. | |
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. | |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
Accept hover so point can be highlighted when cursor is over it as a guide to user. | |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
Unhighlight this point. | |
void | setRadius (int radius) |
Update the radius. | |
void | setShadow (GraphicsPointPolygon *shadow) |
Bind this graphics item to its shadow. | |
This class add event handling to QGraphicsPolygonItem.
Definition at line 17 of file GraphicsPointPolygon.h.