Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / XGUI / XGUI_ViewWindow.h
index 77b966d860a0901ba6eeac2250bab8db8f3c3c03..65c2ae273cc87b9c50a25f7636d97de8515aff75 100644 (file)
@@ -93,6 +93,9 @@ public:
   //! Returns true if ribbon line drawing enabled
   bool isDrawModeEnabled() const { return myEnableDrawMode; }
 
+  //! Updates drawing mode in the view window
+  void updateEnabledDrawMode();
+
 signals:
   //! Emited whien view transformation operation is started
   void vpTransformationStarted(XGUI_ViewWindow::OperationType type);
@@ -192,6 +195,8 @@ protected:
 
   virtual void showEvent(QShowEvent* theEvent);
 
+  virtual void contextMenuEvent(QContextMenuEvent* theEvent);
+
 private slots:
   void onClose();
   void onMinimize();