X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_MenuMgr.h;h=7a94a0d9c633e1d65d06433d2bd947f353c89adc;hb=04dcca50b319e65e5141be7f6c329a2e1cf94718;hp=93f545360bc5f771b99c94e244ba4d5f4abe41ec;hpb=5352bbb1915f98d1f02b1cb953a2de19b286a28c;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_MenuMgr.h b/src/PartSet/PartSet_MenuMgr.h index 93f545360..7a94a0d9c 100644 --- a/src/PartSet/PartSet_MenuMgr.h +++ b/src/PartSet/PartSet_MenuMgr.h @@ -42,6 +42,13 @@ public: /// \return true if items are added and there is no necessity to provide standard menu bool addViewerMenu(QMenu* theMenu, const QMap& theStdActions) const; + /// Update state of pop-up menu items in viewer + /// \param theStdActions - a map of standard actions + void updateViewerMenu(const QMap& theStdActions); + + /// Activates a PartSet document + void activatePartSet() const; + public slots: /// Processes the context menu action click /// \param isChecked a state of toggle if the action is checkable @@ -69,6 +76,8 @@ private slots: /// A slot called on edit of feature void onEdit(bool); + void onSelectParentFeature(); + private: /// Returns true if the current operation is sketch entity create operation /// \param theValue the current auxiliary value