Schim
Public Member Functions | List of all members
Object Class Referenceabstract

The abstract base class for all objects in a sheet. More...

#include <object.h>

Inheritance diagram for Object:
[legend]

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~Object()

virtual Object::~Object ( )
virtualdefault

This destructor does nothing.

It is declared virtual in order to be properly used by derived classes.


The documentation for this class was generated from the following file: