Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / XGUI / XGUI_Viewer.h
index d85a160cf9edbf96c33e98cdce185eb2e4aec4be..8c2f13c9c4f470fc30c55074cd12972bdfa094e2 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "XGUI.h"
 #include "XGUI_Constants.h"
+#include <ModuleBase_Definitions.h>
 
 #include <QObject>
 #include <QMap>
@@ -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);