Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GraphicsPointPolygon Class Reference

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

#include <GraphicsPointPolygon.h>

Inheritance diagram for GraphicsPointPolygon:

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.
 
void setRadius (int radius)
 Update the radius.
 

Detailed Description

This class add event handling to QGraphicsPolygonItem.

Definition at line 16 of file GraphicsPointPolygon.h.

Constructor & Destructor Documentation

◆ GraphicsPointPolygon()

GraphicsPointPolygon::GraphicsPointPolygon ( GraphicsPoint graphicsPoint,
const QPolygonF &  polygon 
)

Single constructor.

Definition at line 14 of file GraphicsPointPolygon.cpp.

Member Function Documentation

◆ itemChange()

QVariant GraphicsPointPolygon::itemChange ( GraphicsItemChange  change,
const QVariant &  value 
)

Intercept moves by dragging so moved items can be identified. This replaces unreliable hit tests.

Definition at line 23 of file GraphicsPointPolygon.cpp.

◆ setRadius()

void GraphicsPointPolygon::setRadius ( int  radius)

Update the radius.

Definition at line 39 of file GraphicsPointPolygon.cpp.


The documentation for this class was generated from the following files: