mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-22 12:39:59 +01:00
Folio List: XML save/open added. When Application starts, folio list is not added
so that user gets the option to choose whether he wants to add folio list or not. Bug remaining: - When open project file with folio_list present, folio list sheets are at the end, not at the beginning. - Possibly many others. Thorough testing required. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2847 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -74,6 +74,8 @@ class QETProject : public QObject {
|
||||
public:
|
||||
ProjectState state() const;
|
||||
QList<Diagram *> diagrams() const;
|
||||
int getFolioSheetsQuantity() const;
|
||||
void setFolioSheetsQuantity(int);
|
||||
int folioIndex(const Diagram *) const;
|
||||
ElementsCollection *embeddedCollection() const;
|
||||
TitleBlockTemplatesProjectCollection *embeddedTitleBlockTemplatesCollection();
|
||||
@@ -175,6 +177,8 @@ class QETProject : public QObject {
|
||||
QDomDocument document_root_;
|
||||
/// Diagrams carried by the project
|
||||
QList<Diagram *> diagrams_;
|
||||
/// Folio List Sheet is added to this project.
|
||||
int folioSheetsQuantity;
|
||||
/// Embedded elements collection
|
||||
XmlElementsCollection *collection_;
|
||||
/// Project title
|
||||
|
||||
Reference in New Issue
Block a user