X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/0d3590739ff5a4ca9e87c052ac142f5d1d3a68ab..7b1c7e44123b9b2626205a89e27b2a4712ea30c6:/GroupScene.h diff --git a/GroupScene.h b/GroupScene.h index 19185a1..a691a6d 100644 --- a/GroupScene.h +++ b/GroupScene.h @@ -42,7 +42,7 @@ public: - AddGroup: while a new group (empty or from selected blocks) is created - ItemEdtion: can move/resize blocks/interfaces, remove blocks/interface/group, ... */ - enum EditMode { InitState, AddBlock, AddConnection, AddGroup, ItemEdition }; + enum EditMode { InitState, AddConnection, ItemEdition }; GroupScene(GroupScene* _parentScene, GroupWidget* _window, Dispatcher* _dispatcher, Parameters* _params, bool topScene = false, QObject *parent = 0); ~GroupScene(); @@ -50,6 +50,7 @@ public: // attributes getters inline GroupItem* getGroupItem() {return groupItem;} inline QList getBoxItems() { return boxItems; } + inline QList getSourceItems() { return sourceItems; } inline QList getConnectionItems() { return connectionItems; } inline QList getChildrenScene() { return childrenScene; } inline GroupScene* getParentScene() { return parentScene; } @@ -76,7 +77,7 @@ public: void removeBoxItem(BoxItem* item); // ConnectionItem related - void createConnectionItem(InterfaceItem* iface1, InterfaceItem* iface2, bool withinGroup = true); + void createConnectionItem(InterfaceItem* iface1, InterfaceItem* iface2); ConnectionItem* searchConnectionItem(InterfaceItem* iface1, InterfaceItem* iface2); void addConnectionItem(ConnectionItem* item); void removeConnectionItem(ConnectionItem* item);