X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Viewer.h;h=8c2f13c9c4f470fc30c55074cd12972bdfa094e2;hb=329d73a7dbce38e38063ff41186be492e3529ab5;hp=d85a160cf9edbf96c33e98cdce185eb2e4aec4be;hpb=1faf79937e639b380c9d48fda5c1932522718548;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);