6 #include "model/terminal.h" 22 QRectF boundingRect()
const override;
23 void paint(QPainter*,
const QStyleOptionGraphicsItem*, QWidget*)
override;
24 QVariant itemChange(GraphicsItemChange,
const QVariant &)
override;
Definition: gterminal.h:27
Object * obj
The object that is being wrapped.
Definition: gobject.h:177
void applyToModel() override
Apply changes to the underlying model object.
Definition: terminal.h:16
The base class of all objects represented in a graphical scene.
Definition: gobject.h:24
Definition: gterminal.h:8
Definition: terminal.h:45
void reloadFromModel() override
Update the graphical representation to match the object from the model.