[qet] [4495] Add a signal to update slave label if XREF properties has changed |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4495
Author: scorpio810
Date: 2016-05-21 23:30:14 +0200 (Sat, 21 May 2016)
Log Message:
-----------
Add a signal to update slave label if XREF properties has changed
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/slaveelement.cpp
Modified: trunk/sources/qetgraphicsitem/slaveelement.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/slaveelement.cpp 2016-05-21 20:28:25 UTC (rev 4494)
+++ trunk/sources/qetgraphicsitem/slaveelement.cpp 2016-05-21 21:30:14 UTC (rev 4495)
@@ -63,6 +63,7 @@
connect(elmt, SIGNAL(elementInfoChange(DiagramContext, DiagramContext)),this, SLOT(updateLabel()));
connect(diagram()->project(), SIGNAL(projectDiagramsOrderChanged(QETProject*,int,int)), this, SLOT(updateLabel()));
connect(diagram()->project(), SIGNAL(diagramRemoved(QETProject*,Diagram*)), this, SLOT(updateLabel()));
+ connect(elmt -> diagram(), SIGNAL(XRefPropertiesChanged()), this, SLOT(updateLabel()));
updateLabel();
elmt -> linkToElement(this);