QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RNavigationAction.h
Go to the documentation of this file.
1 
20 #ifndef RNAVIGATIONACTION_H
21 #define RNAVIGATIONACTION_H
22 
23 #include "core_global.h"
24 
25 #include "RActionAdapter.h"
26 #include "RMouseEvent.h"
27 #include "RGraphicsView.h"
28 #include "RGuiAction.h"
29 
35 public:
36  RNavigationAction(RGuiAction* guiAction=NULL);
37 
38  virtual void mousePressEvent(RMouseEvent& event);
39  virtual void mouseReleaseEvent(RMouseEvent& event);
40  virtual void mouseMoveEvent(RMouseEvent& event);
41 
42 private:
43  bool panning;
45 };
46 
48 
49 #endif