New element panel can read the embedded collection of project (only at opening, other fonctionnality isn't created yet)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4287 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-12-16 17:16:15 +00:00
parent 593f8eb4f1
commit 4f222d2843
14 changed files with 644 additions and 31 deletions

View File

@@ -38,6 +38,7 @@ class MoveElementsHandler;
class MoveTitleBlockTemplatesHandler;
class NumerotationContext;
class QUndoStack;
class XmlElementCollection;
/**
This class represents a QET project. Typically saved as a .qet file, it
@@ -85,6 +86,7 @@ class QETProject : public QObject
void setFolioSheetsQuantity(int); /// set the folio sheets quantity for this project
int folioIndex(const Diagram *) const;
ElementsCollection *embeddedCollection() const;
XmlElementCollection *embeddedElementCollection()const;
TitleBlockTemplatesProjectCollection *embeddedTitleBlockTemplatesCollection();
QString filePath();
void setFilePath(const QString &);
@@ -119,7 +121,6 @@ class QETProject : public QObject
bool autoConductor () const;
void setAutoConductor (bool ac);
QDomDocument toXml();
bool close();
QETResult write();
@@ -230,6 +231,7 @@ class QETProject : public QObject
/// Folio List Sheets quantity for this project.
int folioSheetsQuantity;
bool m_auto_conductor;
XmlElementCollection *m_elements_collection;
};
Q_DECLARE_METATYPE(QETProject *)
#endif