Salome HOME
#1133 Del in old GEOM
[modules/shaper.git] / src / XGUI / XGUI_SelectionMgr.h
index 98755ea20078afe8f50a0c7a001a35100a837376..441b52d6436d825cf512964cee732a08db3dea67 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "XGUI.h"
 #include <ModuleBase_Definitions.h>
+#include <ModuleBase_ISelection.h>
 #include <QObject>
 #include <QModelIndexList>
 
@@ -50,6 +51,13 @@ Q_OBJECT
   /// \param isUpdateViewer the parameter whether the viewer should be update immediatelly
   void updateSelectedOwners(bool isUpdateViewer);
 
+  //! Clears selection in Viewer and object Browser
+  void clearSelection();
+
+  /// Updates selection, which are depend on the selection in the given place
+  /// \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();