mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-20 19:19:58 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user