ACF $AcfVersion:0$
Public Member Functions | List of all members
iview::IViewEventObserver Class Referenceabstract

Interface for external view event observer. More...

#include <IViewEventObserver.h>

Inheritance diagram for iview::IViewEventObserver:
istd::IPolymorphic iview::CViewport

Public Member Functions

virtual bool OnSelectChange (const IShapeView &view, const istd::CIndex2d &position, const IInteractiveShape &shape, bool state)=0
 Event handler for selection changes.
 
virtual bool OnViewMouseButton (const IShapeView &view, const istd::CIndex2d &position, Qt::MouseButton buttonType, bool state, const IInteractiveShape *shapePtr)=0
 Event handler for mouse button click.
 
virtual bool OnViewMouseMove (const IShapeView &view, const istd::CIndex2d &position)=0
 Event handler for mouse move event.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Interface for external view event observer.

Definition at line 21 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

Event 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

Event 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.

◆ OnViewMouseMove()

virtual bool iview::IViewEventObserver::OnViewMouseMove ( const IShapeView view,
const istd::CIndex2d position 
)
pure virtual

Event handler for mouse move event.

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: