mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-18 17:49:59 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user