68 void setItem2Point(QTreeWidgetItem* curItem,
const ito::Shape &element);
69 void setItem2Line(QTreeWidgetItem* curItem,
const ito::Shape &element);
70 void setItem2Circle(QTreeWidgetItem* curItem,
const ito::Shape &element);
71 void setItem2Ellipse(QTreeWidgetItem* curItem,
const ito::Shape &element);
72 void setItem2Square(QTreeWidgetItem* curItem,
const ito::Shape &element);
73 void setItem2Rect(QTreeWidgetItem* curItem,
const ito::Shape &element);
74 void setItem2Poly(QTreeWidgetItem* curItem,
const ito::Shape &element);
76 void adjustNumberOfChildItems(QTreeWidgetItem* curItem,
int count);
78 QHash< int, relation> m_relationHash;
85 void updateShapes(
const QVector< ito::Shape > elements);
87 void removeShape(
int index);
90 void addRelation(
const int index1,
const int index2,
const int relationType);
91 void removeRelation(
const int index1,
const int index2);
92 void removeRelations(
const int index1,
const int index2);
93 void removeRelations(
const int index);
94 void removeRelations();
96 QPainterPath renderToPainterPath(
const int xsize,
const int ysize,
const int fontSize);