SourceForge Logo
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor

H. de Fraysseix      P. Ossona de Mendez

NodeItem Class Reference

Collaboration diagram for NodeItem:

Collaboration graph
[legend]

List of all members.


Detailed Description

Used to represent a vertex with/witout a label.

Public Member Functions

Public Attributes

Private Attributes


Constructor & Destructor Documentation

NodeItem ( tvertex vv,
GraphWidget g,
QRectF &  rect,
QColor &  col,
QString &  _t 
)


Member Function Documentation

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 
)


Member Data Documentation

tvertex v

GraphWidget* gwp [private]

QColor vcolor [private]

QColor tcolor [private]

QString t [private]


Generated on Thu Jan 31 16:51:56 2008 for Pigale by  doxygen 1.5.4