X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ContextMenuMgr.h;h=40de3f5335dffc244cdebb58e907e80421532eb7;hb=327f5bbd915fb32d21f2e524a8d97536e0e5dd4b;hp=1ce4bcb1bad95365a0f77d0571b93bce9cd7df5e;hpb=6184808bb36e2b78623c300b30306ebb697f4ebb;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