개정판 6ab4f2c5
issue #000: instrument db update blocked check later and add scene position to text item
Change-Id: Ib5719bc6e7166735195d185e8b5bf4c92462c26d
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
364 | 364 |
connNode.text = str(self.conns[0].uid) if hasattr(self.conns[0], 'uid') else str(self.conns[0]) |
365 | 365 |
node.append(connNode) |
366 | 366 |
|
367 |
sceneNode = Element('SCENE') |
|
368 |
sceneNode.text = str(self.sceneBoundingRect()).replace('PyQt5.QtCore.QRectF(', '').replace(' ', '').replace(')', '') |
|
369 |
node.append(sceneNode) |
|
370 |
|
|
367 | 371 |
except Exception as ex: |
368 | 372 |
from App import App |
369 | 373 |
from AppDocData import MessageType |
내보내기 Unified diff