X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_MenuMgr.h;h=738c6f3652e8e5f0605c711920d1fd34e2a180e1;hb=327f5bbd915fb32d21f2e524a8d97536e0e5dd4b;hp=865bbccdc58ff83d5aba681721177006211ec6ad;hpb=4df8e41bd2fdbee3bb669a84abf7b080c386a76f;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_MenuMgr.h b/src/PartSet/PartSet_MenuMgr.h index 865bbccdc..738c6f365 100644 --- a/src/PartSet/PartSet_MenuMgr.h +++ b/src/PartSet/PartSet_MenuMgr.h @@ -15,6 +15,7 @@ #include #include +class ModuleBase_Operation; class PartSet_Module; class QAction; class QMenu; @@ -46,6 +47,12 @@ public: /// \param theStdActions - a map of standard actions void updateViewerMenu(const QMap& theStdActions); + /// Activates a PartSet document + void activatePartSet() const; + + /// Returns list of granted operation indices + virtual void grantedOperationIds(ModuleBase_Operation* theOperation, QStringList& theIds) const; + public slots: /// Processes the context menu action click /// \param isChecked a state of toggle if the action is checkable