|
Schim
|
The abstract base class for all objects in a sheet. More...
#include <object.h>
Public Member Functions | |
| virtual | ~Object ()=default |
| This destructor does nothing. More... | |
| virtual QPointF | getPos () const =0 |
| Return the position of the object in the sheet. | |
| virtual void | setPos (const QPointF &pos)=0 |
| Set the position of the object in the sheet. | |
The abstract base class for all objects in a sheet.
Everything that has a visual representation in a sheet is derived from this class.
This is a model class, which is distinct from a graphical class. A graphical class represents a wrapper around model classes so that they can be represented in a QGraphicsScene. Model classes are independent of any user interface.
|
virtualdefault |
This destructor does nothing.
It is declared virtual in order to be properly used by derived classes.
1.8.13