Engauge Digitizer 2
|
Enable postponed geometry changes for QGraphicsLineItem, using a signal to trigger this class to update its associated QGraphicsLineItem instance. More...
#include <GraphicsLineItemRelay.h>
Public Slots | |
void | slotUpdateEndpoints (QPointF start, QPointF end) |
Slot equivalent of setStartAngle and setSpanAngle. |
Public Member Functions | |
GraphicsLineItemRelay (QObject *caller, QGraphicsLineItem *graphicsItem) | |
Single constructor with associated GraphicsArcItem. | |
virtual | ~GraphicsLineItemRelay () |
Enable postponed geometry changes for QGraphicsLineItem, using a signal to trigger this class to update its associated QGraphicsLineItem instance.
By postponing geometry updates locally, this class simplifies the calling code which can invoked while an event handler is on the stack. Updating QGraphicsEllipseItem geometry while an event handler is on the stack is not good software design
Definition at line 21 of file GraphicsLineItemRelay.h.
GraphicsLineItemRelay::GraphicsLineItemRelay | ( | QObject * | caller, |
QGraphicsLineItem * | graphicsItem ) |
Single constructor with associated GraphicsArcItem.
Definition at line 16 of file GraphicsLineItemRelay.cpp.
|
virtual |
Definition at line 26 of file GraphicsLineItemRelay.cpp.
|
slot |
Slot equivalent of setStartAngle and setSpanAngle.
Definition at line 31 of file GraphicsLineItemRelay.cpp.