nodeeditor_doxy
|
[0] More...
#include <nodeconnection.h>
Public Types | |
enum | { Type = UserType + 666 + 0 } |
Public Member Functions | |
int | type () const |
virtual | ~NodeConnection () |
NodeConnection (NodeConnector *startConnector, NodeConnector *endConnector, QGraphicsItem *parent=0, QGraphicsScene *scene=0, bool bidirectional=true) | |
[0] | |
QRectF | boundingRect () const |
[0] | |
QPainterPath | shape () const |
[1] | |
void | setColor (const QColor &color) |
NodeConnector * | startConnector () const |
NodeConnector * | endConnector () const |
void | updatePosition () |
bool | bidirectional () |
bool | setBidirectional (bool bidirectional) |
Protected Member Functions | |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
[4] | |
void | recreatePath (QPointF &controlPoint1, QPointF &controlPoint2) |
QPolygonF | createArrowPoly (QPainterPath &p, NodeConnector *conn) |
[0]
Definition at line 20 of file nodeconnection.h.
anonymous enum |
Definition at line 23 of file nodeconnection.h.
NodeConnection::~NodeConnection | ( | ) | [virtual] |
Definition at line 9 of file nodeconnection.cpp.
NodeConnection::NodeConnection | ( | NodeConnector * | startConnector, |
NodeConnector * | endConnector, | ||
QGraphicsItem * | parent = 0 , |
||
QGraphicsScene * | scene = 0 , |
||
bool | bidirectional = true |
||
) |
[0]
Definition at line 25 of file nodeconnection.cpp.
bool NodeConnection::bidirectional | ( | ) |
Definition at line 560 of file nodeconnection.cpp.
QRectF NodeConnection::boundingRect | ( | ) | const |
QPolygonF NodeConnection::createArrowPoly | ( | QPainterPath & | p, |
NodeConnector * | conn | ||
) | [protected] |
Definition at line 528 of file nodeconnection.cpp.
NodeConnector* NodeConnection::endConnector | ( | ) | const [inline] |
Definition at line 37 of file nodeconnection.h.
void NodeConnection::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) | [protected] |
[4]
Definition at line 589 of file nodeconnection.cpp.
void NodeConnection::recreatePath | ( | QPointF & | controlPoint1, |
QPointF & | controlPoint2 | ||
) | [protected] |
Definition at line 239 of file nodeconnection.cpp.
bool NodeConnection::setBidirectional | ( | bool | bidirectional | ) |
Definition at line 556 of file nodeconnection.cpp.
void NodeConnection::setColor | ( | const QColor & | color | ) | [inline] |
Definition at line 33 of file nodeconnection.h.
QPainterPath NodeConnection::shape | ( | ) | const |
NodeConnector* NodeConnection::startConnector | ( | ) | const [inline] |
Definition at line 35 of file nodeconnection.h.
int NodeConnection::type | ( | ) | const [inline] |
Definition at line 24 of file nodeconnection.h.
void NodeConnection::updatePosition | ( | ) |
Definition at line 96 of file nodeconnection.cpp.