X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ViewWindow.h;h=65c2ae273cc87b9c50a25f7636d97de8515aff75;hb=d7f39bb5064d81ef383a672d5f38718369a13899;hp=77b966d860a0901ba6eeac2250bab8db8f3c3c03;hpb=de0f49686ec6655ddc5816c8fa5383964662aec4;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ViewWindow.h b/src/XGUI/XGUI_ViewWindow.h index 77b966d86..65c2ae273 100644 --- a/src/XGUI/XGUI_ViewWindow.h +++ b/src/XGUI/XGUI_ViewWindow.h @@ -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();