![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
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. | |
Common interface for all shapes which are mouse events receiver.
Definition at line 27 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). |
buttonType | determine the mouse butten type. |
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.
© Witold Gantzke and Kirill Lepskiy