void CreateColorItems | ( | GraphWidget * | g, | |
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 * | g, | |
QString & | t, | |||
QPoint & | p | |||
) |
NodeItem* CreateNodeItem | ( | tvertex & | v, | |
GraphWidget * | g | |||
) |
void CreatePenBrush | ( | ) |
creates the pen and the brush used by all QGraphicsItem
void CreateThickItems | ( | GraphWidget * | g, | |
int | width_edge | |||
) |
bool& ShowOrientation | ( | ) |
int& ShowVertex | ( | ) |
const int arrow_rtti = min_rtti+11 |
Type indentifier of a LineItem.
const int BORDER = 30 |
spece + sizerect <= 13 for screens 800x600
const int info_z = 132 |
Z-coordinate of a rect containing the info.
const int inforect_z = 131 |
Z-coordinate of a CursItem.
const int min_rtti = QGraphicsItem::UserType |
const int node_z = 127 |
Z-coordinate of the grid.
const int sizerect = 12 |
constant used to draw an arrow
const int sizerecth = 8 |
size and space are used to draw the color palets
const int space = 1 |
size and space are used to draw the thick palets
const int thick_rtti = min_rtti+9 |
Type indentifier of a InfoItem.