GraphicsPointPolygon Class Reference

This class add event handling to QGraphicsPolygonItem. More...

#include <GraphicsPointPolygon.h>

List of all members.

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.

Detailed Description

This class add event handling to QGraphicsPolygonItem.

Definition at line 17 of file GraphicsPointPolygon.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends

Generated on 21 Oct 2017 for Engauge Digitizer by  doxygen 1.6.1