Add nomenclature model

Add class NomenclatureModel witch is used with QetGraphicsTableItem.
Add ProjectDataBase  class, the goal of this class is to store all
information of a project at an instant T to easilly find it. This class
is still in development and not provide all information that she should.
This commit is contained in:
Claveau Joshua
2020-03-28 16:33:00 +01:00
parent fb7cc6fd3e
commit 66abfbe180
13 changed files with 542 additions and 43 deletions

View File

@@ -71,6 +71,7 @@ class QETProject : public QObject
// methods
public:
QUuid uuid() const;
ProjectState state() const;
QList<Diagram *> diagrams() const;
int getFolioSheetsQuantity() const; /// get the folio sheets quantity for this project
@@ -266,6 +267,7 @@ class QETProject : public QObject
QTimer m_save_backup_timer,
m_autosave_timer;
KAutoSaveFile *m_backup_file = nullptr;
QUuid m_uuid = QUuid::createUuid();
};
Q_DECLARE_METATYPE(QETProject *)