개정판 4b03b7f7
issue #000: trim line fix data gui remain
Change-Id: I4e444f4bede54b41f74bb6eeff57b5ddbd4524b6
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
294 | 294 |
if updateProgress: updateProgress.emit(maxValue) |
295 | 295 |
|
296 | 296 |
### make trim lines |
297 |
pastTrim = docData.tracerLineNos |
|
298 |
for pastTrimIndex in reversed(range(len(pastTrim))): |
|
299 |
if type(pastTrim[pastTrimIndex]) is QEngineeringTrimLineNoTextItem: |
|
300 |
pastTrim[pastTrimIndex].explode() |
|
301 |
|
|
297 | 302 |
updateProgress.emit(-1) # reset progressbar |
298 | 303 |
displayMessage.emit('Unknown line Topology Construction') |
299 | 304 |
orphanLines = [line for line in self._lines if line.owner is None] |
... | ... | |
320 | 325 |
|
321 | 326 |
docData.tracerLineNos.append(trimLineNo) |
322 | 327 |
|
328 |
#(docData.tracerLineNos)) |
|
323 | 329 |
if updateProgress: updateProgress.emit(maxValue) |
324 | 330 |
except Exception as ex: |
325 | 331 |
from App import App |
내보내기 Unified diff