18class IInteractiveShape;
46 virtual bool OnKeyPress(
int key, Qt::KeyboardModifiers modifiers) = 0;
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 bool OnKeyPress(int key, Qt::KeyboardModifiers modifiers)=0
Called, when key has been pressed.
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 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.