Salome HOME
#1721 Selecting arcs in mirror constraint is too long and removes other edges
[modules/shaper.git] / src / XGUI / XGUI_SelectionMgr.h
index a38546fa0d88a36ff03d6f9b75cf0715abab1b2e..0ca09a167f2c1edc34ee88c026cabc9a2eeb260d 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "XGUI.h"
 #include <ModuleBase_Definitions.h>
+#include <ModuleBase_ISelection.h>
 #include <QObject>
 #include <QModelIndexList>
 
@@ -53,6 +54,10 @@ Q_OBJECT
   //! Clears selection in Viewer and object Browser
   void clearSelection();
 
+  /// Updates selection, which are depend on the selection in the given place
+  /// \param thePlace a widget where selection has happened.
+  void updateSelectionBy(const ModuleBase_ISelection::SelectionPlace& thePlace);
+
 signals:
   //! Emited when selection in a one of viewers was changed
   void selectionChanged();