|
Schim
|
Class representing a header for a sheet. More...
#include <header.h>
Public Member Functions | |
| Header ()=default | |
| Default constructor. | |
| Header (CompositeObject &&obj) | |
| Move constructor. More... | |
| Header (const Header &obj) | |
| Copy constructor. | |
Public Member Functions inherited from CompositeObject | |
| CompositeObject (const CompositeObject &obj) | |
| 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. | |
| virtual void | remove (Object *obj) |
Remove obj from the object. More... | |
Public Member Functions inherited from Object | |
| virtual | ~Object ()=default |
| This destructor does nothing. More... | |
Public Member Functions inherited from Entity | |
| Entity (Entity *parent=nullptr) | |
| Construct an empty entity with an optional parent. | |
| virtual | ~Entity ()=default |
| Default destructor that makes this class virtual. | |
| VariableSet | getVariables () const |
| Return the variables defined for this entity. More... | |
Static Public Member Functions | |
| static Header * | absorb (CompositeObject *obj) |
Steal everything from obj and delete it. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Entity | |
| QString | name |
| The name of the entity. | |
| QString | fileName |
| The name of the source file where the entity is defined. | |
| VariableSet | variables |
| The variables associated with this entity. | |
| Entity * | parent {} |
| The parent of this entity. | |
Class representing a header for a sheet.
It is a specialization of CompositeObject and its content is user-configurable. For example, the user can enable/disable column and row markers and set the pattern that generates them.
|
explicit |
Move constructor.
Take all children from obj. Consequently, obj is emptied and this object takes ownership of its children.
|
static |
Steal everything from obj and delete it.
This creates a new component containing all constituents from obj, and then destroys obj.
1.8.13