IMouseActionObserver.h
Go to the documentation of this file.
1 #ifndef iview_IMouseActionObserver_included
2 #define iview_IMouseActionObserver_included
3 
4 
5 // Qt includes
6 #include <qnamespace.h>
7 
8 
9 // ACF includes
10 #include <istd/IPolymorphic.h>
11 
12 #include <iview/iview.h>
13 
14 
15 namespace iview
16 {
17 
18 
23 {
24 public:
31  virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag) = 0;
32 
39  virtual bool OnMouseMove(istd::CIndex2d position) = 0;
40 };
41 
42 
43 } // namespace iview
44 
45 
46 #endif // !iview_IMouseActionObserver_included
47 
48 
Index implementation for addressing elements in 2D-space.
Definition: CIndex2d.h:20
virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag)=0
It is called, when mouse button is pushed down or up on this object.
Common interface for all shapes which are mouse events receiver.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
virtual bool OnMouseMove(istd::CIndex2d position)=0
It is called, when mouse is moved.

© 2007-2017 Witold Gantzke and Kirill Lepskiy