개정판 e534f39d
issue #1053 : 생성한 장치의 데이터 입력 => 폼의 Unit 를 Drawing의 Attrs 에서 읽어 오도록 변경
Change-Id: Ie8edffc92576006b3da35c7a9ff7531f6831504a
HYTOS/HYTOS/Pump_UI.py | ||
---|---|---|
71 | 71 |
self.lineEdit_Vapor_Pressure.setAlignment(QtCore.Qt.AlignCenter) |
72 | 72 |
self.lineEdit_Vapor_Pressure.setObjectName("lineEdit_Vapor_Pressure") |
73 | 73 |
self.label_Vapor_PressureUnit = QtWidgets.QLabel(self.groupBox) |
74 |
self.label_Vapor_PressureUnit.setGeometry(QtCore.QRect(338, 117, 56, 16))
|
|
74 |
self.label_Vapor_PressureUnit.setGeometry(QtCore.QRect(338, 117, 61, 16))
|
|
75 | 75 |
font = QtGui.QFont() |
76 | 76 |
font.setBold(False) |
77 | 77 |
font.setWeight(50) |
... | ... | |
140 | 140 |
self.groupBox.setTitle(_translate("PumpDialog", "Equipment Figure")) |
141 | 141 |
self.label_Img.setText(_translate("PumpDialog", "<html><head/><body><p><img src=\":/images/Pump.png\"/></p></body></html>")) |
142 | 142 |
self.label_5.setText(_translate("PumpDialog", "Elevation")) |
143 |
self.label_ElevationUnit.setText(_translate("PumpDialog", "m"))
|
|
143 |
self.label_ElevationUnit.setText(_translate("PumpDialog", "-"))
|
|
144 | 144 |
self.label_9.setText(_translate("PumpDialog", "Vapor Press.(a)")) |
145 |
self.label_Vapor_PressureUnit.setText(_translate("PumpDialog", "kg/cm2(a)"))
|
|
145 |
self.label_Vapor_PressureUnit.setText(_translate("PumpDialog", "-"))
|
|
146 | 146 |
self.label_3.setText(_translate("PumpDialog", "Diff. P")) |
147 |
self.label_Diff_PressureUnit.setText(_translate("PumpDialog", "kg/cm2"))
|
|
147 |
self.label_Diff_PressureUnit.setText(_translate("PumpDialog", "-"))
|
|
148 | 148 |
self.label_2.setText(_translate("PumpDialog", "Tag No.")) |
149 | 149 |
import Resource_rc |
내보내기 Unified diff