Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / PartSet / PartSet_Module.h
index ea7d30e4dac0997544fc34b33fece681e758cb6a..7e8190eb16755222d7d0290f4bf5c0d2a6ee8963 100644 (file)
@@ -15,6 +15,7 @@
 
 class XGUI_ViewWindow;
 class QMouseEvent;
+class QKeyEvent;
 class PartSet_Listener;
 class ModelAPI_Feature;
 
@@ -61,6 +62,11 @@ public slots:
   /// \param theEvent the mouse event
   void onMouseMoved(XGUI_ViewWindow* theWindow, QMouseEvent* theEvent);
 
+  /// SLOT, that is called by the key in the viewer is clicked.
+  /// \param theWindow the window where the signal appears
+  /// \param theEvent the mouse event
+  void onKeyRelease(XGUI_ViewWindow*, QKeyEvent*);
+
   /// SLOT, to apply to the current viewer the operation
   /// \param theX the X projection value
   /// \param theY the Y projection value