Set of change flags (its IDs).
Common interface for all display console shapes.
Common interface for a general shape view implementations.
This interface describes all untransparent GUI objects, which can be touched.
Interface for a logical layer in the console view.
virtual int GetShapesCount() const =0
Get count of all shapes on this layer.
virtual void UpdateAllShapes(const istd::IChangeable::ChangeSet &changeSet)=0
Send update to all shapes after view changes.
virtual IShapeView * GetViewPtr() const =0
Get parent view of this layer.
virtual void DisconnectAllShapes()=0
Disconnect all shapes from this layer.
virtual void DrawShapes(QPainter &drawContext)=0
Draw all shapes using specified draw context.
virtual bool IsShapeConnected(IShape *shapePtr)=0
Check, if the shape is connected to the layer.
virtual bool ConnectShape(IShape *shapePtr)=0
Connect shape object to view.
virtual Shapes GetShapes() const =0
Get all shapes on this layer.
virtual void SetVisible(bool state=true)=0
Make this layer visible.
virtual void OnConnectView(IShapeView *viewPtr)=0
Called after layer is connected to view.
@ LT_BACKGROUND
Background layer.
@ LT_NONE
Layer type is not set.
@ LT_INACTIVE
Layer with inactive shapes.
@ LT_ACTIVE
Layer with active shapes.
@ LT_CALIBRATION
Calibration layer.
virtual void OnDisconnectView(IShapeView *viewPtr)=0
Called before layer is disconnected from view.
virtual bool IsVisible() const =0
Check, if this layer is visible.
In this library is defined 2D view concept and standard visualisation objects.