Go to the documentation of this file.
6#ifndef iview_ISelectable_included
7#define iview_ISelectable_included
23class IInteractiveShape;
Common interface for all display console shapes which can interacts with user.
virtual void OnShapeFocused(IInteractiveShape *shapePtr)=0
Called when shape get focus.
virtual int GetKeysState() const =0
Get state of system keys.
virtual void DeselectAllShapes()=0
Set all shapes to be deselected.
virtual int GetSelectedShapesCount() const =0
Get count of selected shapes.
MousePointerMode
Defines possible states of mouse pointer.
virtual void InsertSelectedShapes(SelectedShapes &result) const =0
Get set of selected shapes.
EditMode
Describes standard edit modes.
virtual void OnShapeDefocused(IInteractiveShape *shapePtr)=0
Called when shape loose focus.
QSet< IInteractiveShape * > SelectedShapes
virtual void OnShapeSelected(IInteractiveShape &shape, bool state=true)=0
It is called after change shape selection state.
virtual int GetEditMode() const =0
Get actual edit mode.
This interface describes all untransparent GUI objects, which can be touched.
In this library is defined 2D view concept and standard visualisation objects.
© Witold Gantzke and Kirill Lepskiy