1 #ifndef COMPOSITEOBJECT_H 2 #define COMPOSITEOBJECT_H 4 #include "model/object.h" 6 #include "model/variable.h" 24 Object *clone()
const override;
27 QPointF
getPos()
const override;
28 QList<Object *> &getConstituents();
29 const QList<Object *> &getConstituents()
const;
32 void setPos(
const QPointF &pos)
override;
34 void add(
const QList<Object*> &list);
42 virtual void remove(
Object *obj);
49 QList<Object *> constituents;
54 #endif // COMPOSITEOBJECT_H The abstract base class for all objects in a sheet.
Definition: object.h:21
void setPos(const QPointF &pos) override
Set the position of the object in the sheet.
QPointF getPos() const override
Return the position of the object in the sheet.
Base class for entities.
Definition: entity.h:32
An object that consists of other child objects.
Definition: compositeobject.h:16