X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/f311fbc3e1436bf248c54225f0743cfa671c4bd7..e5af659f87bcb199d6a5f10f09b311138351d0f3:/Dispatcher.h?ds=sidebyside diff --git a/Dispatcher.h b/Dispatcher.h index fd61087..8ffce45 100644 --- a/Dispatcher.h +++ b/Dispatcher.h @@ -43,12 +43,15 @@ public: GroupWidget* createChildScene(GroupWidget* parentWidget, BoxItem* upperItemOfGroupItem = NULL); void destroyScene(GroupScene* scene); void showRaiseWindow(BoxItem *item); - void showRstClkInter(AbstractBoxItem *item); - void addNewEmptyGroup(GroupScene *scene); + void showRstClkIface(AbstractBoxItem *item); + void showWishboneIface(AbstractBoxItem *item); + GroupWidget *addNewEmptyGroup(GroupScene *scene, bool show = true); void addNewFullGroup(); inline GroupWidget* getCurrentGroup() { return currentGroup; } + inline void setSceneCounter(int value) { sceneCounter = value;} + bool isCurrentProject; public slots: @@ -87,14 +90,14 @@ public slots: */ void disconnectInterFromGroup(InterfaceItem* item); /*! - * \brief removeBlockInterface + * \brief removeFunctionalInterface * \param item item is always owned by a BoxItem * * This method is called only when the user right clicks on an InterfaceItem (that belongs - * to a BoxItem and has a multiplicity > 1) and chooses remove in the contextual menu. + * to a BoxItem that represents a functional block and has a multiplicity > 1) and chooses remove in the contextual menu. * Thus, parameter item is always owned by a BoxItem */ - void removeBlockInterface(InterfaceItem* item); + void removeFunctionalInterface(InterfaceItem* item); /*! * \brief removeGroupInterface * \param item item is always owned by a GroupItem