21 virtual void Draw(QPainter& drawContext)
const override;
Simple rectangle with integer bounds.
Common interface for model objects, that supports Model/Observer design pattern.
Set of change flags (its IDs).
virtual void Draw(QPainter &drawContext) const override
Draw this shape using draw context.
virtual bool OnModelAttached(imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override
Callback invoked when an observable model is about to be attached to this observer.
virtual i2d::CRect CalcBoundingBox() const override
Calculate bounding box.
In this library is defined 2D view concept and standard visualisation objects.