Schim
Public Member Functions | List of all members
Rect Class Reference

A visual rectangle object. More...

#include <rect.h>

Inheritance diagram for Rect:
[legend]
Collaboration diagram for Rect:
[legend]

Public Member Functions

 Rect ()
 Construct a null rectangle.
 
 Rect (qreal x, qreal y, qreal width, qreal height)
 Usual way to construct a rectangle.
 
 Rect (const Rect &rect)
 Copy constructor.
 
QPointF getPos () const override
 Return the position of the object in the sheet.
 
void setPos (const QPointF &pos) override
 Set the position of the object in the sheet.
 
- Public Member Functions inherited from Object
virtual ~Object ()=default
 This destructor does nothing. More...
 

Detailed Description

A visual rectangle object.

Inherits QRectF so we don't have to reimplement convenience functions that QRectF already provides.


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