개정판 3e016424
issue #481: for spec break
Change-Id: I0ac739802a163c3e351c25f06f2ab6dec76ef125
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
110 | 110 |
''' |
111 | 111 |
from EngineeringErrorItem import QEngineeringErrorItem |
112 | 112 |
from EngineeringLineItem import QEngineeringLineItem |
113 |
from EngineeringSpecBreakItem import QEngineeringSpecBreakItem |
|
113 | 114 |
errors = [] |
115 |
if type(self) is QEngineeringSpecBreakItem: |
|
116 |
return errors |
|
114 | 117 |
docdata = AppDocData.instance() |
115 | 118 |
dataPath = docdata.getErrorItemSvgPath() |
116 | 119 |
origin = [int(pt) for pt in docdata.getAppConfigs('app', 'error origin point')[0].value.split(',')] |
내보내기 Unified diff