X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_ContextMenuMgr.h;h=40de3f5335dffc244cdebb58e907e80421532eb7;hb=8265a72ffc4629fde76928773cffbca1db07e2dd;hp=1ce4bcb1bad95365a0f77d0571b93bce9cd7df5e;hpb=ec7c4f6ca5f54babcdb171e1df2b1cfe06d4e6fe;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ContextMenuMgr.h b/src/XGUI/XGUI_ContextMenuMgr.h index 1ce4bcb1b..40de3f533 100644 --- a/src/XGUI/XGUI_ContextMenuMgr.h +++ b/src/XGUI/XGUI_ContextMenuMgr.h @@ -49,7 +49,10 @@ Q_OBJECT /// Connect to viewer from workshop. Has to called at creation of viewer. void connectViewer(); + /// Add menu items for Object browser pop-up void addObjBrowserMenu(QMenu*) const; + + /// Add menu items for Viewer pop-up void addViewerMenu(QMenu*) const; /// Returns a list of object group names of the action @@ -81,6 +84,8 @@ signals: /// \param theEvent a context menu event void onContextMenuRequest(QContextMenuEvent* theEvent); + void onRename(); + private: /** * Add action