1 #ifndef GCOMPOSITEOBJECT_H 2 #define GCOMPOSITEOBJECT_H 6 #include "model/compositeobject.h" 37 QVariant itemChange(GraphicsItemChange change,
38 const QVariant &value)
override;
41 QPainterPath shape()
const override;
42 QRectF boundingRect()
const override;
45 #endif // GCOMPOSITEOBJECT_H void setCosmetic(bool cosmetic) override
Construct a wrapper around obj.
Object * obj
The object that is being wrapped.
Definition: gobject.h:177
A graphical object that wraps a CompositeObject.
Definition: gcompositeobject.h:11
The base class of all objects represented in a graphical scene.
Definition: gobject.h:24
void applyToModel() override
Apply changes to the underlying model object.
void reloadFromModel() override
Update the graphical representation to match the object from the model.
An object that consists of other child objects.
Definition: compositeobject.h:16