1 #ifndef iview_ISelectableLayer_included
2 #define iview_ISelectableLayer_included
6 #include <qnamespace.h>
90 #endif // !iview_ISelectableLayer_included
Interface for a logical layer in the console view.
virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag)=0
Called, when mouse button was pushed down or up.
virtual TouchState IsTouched(istd::CIndex2d position, IInteractiveShape **shapePtrPtr=NULL) const =0
Check, if any shape is touched.
virtual bool ConnectInteractiveShape(IInteractiveShape *shapePtr)=0
Connect active shape object.
virtual int GetUnselectedShapesCount() const =0
Get number of unselected shapes.
virtual bool OnFocusedMouseMove(istd::CIndex2d position)=0
Called, when this layer has focus, and mouse was moved.
Index implementation for addressing elements in 2D-space.
Common interface for all display console shapes which can interacts with user.
virtual void DrawFocusedShape(QPainter &drawContext)=0
Draw only focused shape.
Common interface for all, you can drag.
Enumeration for possible shape touch states.
virtual bool OnFocusedMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag)=0
Called, when this layer has focus, and mouse button was pushed down or up on this object...