개정판 4a99d0e8
issue #589: fix flow mark
Change-Id: I610731b693848068a36f354ed829e51af843950a
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1852 | 1852 |
appDocData.lines.append(processLine) |
1853 | 1853 |
appDocData.allItems.append(processLine) |
1854 | 1854 |
|
1855 |
if processLine.length() > 100: # TODO: check critical length |
|
1856 |
processLine.addFlowArrow() |
|
1855 |
#if processLine.length() > 100: # TODO: check critical length
|
|
1856 |
# processLine.addFlowArrow()
|
|
1857 | 1857 |
|
1858 | 1858 |
# re-order process line's start,end according to flow mark |
1859 | 1859 |
#worker.arrangeLinePosition(lines, symbols, listWidget) |
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
600 | 600 |
appDocData.lines.append(processLine) |
601 | 601 |
appDocData.allItems.append(processLine) |
602 | 602 |
|
603 |
if processLine.length() > 100: # TODO: check critical length |
|
604 |
processLine.addFlowArrow() |
|
603 |
#if processLine.length() > 100: # TODO: check critical length
|
|
604 |
# processLine.addFlowArrow()
|
|
605 | 605 |
|
606 | 606 |
listWidget.addItem('Connecting lines') |
607 | 607 |
if appDocData.lines: |
DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py | ||
---|---|---|
97 | 97 |
return str(self.uid) |
98 | 98 |
|
99 | 99 |
@property |
100 |
def flowMark(self): |
|
101 |
""" getter of flow mark """ |
|
102 |
return self._flowMark |
|
103 |
|
|
104 |
@flowMark.setter |
|
105 |
def flowMark(self, value): |
|
106 |
self._flowMark = value |
|
107 |
|
|
108 |
@property |
|
109 | 100 |
def properties(self): |
110 | 101 |
""" getter of flow mark """ |
111 | 102 |
import uuid |
내보내기 Unified diff