hytos / HYTOS / HYTOS / Reactor_UI.py @ e534f39d
이력 | 보기 | 이력해설 | 다운로드 (13.2 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\Reactor.ui'
|
4 |
#
|
5 |
# Created by: PyQt5 UI code generator 5.13.0
|
6 |
#
|
7 |
# WARNING! All changes made in this file will be lost!
|
8 |
|
9 |
|
10 |
from PyQt5 import QtCore, QtGui, QtWidgets |
11 |
|
12 |
|
13 |
class Ui_ReactorDialog(object): |
14 |
def setupUi(self, ReactorDialog): |
15 |
ReactorDialog.setObjectName("ReactorDialog")
|
16 |
ReactorDialog.resize(405, 338) |
17 |
font = QtGui.QFont() |
18 |
font.setFamily("맑은 고딕")
|
19 |
ReactorDialog.setFont(font) |
20 |
icon = QtGui.QIcon() |
21 |
icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
22 |
ReactorDialog.setWindowIcon(icon) |
23 |
self.buttonBox = QtWidgets.QDialogButtonBox(ReactorDialog)
|
24 |
self.buttonBox.setGeometry(QtCore.QRect(260, 304, 136, 23)) |
25 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
26 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
27 |
self.buttonBox.setObjectName("buttonBox") |
28 |
self.groupBox_3 = QtWidgets.QGroupBox(ReactorDialog)
|
29 |
self.groupBox_3.setGeometry(QtCore.QRect(8, 8, 213, 322)) |
30 |
font = QtGui.QFont() |
31 |
font.setBold(True)
|
32 |
font.setWeight(75)
|
33 |
self.groupBox_3.setFont(font)
|
34 |
self.groupBox_3.setObjectName("groupBox_3") |
35 |
self.label_Img = QtWidgets.QLabel(self.groupBox_3) |
36 |
self.label_Img.setGeometry(QtCore.QRect(64, 96, 77, 193)) |
37 |
self.label_Img.setObjectName("label_Img") |
38 |
self.label_2 = QtWidgets.QLabel(self.groupBox_3) |
39 |
self.label_2.setGeometry(QtCore.QRect(10, 32, 49, 21)) |
40 |
font = QtGui.QFont() |
41 |
font.setBold(False)
|
42 |
font.setWeight(50)
|
43 |
self.label_2.setFont(font)
|
44 |
self.label_2.setObjectName("label_2") |
45 |
self.lineEdit_TagNo = QtWidgets.QLineEdit(self.groupBox_3) |
46 |
self.lineEdit_TagNo.setGeometry(QtCore.QRect(64, 32, 133, 21)) |
47 |
font = QtGui.QFont() |
48 |
font.setBold(False)
|
49 |
font.setWeight(50)
|
50 |
self.lineEdit_TagNo.setFont(font)
|
51 |
self.lineEdit_TagNo.setAlignment(QtCore.Qt.AlignCenter)
|
52 |
self.lineEdit_TagNo.setObjectName("lineEdit_TagNo") |
53 |
self.label_Img_N2 = QtWidgets.QLabel(self.groupBox_3) |
54 |
self.label_Img_N2.setGeometry(QtCore.QRect(36, 136, 25, 21)) |
55 |
self.label_Img_N2.setObjectName("label_Img_N2") |
56 |
self.label_Img_N5 = QtWidgets.QLabel(self.groupBox_3) |
57 |
self.label_Img_N5.setGeometry(QtCore.QRect(144, 228, 25, 21)) |
58 |
self.label_Img_N5.setObjectName("label_Img_N5") |
59 |
self.label_Img_N6 = QtWidgets.QLabel(self.groupBox_3) |
60 |
self.label_Img_N6.setGeometry(QtCore.QRect(140, 136, 25, 21)) |
61 |
self.label_Img_N6.setObjectName("label_Img_N6") |
62 |
self.label_Img_N3 = QtWidgets.QLabel(self.groupBox_3) |
63 |
self.label_Img_N3.setGeometry(QtCore.QRect(36, 228, 25, 21)) |
64 |
self.label_Img_N3.setObjectName("label_Img_N3") |
65 |
self.label_Img_N1 = QtWidgets.QLabel(self.groupBox_3) |
66 |
self.label_Img_N1.setGeometry(QtCore.QRect(92, 76, 25, 21)) |
67 |
self.label_Img_N1.setObjectName("label_Img_N1") |
68 |
self.label_Img_N4 = QtWidgets.QLabel(self.groupBox_3) |
69 |
self.label_Img_N4.setGeometry(QtCore.QRect(92, 288, 25, 21)) |
70 |
self.label_Img_N4.setObjectName("label_Img_N4") |
71 |
self.groupBox_2 = QtWidgets.QGroupBox(ReactorDialog)
|
72 |
self.groupBox_2.setGeometry(QtCore.QRect(226, 8, 170, 58)) |
73 |
font = QtGui.QFont() |
74 |
font.setBold(True)
|
75 |
font.setWeight(75)
|
76 |
self.groupBox_2.setFont(font)
|
77 |
self.groupBox_2.setObjectName("groupBox_2") |
78 |
self.label_PressureUnit = QtWidgets.QLabel(self.groupBox_2) |
79 |
self.label_PressureUnit.setGeometry(QtCore.QRect(117, 28, 49, 16)) |
80 |
font = QtGui.QFont() |
81 |
font.setBold(False)
|
82 |
font.setWeight(50)
|
83 |
self.label_PressureUnit.setFont(font)
|
84 |
self.label_PressureUnit.setObjectName("label_PressureUnit") |
85 |
self.lineEdit_Pressure = QtWidgets.QLineEdit(self.groupBox_2) |
86 |
self.lineEdit_Pressure.setGeometry(QtCore.QRect(11, 26, 100, 21)) |
87 |
font = QtGui.QFont() |
88 |
font.setBold(False)
|
89 |
font.setWeight(50)
|
90 |
self.lineEdit_Pressure.setFont(font)
|
91 |
self.lineEdit_Pressure.setAlignment(QtCore.Qt.AlignCenter)
|
92 |
self.lineEdit_Pressure.setObjectName("lineEdit_Pressure") |
93 |
self.groupBox = QtWidgets.QGroupBox(ReactorDialog)
|
94 |
self.groupBox.setGeometry(QtCore.QRect(226, 70, 170, 225)) |
95 |
font = QtGui.QFont() |
96 |
font.setBold(True)
|
97 |
font.setWeight(75)
|
98 |
self.groupBox.setFont(font)
|
99 |
self.groupBox.setObjectName("groupBox") |
100 |
self.label_4 = QtWidgets.QLabel(self.groupBox) |
101 |
self.label_4.setGeometry(QtCore.QRect(72, 20, 49, 16)) |
102 |
font = QtGui.QFont() |
103 |
font.setBold(False)
|
104 |
font.setWeight(50)
|
105 |
self.label_4.setFont(font)
|
106 |
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
|
107 |
self.label_4.setObjectName("label_4") |
108 |
self.label_ElevationUnit = QtWidgets.QLabel(self.groupBox) |
109 |
self.label_ElevationUnit.setGeometry(QtCore.QRect(72, 36, 49, 16)) |
110 |
font = QtGui.QFont() |
111 |
font.setBold(False)
|
112 |
font.setWeight(50)
|
113 |
self.label_ElevationUnit.setFont(font)
|
114 |
self.label_ElevationUnit.setAlignment(QtCore.Qt.AlignCenter)
|
115 |
self.label_ElevationUnit.setObjectName("label_ElevationUnit") |
116 |
self.lineEdit_N1_Elevation = QtWidgets.QLineEdit(self.groupBox) |
117 |
self.lineEdit_N1_Elevation.setGeometry(QtCore.QRect(48, 53, 100, 21)) |
118 |
self.lineEdit_N1_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
119 |
font = QtGui.QFont() |
120 |
font.setBold(False)
|
121 |
font.setWeight(50)
|
122 |
self.lineEdit_N1_Elevation.setFont(font)
|
123 |
self.lineEdit_N1_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
124 |
self.lineEdit_N1_Elevation.setObjectName("lineEdit_N1_Elevation") |
125 |
self.label_N1 = QtWidgets.QLabel(self.groupBox) |
126 |
self.label_N1.setGeometry(QtCore.QRect(11, 55, 25, 17)) |
127 |
font = QtGui.QFont() |
128 |
font.setBold(False)
|
129 |
font.setWeight(50)
|
130 |
self.label_N1.setFont(font)
|
131 |
self.label_N1.setObjectName("label_N1") |
132 |
self.label_N2 = QtWidgets.QLabel(self.groupBox) |
133 |
self.label_N2.setGeometry(QtCore.QRect(11, 83, 25, 17)) |
134 |
font = QtGui.QFont() |
135 |
font.setBold(False)
|
136 |
font.setWeight(50)
|
137 |
self.label_N2.setFont(font)
|
138 |
self.label_N2.setObjectName("label_N2") |
139 |
self.lineEdit_N2_Elevation = QtWidgets.QLineEdit(self.groupBox) |
140 |
self.lineEdit_N2_Elevation.setGeometry(QtCore.QRect(48, 81, 100, 21)) |
141 |
self.lineEdit_N2_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
142 |
font = QtGui.QFont() |
143 |
font.setBold(False)
|
144 |
font.setWeight(50)
|
145 |
self.lineEdit_N2_Elevation.setFont(font)
|
146 |
self.lineEdit_N2_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
147 |
self.lineEdit_N2_Elevation.setObjectName("lineEdit_N2_Elevation") |
148 |
self.label_N3 = QtWidgets.QLabel(self.groupBox) |
149 |
self.label_N3.setGeometry(QtCore.QRect(11, 111, 25, 17)) |
150 |
font = QtGui.QFont() |
151 |
font.setBold(False)
|
152 |
font.setWeight(50)
|
153 |
self.label_N3.setFont(font)
|
154 |
self.label_N3.setObjectName("label_N3") |
155 |
self.lineEdit_N3_Elevation = QtWidgets.QLineEdit(self.groupBox) |
156 |
self.lineEdit_N3_Elevation.setGeometry(QtCore.QRect(48, 109, 100, 21)) |
157 |
self.lineEdit_N3_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
158 |
font = QtGui.QFont() |
159 |
font.setBold(False)
|
160 |
font.setWeight(50)
|
161 |
self.lineEdit_N3_Elevation.setFont(font)
|
162 |
self.lineEdit_N3_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
163 |
self.lineEdit_N3_Elevation.setObjectName("lineEdit_N3_Elevation") |
164 |
self.label_N4 = QtWidgets.QLabel(self.groupBox) |
165 |
self.label_N4.setGeometry(QtCore.QRect(11, 139, 25, 17)) |
166 |
font = QtGui.QFont() |
167 |
font.setBold(False)
|
168 |
font.setWeight(50)
|
169 |
self.label_N4.setFont(font)
|
170 |
self.label_N4.setObjectName("label_N4") |
171 |
self.lineEdit_N4_Elevation = QtWidgets.QLineEdit(self.groupBox) |
172 |
self.lineEdit_N4_Elevation.setGeometry(QtCore.QRect(48, 137, 100, 21)) |
173 |
self.lineEdit_N4_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
174 |
font = QtGui.QFont() |
175 |
font.setBold(False)
|
176 |
font.setWeight(50)
|
177 |
self.lineEdit_N4_Elevation.setFont(font)
|
178 |
self.lineEdit_N4_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
179 |
self.lineEdit_N4_Elevation.setObjectName("lineEdit_N4_Elevation") |
180 |
self.label_N5 = QtWidgets.QLabel(self.groupBox) |
181 |
self.label_N5.setGeometry(QtCore.QRect(11, 167, 25, 17)) |
182 |
font = QtGui.QFont() |
183 |
font.setBold(False)
|
184 |
font.setWeight(50)
|
185 |
self.label_N5.setFont(font)
|
186 |
self.label_N5.setObjectName("label_N5") |
187 |
self.lineEdit_N5_Elevation = QtWidgets.QLineEdit(self.groupBox) |
188 |
self.lineEdit_N5_Elevation.setGeometry(QtCore.QRect(48, 165, 100, 21)) |
189 |
self.lineEdit_N5_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
190 |
font = QtGui.QFont() |
191 |
font.setBold(False)
|
192 |
font.setWeight(50)
|
193 |
self.lineEdit_N5_Elevation.setFont(font)
|
194 |
self.lineEdit_N5_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
195 |
self.lineEdit_N5_Elevation.setObjectName("lineEdit_N5_Elevation") |
196 |
self.label_N6 = QtWidgets.QLabel(self.groupBox) |
197 |
self.label_N6.setGeometry(QtCore.QRect(11, 196, 25, 17)) |
198 |
font = QtGui.QFont() |
199 |
font.setBold(False)
|
200 |
font.setWeight(50)
|
201 |
self.label_N6.setFont(font)
|
202 |
self.label_N6.setObjectName("label_N6") |
203 |
self.lineEdit_N6_Elevation = QtWidgets.QLineEdit(self.groupBox) |
204 |
self.lineEdit_N6_Elevation.setGeometry(QtCore.QRect(48, 194, 100, 21)) |
205 |
self.lineEdit_N6_Elevation.setMaximumSize(QtCore.QSize(100, 16777215)) |
206 |
font = QtGui.QFont() |
207 |
font.setBold(False)
|
208 |
font.setWeight(50)
|
209 |
self.lineEdit_N6_Elevation.setFont(font)
|
210 |
self.lineEdit_N6_Elevation.setAlignment(QtCore.Qt.AlignCenter)
|
211 |
self.lineEdit_N6_Elevation.setObjectName("lineEdit_N6_Elevation") |
212 |
|
213 |
self.retranslateUi(ReactorDialog)
|
214 |
self.buttonBox.accepted.connect(ReactorDialog.accept)
|
215 |
self.buttonBox.rejected.connect(ReactorDialog.reject)
|
216 |
QtCore.QMetaObject.connectSlotsByName(ReactorDialog) |
217 |
ReactorDialog.setTabOrder(self.lineEdit_TagNo, self.lineEdit_Pressure) |
218 |
ReactorDialog.setTabOrder(self.lineEdit_Pressure, self.lineEdit_N1_Elevation) |
219 |
ReactorDialog.setTabOrder(self.lineEdit_N1_Elevation, self.lineEdit_N2_Elevation) |
220 |
ReactorDialog.setTabOrder(self.lineEdit_N2_Elevation, self.lineEdit_N3_Elevation) |
221 |
ReactorDialog.setTabOrder(self.lineEdit_N3_Elevation, self.lineEdit_N4_Elevation) |
222 |
ReactorDialog.setTabOrder(self.lineEdit_N4_Elevation, self.lineEdit_N5_Elevation) |
223 |
ReactorDialog.setTabOrder(self.lineEdit_N5_Elevation, self.lineEdit_N6_Elevation) |
224 |
|
225 |
def retranslateUi(self, ReactorDialog): |
226 |
_translate = QtCore.QCoreApplication.translate |
227 |
ReactorDialog.setWindowTitle(_translate("ReactorDialog", "HYTOS Equipment Data - Reactor (Pressure Drop Only)")) |
228 |
self.groupBox_3.setTitle(_translate("ReactorDialog", "Equipment Figure")) |
229 |
self.label_Img.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/Reactor.png\"/></p></body></html>")) |
230 |
self.label_2.setText(_translate("ReactorDialog", "Tag No.")) |
231 |
self.label_Img_N2.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N2.png\"/></p></body></html>")) |
232 |
self.label_Img_N5.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N5.png\"/></p></body></html>")) |
233 |
self.label_Img_N6.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N6.png\"/></p></body></html>")) |
234 |
self.label_Img_N3.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N3.png\"/></p></body></html>")) |
235 |
self.label_Img_N1.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N1.png\"/></p></body></html>")) |
236 |
self.label_Img_N4.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N4.png\"/></p></body></html>")) |
237 |
self.groupBox_2.setTitle(_translate("ReactorDialog", "Pressure Drop")) |
238 |
self.label_PressureUnit.setText(_translate("ReactorDialog", "-")) |
239 |
self.groupBox.setTitle(_translate("ReactorDialog", "Equipment Data")) |
240 |
self.label_4.setText(_translate("ReactorDialog", "Elevation")) |
241 |
self.label_ElevationUnit.setText(_translate("ReactorDialog", "-")) |
242 |
self.label_N1.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N1.png\"/></p></body></html>")) |
243 |
self.label_N2.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N2.png\"/></p></body></html>")) |
244 |
self.label_N3.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N3.png\"/></p></body></html>")) |
245 |
self.label_N4.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N4.png\"/></p></body></html>")) |
246 |
self.label_N5.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N5.png\"/></p></body></html>")) |
247 |
self.label_N6.setText(_translate("ReactorDialog", "<html><head/><body><p><img src=\":/images/N6.png\"/></p></body></html>")) |
248 |
import Resource_rc |