![]() |
Public Types | |
enum | { Type = UserType + 3 } |
enum | Configuration { Step, S_Shape, Loop } |
Public Member Functions | |
GraphicsLinkItem (QGraphicsItem *parent, ARCSConnection *c=0) | |
~GraphicsLinkItem () | |
int | type () const |
ARCSConnection * | getConnection () |
void | setSource (GraphicsPortItem *s) |
void | setDestination (GraphicsPortItem *d) |
GraphicsPortItem * | getSource () |
GraphicsPortItem * | getDestination () |
void | setCurrentPoint (QPointF p) |
void | markForDeletion () |
bool | isFinalized () |
void | finalize () |
void | connectGrips () |
void | connectGrips (QPointF orig, QPointF dest) |
void | redraw (bool isSource=true) |
virtual QPainterPath | shape () const |
Definition at line 59 of file graphicslinkitem.h.
A link can have three configurations : –+ -+ +-> -+ | | | | +-> +–+ +---—+ | +->
Definition at line 77 of file graphicslinkitem.h.
GraphicsLinkItem::~GraphicsLinkItem | ( | ) |
Definition at line 89 of file graphicslinkitem.cpp.