X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Viewer.h;h=8c2f13c9c4f470fc30c55074cd12972bdfa094e2;hb=12621bb509825d0eb1fb0847a7f9c8011021ca5a;hp=d85a160cf9edbf96c33e98cdce185eb2e4aec4be;hpb=2677fb268b57b8c5ea2538b37efd80d933137e43;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Viewer.h b/src/XGUI/XGUI_Viewer.h index d85a160cf..8c2f13c9c 100644 --- a/src/XGUI/XGUI_Viewer.h +++ b/src/XGUI/XGUI_Viewer.h @@ -3,6 +3,7 @@ #include "XGUI.h" #include "XGUI_Constants.h" +#include #include #include @@ -156,6 +157,8 @@ signals: void activated(XGUI_ViewWindow* theWindow); void selectionChanged(); + void contextMenuRequested(QContextMenuEvent*); + public slots: void onWindowMinimized(QMdiSubWindow*); void onWindowActivated(QMdiSubWindow*); @@ -165,7 +168,7 @@ private slots: void onMouseMove(XGUI_ViewWindow* theWindow, QMouseEvent* theEvent); void onMouseReleased(XGUI_ViewWindow* theWindow, QMouseEvent* theEvent); void onMousePressed(XGUI_ViewWindow* theWindow, QMouseEvent* theEvent); - void onContextMenuRequested(QContextMenuEvent* theEvent); + //void onContextMenuRequested(QContextMenuEvent* theEvent); private: void addView(QMdiSubWindow* theView);