X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IModule.h;h=8ac4817bce5d8260faa29be77c1f9310c5c09953;hb=397bec888031ab3d5d0578d3094e01f9a052222f;hp=a89671c2fb37ad38dee7ba3916e2c80bab5e222a;hpb=0f9e6aed4b7f5b75eb13b39709dac59986fd3684;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IModule.h b/src/ModuleBase/ModuleBase_IModule.h index a89671c2f..8ac4817bc 100755 --- a/src/ModuleBase/ModuleBase_IModule.h +++ b/src/ModuleBase/ModuleBase_IModule.h @@ -105,11 +105,13 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject /// Realizes some functionality by an operation start virtual ModuleBase_Operation* currentOperation() const = 0; - /// Add menu items for viewer into the given menu - /// \param theMenu a popup menu to be shown in the viewer + /// Add menu items for viewer into the actions map /// \param theStdActions a map of standard actions + /// \param theMenuActions map of action/menu for the desirable index in the viewer menu /// \return true if items are added and there is no necessity to provide standard menu - virtual bool addViewerMenu(QMenu* theMenu, const QMap& theStdActions) const + virtual bool addViewerMenu(const QMap& theStdActions, + QWidget* theParent, + QMap& theMenuActions) const { return false; } /// Add menu items for object browser into the given menu