|
ACF $AcfVersion:0$
|
Common interface for all shapes which are mouse events receiver. More...
#include <IMouseActionObserver.h>
Public Member Functions | |
| 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. | |
| virtual bool | OnMouseMove (istd::CIndex2d position)=0 |
| It is called, when mouse is moved. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Common interface for all shapes which are mouse events receiver.
Definition at line 22 of file IMouseActionObserver.h.
|
pure virtual |
It is called, when mouse button is pushed down or up on this object.
| position | - position of mouse pointer on client area (picture coords). |
| downFlag | - true, if mouse button is pushed down, false if pushed up. |
Implemented in iview::CAnnulusSegmentShape, iview::CAnnulusShape, iview::CArcShape, iview::CCenterPinShape, iview::CCircleShape, iview::CDistanceToolShape, iview::CInteractiveShapeBase, iview::CLabelShape, iview::CLineShape, iview::CParallelogramShape, iview::CPinShape, iview::CPolygonShape, iview::CPolylineShape, iview::CRectangleShape, iview::CRectControlledShapeBase, iview::CTubePolylineShape, and iview::CViewBase.
|
pure virtual |
It is called, when mouse is moved.
Only objects with focus receive this event.
| position | - position of mouse pointer on client area (picture coords). |
Implemented in iview::CAnnulusSegmentShape, iview::CAnnulusShape, iview::CArcShape, iview::CCenterPinShape, iview::CCircleShape, iview::CDistanceToolShape, iview::CInteractiveShapeBase, iview::CLabelShape, iview::CLineShape, iview::CParallelogramShape, iview::CPinShape, iview::CPolygonShape, iview::CRectangleShape, iview::CTubePolylineShape, iview::CViewBase, and iview::CViewport.