Update Policy now works with conductor autonumberings

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4680 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
dfochi
2016-09-01 19:41:49 +00:00
parent 47b0fd7f10
commit 30a9aa9cfe
10 changed files with 224 additions and 36 deletions

View File

@@ -133,6 +133,7 @@ class QETProject : public QObject
QString elementAutoNumCurrentFormula() const;
QString elementCurrentAutoNum() const;
//Element
void freezeExistentElementLabel(int,int);
void freezeNewElementLabel(int,int);
void unfreezeExistentElementLabel(int,int);
@@ -140,6 +141,14 @@ class QETProject : public QObject
bool freezeNewElements();
void setFreezeNewElements(bool);
//Conductor
void freezeExistentConductorLabel(int,int);
void unfreezeExistentConductorLabel(int,int);
void freezeNewConductorLabel(int,int);
void unfreezeNewConductorLabel(int,int);
bool freezeNewConductors();
void setFreezeNewConductors(bool);
bool autoConductor () const;
bool autoElement () const;
bool autoFolio () const;
@@ -268,6 +277,7 @@ class QETProject : public QObject
bool m_auto_conductor;
XmlElementCollection *m_elements_collection;
bool m_freeze_new_elements;
bool m_freeze_new_conductors;
};
Q_DECLARE_METATYPE(QETProject *)
#endif