Go to the documentation of this file.
7 #ifndef GRAPHICS_POINT_POLYGON_H
8 #define GRAPHICS_POINT_POLYGON_H
10 #include <QGraphicsPolygonItem>
24 const QPolygonF &polygon);
27 QVariant
itemChange(GraphicsItemChange change,
const QVariant &value);
52 void setOpacityForSubtree (
double opacity);
60 #endif // GRAPHICS_POINT_POLYGON_H
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 signalPointHoverLeave(QString)
Signal for geometry window to unhighlight the current point upon hover leave.
void setShadow(GraphicsPointPolygon *shadow)
Bind this graphics item to its shadow.
void signalPointHoverEnter(QString)
Signal for geometry window to highlight the current point upon hover enter.
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.