|
Schim
|
This class models a sheet of paper. More...
#include <sheet.h>
Public Member Functions | |
| int | getIndex () |
| Return the index of the sheet in the project it belongs to. | |
| virtual Project * | getParent () const |
Override getParent with covariant return type Project. | |
| void | setHeader (Header *header, bool destroy=true) |
| Set this sheet's header. 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... | |
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. | |
This class models a sheet of paper.
This class should always take care of the destruction of the objects it contains.
| void Sheet::setHeader | ( | Header * | header, |
| bool | destroy = true |
||
| ) |
Set this sheet's header.
| destroy | Whether to destroy the old header. |
header.
1.8.13