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

CanvasItem.cpp File Reference


Detailed Description

All QGraphicsItem used by QGraphicsScene *canvas.

Include dependency graph for CanvasItem.cpp:

Functions

Variables


Function Documentation

void CreateColorItems ( GraphWidget gwp,
int  color_node,
int  color_edge 
)

creates the coloured rectangles used to recolor edges and vertices

EdgeItem* CreateEdgeItem ( tedge e,
GraphWidget g 
)

InfoItem* CreateInfoItem ( GraphWidget gwp,
QString &  t,
QPoint &  p 
)

NodeItem* CreateNodeItem ( tvertex v,
GraphWidget gwp 
)

void CreatePenBrush (  ) 

creates the pen and the brush used by all QGraphicsItem

void CreateThickItems ( GraphWidget gwp,
int  width_edge 
)


Variable Documentation

QBrush* tb = 0 [static]

The brush used by all QGraphicsItem.

QPen* tp = 0 [static]

The pen used by all QGraphicsItem.


Generated on Thu Jan 31 16:50:48 2008 for Pigale by  doxygen 1.5.4