Salome HOME
0021883 [CEA 674] Deactivate pre-selection in OCC and VTK viewer
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewFrame.h
index 99cfdb064ffa051887d678ba71d666f2ada2f365..35935b630b8541e44a5bd257086f4628125de2a0 100644 (file)
@@ -72,6 +72,12 @@ public:
   virtual int  zoomingStyle() const { return getView(MAIN_VIEW)->zoomingStyle(); }
   virtual void setZoomingStyle( const int );
 
+  virtual bool isSelectionEnabled() const { return getView(MAIN_VIEW)->isSelectionEnabled(); }
+  virtual void enableSelection( bool );
+
+  virtual bool isPreselectionEnabled() const { return getView(MAIN_VIEW)->isPreselectionEnabled(); }
+  virtual void enablePreselection( bool );
+
   virtual void setViewManager( SUIT_ViewManager* );
 
   virtual bool eventFilter(QObject* watched, QEvent* e) { return SUIT_ViewWindow::eventFilter(watched, e); }