22 explicit Project(
const QList<Sheet*> &sheets);
26 QString getProperty(
const QString
name);
27 QList<Sheet *> &getSheets();
28 QList<Sheet *> getSheets()
const;
35 void setProperty(
const QString &name,
const QString &value);
36 void addSheet(
Sheet *sheet,
int index=-1);
37 void removeSheet(
Sheet *sheet);
44 QList<Sheet *>::iterator begin();
45 QList<Sheet *>::iterator end();
52 QList<Sheet *> sheets;
58 QMap<QString, QString> properties {
Project()
Construct an empty project with default properties.
A project is essentially a list of sheets, along with some project properties.
Definition: project.h:16
Base class for entities.
Definition: entity.h:32
virtual void setParent() const =delete
A project is an entity that has no parent.
QString name
The name of the entity.
Definition: entity.h:67
virtual Entity * getParent() const =delete
A project is an entity that has no parent.
This class models a sheet of paper.
Definition: sheet.h:16