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
 Message handler for selection changes. More...
 
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. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Interface for external view event observer.

Definition at line 22 of file IViewEventObserver.h.

Member Function Documentation

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.

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:

© 2007-2017 Witold Gantzke and Kirill Lepskiy