NodeItem | ( | tvertex & | vv, | |
GraphWidget * | g, | |||
QRectF & | rect, | |||
QColor & | col, | |||
QString & | _t | |||
) |
QRectF boundingRect | ( | ) | const |
void moveBy | ( | double | dx, | |
double | dy | |||
) |
/fn modify vertex coordinates
void moveTo | ( | Tpoint & | p, | |
double | eps = .0 | |||
) |
/fn does not modify vertex coordinates: only used in spring embedders
void SetColor | ( | QColor | c | ) |
void SetText | ( | QString | t | ) |
int type | ( | ) | const [inline] |
void paint | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option, | |||
QWidget * | widget = 0 | |||
) |
GraphWidget* gwp [private] |
QColor vcolor [private] |
QColor tcolor [private] |
QString t [private] |