return lst;
}
-void GroupScene::createBlockItem(AbstractBlock *block) {
+BoxItem *GroupScene::createBlockItem(AbstractBlock *block) {
BoxItem* blockItem = new BoxItem(block,dispatcher,params,groupItem);
blockItem->setZValue(1);
addBlockItem(blockItem);
+ return blockItem;
}
void GroupScene::addBlockItem(BoxItem* item) {
void GroupScene::updateConnectionItemsShape() {
foreach(ConnectionItem* conn, connectionItems){
- conn->setPathes();
+ conn->setPath();
}
}