mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-19 09:49:58 +01:00
Element : change freeze label variable from a string to a bool.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4805 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -144,8 +144,7 @@ class Element : public QetGraphicsItem
|
||||
void setUpFormula(bool code_letter = true);
|
||||
void setPrefix(QString);
|
||||
QString getPrefix() const;
|
||||
void freezeLabel();
|
||||
void unfreezeLabel();
|
||||
void freezeLabel(bool freeze);
|
||||
void freezeNewAddedElement();
|
||||
|
||||
protected:
|
||||
@@ -155,6 +154,7 @@ class Element : public QetGraphicsItem
|
||||
protected:
|
||||
DiagramContext m_element_informations, kind_informations_;
|
||||
autonum::sequentialNumbers m_autoNum_seq;
|
||||
bool m_freeze_label = false;
|
||||
|
||||
/**
|
||||
Draw this element
|
||||
|
||||
Reference in New Issue
Block a user