개정판 149967a7
issue #000: now label find owner symbol itself and valve oper code find in-line item as owner
Change-Id: Iea2d60f1d48c2e49c2c1a212049479deb28c7aa1
DTI_PID/DTI_PID/TextItemFactory.py | ||
---|---|---|
276 | 276 |
if 1 == len(configs) and configs[0].value: |
277 | 277 |
symbol_names = configs[0].value.split(',') |
278 | 278 |
for symbol in appDocData.symbols: |
279 |
if symbol.name in symbol_names and symbol.includes(textInfo.center) and '"' not in textInfo._text:
|
|
279 |
if symbol.name in symbol_names and symbol.includes(textInfo.center) and '"' not in textInfo.getText():
|
|
280 | 280 |
item = QEngineeringNoteItem(symbol=symbol) |
281 | 281 |
item.owner = symbol |
282 | 282 |
symbol.add_assoc_item(item, 0) |
내보내기 Unified diff