Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Synchronize displayed objects if Viewer was opened after displaying
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_MenuMgr.h
diff --git
a/src/PartSet/PartSet_MenuMgr.h
b/src/PartSet/PartSet_MenuMgr.h
index 93f545360bc5f771b99c94e244ba4d5f4abe41ec..7a94a0d9c633e1d65d06433d2bd947f353c89adc 100644
(file)
--- 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<QString, QAction*>& theStdActions) const;
/// \return true if items are added and there is no necessity to provide standard menu
bool addViewerMenu(QMenu* theMenu, const QMap<QString, QAction*>& theStdActions) const;
+ /// Update state of pop-up menu items in viewer
+ /// \param theStdActions - a map of standard actions
+ void updateViewerMenu(const QMap<QString, QAction*>& 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
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);
/// 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
private:
/// Returns true if the current operation is sketch entity create operation
/// \param theValue the current auxiliary value