31 virtual Object *clone()
const = 0;
35 virtual QPointF
getPos()
const = 0;
36 virtual QString getProperty(
const QString &name)
const;
40 virtual void setPos(
const QPointF &pos) = 0;
41 virtual void setProperty(
const QString &name,
const QString &value);
44 virtual bool operator==(
const Object &obj)
const;
45 virtual bool operator!=(
const Object &obj)
const;
The abstract base class for all objects in a sheet.
Definition: object.h:21
virtual void setPos(const QPointF &pos)=0
Set the position of the object in the sheet.
virtual QPointF getPos() const =0
Return the position of the object in the sheet.
This class models a sheet of paper.
Definition: sheet.h:16
An object that consists of other child objects.
Definition: compositeobject.h:16
virtual ~Object()=default
This destructor does nothing.