|
Engauge Digitizer
2
|
This class add event handling to QGraphicsEllipseItem. More...
#include <GraphicsPointEllipse.h>


Signals | |
| void | signalPointHoverEnter (QString) |
| Signal for geometry window to highlight the current point upon hover enter. More... | |
| void | signalPointHoverLeave (QString) |
| Signal for geometry window to unhighlight the current point upon hover leave. More... | |
Public Member Functions | |
| GraphicsPointEllipse (GraphicsPoint &graphicsPoint, const QRect &rect) | |
| Single constructor. More... | |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
| Intercept moves by dragging so moved items can be identified. This replaces unreliable hit tests. More... | |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
| Accept hover so point can be highlighted when cursor is over it as a guide to user. More... | |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
| Unhighlight this point. More... | |
| void | setRadius (int radius) |
| Update the radius. More... | |
| void | setShadow (GraphicsPointEllipse *shadow) |
| Bind this graphics item to its shadow. More... | |
This class add event handling to QGraphicsEllipseItem.
Definition at line 17 of file GraphicsPointEllipse.h.
| GraphicsPointEllipse::GraphicsPointEllipse | ( | GraphicsPoint & | graphicsPoint, |
| const QRect & | rect | ||
| ) |
|
virtual |
Accept hover so point can be highlighted when cursor is over it as a guide to user.
Definition at line 24 of file GraphicsPointEllipse.cpp.
|
virtual |
Unhighlight this point.
Definition at line 34 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 44 of file GraphicsPointEllipse.cpp.
| void GraphicsPointEllipse::setRadius | ( | int | radius | ) |
Update the radius.
Definition at line 72 of file GraphicsPointEllipse.cpp.
| void GraphicsPointEllipse::setShadow | ( | GraphicsPointEllipse * | shadow | ) |
Bind this graphics item to its shadow.
Definition at line 81 of file GraphicsPointEllipse.cpp.
|
signal |
Signal for geometry window to highlight the current point upon hover enter.
|
signal |
Signal for geometry window to unhighlight the current point upon hover leave.
1.8.14