개정판 58581b70
issue #000: fix note item assoc
Change-Id: Ifc6ea27d014cb5a61506ff7abf4801ad3620ed3f
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
377 | 377 |
from EngineeringValveOperCodeTextItem import QEngineeringValveOperCodeTextItem |
378 | 378 |
from QEngineeringTrimLineNoTextItem import QEngineeringTrimLineNoTextItem |
379 | 379 |
from QEngineeringTagNoTextItem import QEngineeringTagNoTextItem |
380 |
from EngineeringNoteItem import QEngineeringNoteItem |
|
380 | 381 |
|
381 | 382 |
try: |
382 | 383 |
worker.displayMessage.emit('Initiating...') |
... | ... | |
409 | 410 |
for item in worker.graphicsView.scene.items(): |
410 | 411 |
if type(item) is QEngineeringSpecBreakItem: |
411 | 412 |
specBreak.append(item) |
412 |
elif issubclass(type(item), SymbolSvgItem) and not type(item) is QEngineeringUnknownItem: |
|
413 |
elif issubclass(type(item), SymbolSvgItem) and not type(item) is QEngineeringUnknownItem and not type(QEngineeringNoteItem):
|
|
413 | 414 |
matches = [vendor_package for vendor_package in vendor_packages if vendor_package.includes(item)] |
414 | 415 |
if matches: |
415 | 416 |
item.set_property('Supplied By', vendorTag) |
내보내기 Unified diff