개정판 ee195020
issue #481: apply instrument color
Change-Id: I4f0a257be8b27da189e87eb3c418ceb7ea807093
DTI_PID/DTI_PID/TextItemFactory.py | ||
---|---|---|
111 | 111 |
pass |
112 | 112 |
elif self.isSizeText(text, sizeDelimiter): |
113 | 113 |
item = QEngineeringSizeTextItem() |
114 |
item.setToolTip(text)
|
|
114 |
item.setToolTip('SIZE = {}'.format(text))
|
|
115 | 115 |
item.setPlainText(text) |
116 | 116 |
elif self.isTagNoText(text): |
117 | 117 |
item = QEngineeringTagNoTextItem() |
118 |
item.setToolTip(text)
|
|
118 |
item.setToolTip('TAG NO = {}'.format(text))
|
|
119 | 119 |
item.setPlainText(text) |
120 | 120 |
elif self.is_valve_operation_code(text): |
121 | 121 |
item = QEngineeringValveOperCodeTextItem() |
... | ... | |
170 | 170 |
else: |
171 | 171 |
return (False,) |
172 | 172 |
|
173 |
|
|
174 | 173 |
''' |
175 | 174 |
@brief Check Number |
176 | 175 |
@author kyouho |
내보내기 Unified diff