개정판 659a8bcc
issue #000: disable auto connection
Change-Id: I8e4ce3a0c0fa8749f6926cbd65bba330ab5c353a
DTI_PID/DTI_PID/QtImageViewer.py | ||
---|---|---|
575 | 575 |
scenePos = QPointF(items[0].center()[0], items[0].center()[1]) |
576 | 576 |
|
577 | 577 |
matches = [item for item in self.scene.items() if (type(item) is QEngineeringLineItem) and (item.distanceTo((scenePos.x(), scenePos.y())) < 20)] |
578 |
if len(matches) == 1: |
|
578 |
if False:#len(matches) == 1:
|
|
579 | 579 |
pass |
580 | 580 |
#matches[0].insertSymbol(svg, scenePos) |
581 | 581 |
else: |
내보내기 Unified diff