ICF 3.0.5.47
Technical documentation of ICF Libraries
iview::IViewEventObserver Class Referenceabstract

Interface for external view event observer. More...

#include <IViewEventObserver.h>

Inheritance diagram for iview::IViewEventObserver:
Collaboration diagram for iview::IViewEventObserver:

Public Member Functions

virtual bool OnSelectChange (const IShapeView &view, const istd::CIndex2d &position, const IInteractiveShape &shape, bool state)=0
 Message handler for selection changes.
 
virtual bool OnViewMouseButton (const IShapeView &view, const istd::CIndex2d &position, Qt::MouseButton buttonType, bool state, const IInteractiveShape *shapePtr)=0
 Message handler for mouse button click.
 

Detailed Description

Interface for external view event observer.

Definition at line 27 of file IViewEventObserver.h.

Member Function Documentation

◆ OnSelectChange()

virtual bool iview::IViewEventObserver::OnSelectChange ( const IShapeView & view,
const istd::CIndex2d & position,
const IInteractiveShape & shape,
bool state )
pure virtual

Message handler for selection changes.

Returns
true, if this event was consumed by this listener and should not be further processed.

Implemented in iview::CViewport.

◆ OnViewMouseButton()

virtual bool iview::IViewEventObserver::OnViewMouseButton ( const IShapeView & view,
const istd::CIndex2d & position,
Qt::MouseButton buttonType,
bool state,
const IInteractiveShape * shapePtr )
pure virtual

Message handler for mouse button click.

Returns
true, if this event was consumed by this listener and should not be further processed.

Implemented in iview::CViewport.


The documentation for this class was generated from the following file:

© Witold Gantzke and Kirill Lepskiy