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

@@ -113,6 +113,7 @@ class Diagram : public QGraphicsScene
DiagramEventInterface *m_event_interface;
bool m_freeze_new_elements_;
bool m_freeze_new_conductors_;
// METHODS
protected:
@@ -194,6 +195,7 @@ class Diagram : public QGraphicsScene
QList<CustomElement *> customElements() const;
QList<Element *> elements() const;
QList<Conductor *> conductors() const;
QSet<DiagramTextItem *> selectedTexts() const;
QSet<ConductorTextItem *> selectedConductorTexts() const;
QSet<ElementTextItem*> selectedElementTexts() const;
@@ -216,10 +218,15 @@ class Diagram : public QGraphicsScene
//methods related to element label Update Policy
void freezeElements();
void unfreezeElements();
void freezeNew();
void unfreezeNew();
void setFreezeNewElements(bool);
bool freezeNewElements();
//methods related to conductor label Update Policy
void freezeConductors();
void unfreezeConductors();
void setFreezeNewConductors(bool);
bool freezeNewConductors();
//methods related to insertion and loading of folio sequential
void insertFolioSeqHash (QHash<QString, QStringList> *hash, QString title, QString seq, NumerotationContext *nc);
void loadFolioSeqHash (QHash<QString, QStringList> *hash, QString title, QString seq, NumerotationContext *nc);