mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
slave element: when linked to master, label is replaced by the label of master, and show the position of the master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2946 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -503,6 +503,17 @@ void Element::initLink(QETProject *prj) {
|
||||
tmp_uuids_link.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Element::setElementInformations
|
||||
* Set new information for this element.
|
||||
* This method emit @elementInfoChange
|
||||
* @param dc
|
||||
*/
|
||||
void Element::setElementInformations(DiagramContext dc) {
|
||||
element_informations_ = dc;
|
||||
emit elementInfoChange(element_informations_);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief comparPos
|
||||
* Compare position of the two elements. Compare 3 points:
|
||||
|
||||
Reference in New Issue
Block a user