Monitor
|
#include <edge.h>
Public Types | |
enum | { Type = UserType + 2 } |
Public Member Functions | |
Edge (Node *sourceNode, Node *destNode, CommModel *comm, MainWindow *mw, bool highlight) | |
Node * | sourceNode () const |
Node * | destNode () const |
void | adjust () |
int | type () const |
bool | tooShort () |
Protected Member Functions | |
QRectF | boundingRect () const |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
Edge::Edge | ( | Node * | sourceNode, |
Node * | destNode, | ||
CommModel * | comm, | ||
MainWindow * | mw, | ||
bool | highlight | ||
) |
void Edge::adjust | ( | ) |
QRectF Edge::boundingRect | ( | ) | const [protected] |
Node * Edge::destNode | ( | ) | const |
void Edge::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) | [protected] |
Node * Edge::sourceNode | ( | ) | const |
bool Edge::tooShort | ( | ) |