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