프로젝트

일반

사용자정보

통계
| 개정판:

hytos / HYTOS / HYTOS / Fitting_EquivalentLength_UI.py @ bd210582

이력 | 보기 | 이력해설 | 다운로드 (15.8 KB)

1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file '.\UI\Fitting_EquivalentLength.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_EquivalentLengthDialog(object):
14
    def setupUi(self, EquivalentLengthDialog):
15
        EquivalentLengthDialog.setObjectName("EquivalentLengthDialog")
16
        EquivalentLengthDialog.resize(411, 220)
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        EquivalentLengthDialog.setFont(font)
20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/newPrefix/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22
        EquivalentLengthDialog.setWindowIcon(icon)
23
        self.gridLayout = QtWidgets.QGridLayout(EquivalentLengthDialog)
24
        self.gridLayout.setObjectName("gridLayout")
25
        self.buttonBox = QtWidgets.QDialogButtonBox(EquivalentLengthDialog)
26
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
27
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
28
        self.buttonBox.setObjectName("buttonBox")
29
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
30
        self.gridLayout_2 = QtWidgets.QGridLayout()
31
        self.gridLayout_2.setObjectName("gridLayout_2")
32
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
33
        self.verticalLayout_2.setObjectName("verticalLayout_2")
34
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
35
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
36
        self.label_13 = QtWidgets.QLabel(EquivalentLengthDialog)
37
        self.label_13.setMinimumSize(QtCore.QSize(100, 0))
38
        self.label_13.setMaximumSize(QtCore.QSize(100, 16777215))
39
        self.label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
40
        self.label_13.setObjectName("label_13")
41
        self.horizontalLayout_2.addWidget(self.label_13)
42
        self.lineEdit_Globe = QtWidgets.QLineEdit(EquivalentLengthDialog)
43
        self.lineEdit_Globe.setMaximumSize(QtCore.QSize(72, 16777215))
44
        self.lineEdit_Globe.setObjectName("lineEdit_Globe")
45
        self.horizontalLayout_2.addWidget(self.lineEdit_Globe)
46
        self.label_14 = QtWidgets.QLabel(EquivalentLengthDialog)
47
        self.label_14.setObjectName("label_14")
48
        self.horizontalLayout_2.addWidget(self.label_14)
49
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
50
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
51
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
52
        self.label_15 = QtWidgets.QLabel(EquivalentLengthDialog)
53
        self.label_15.setMinimumSize(QtCore.QSize(100, 0))
54
        self.label_15.setMaximumSize(QtCore.QSize(100, 16777215))
55
        self.label_15.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
56
        self.label_15.setObjectName("label_15")
57
        self.horizontalLayout_9.addWidget(self.label_15)
58
        self.lineEdit_Check = QtWidgets.QLineEdit(EquivalentLengthDialog)
59
        self.lineEdit_Check.setMaximumSize(QtCore.QSize(72, 16777215))
60
        self.lineEdit_Check.setObjectName("lineEdit_Check")
61
        self.horizontalLayout_9.addWidget(self.lineEdit_Check)
62
        self.label_16 = QtWidgets.QLabel(EquivalentLengthDialog)
63
        self.label_16.setObjectName("label_16")
64
        self.horizontalLayout_9.addWidget(self.label_16)
65
        self.verticalLayout_2.addLayout(self.horizontalLayout_9)
66
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
67
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
68
        self.label_3 = QtWidgets.QLabel(EquivalentLengthDialog)
69
        self.label_3.setMinimumSize(QtCore.QSize(100, 0))
70
        self.label_3.setMaximumSize(QtCore.QSize(100, 16777215))
71
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
72
        self.label_3.setObjectName("label_3")
73
        self.horizontalLayout_8.addWidget(self.label_3)
74
        self.lineEdit_45_Elbow = QtWidgets.QLineEdit(EquivalentLengthDialog)
75
        self.lineEdit_45_Elbow.setMaximumSize(QtCore.QSize(72, 16777215))
76
        self.lineEdit_45_Elbow.setObjectName("lineEdit_45_Elbow")
77
        self.horizontalLayout_8.addWidget(self.lineEdit_45_Elbow)
78
        self.label_4 = QtWidgets.QLabel(EquivalentLengthDialog)
79
        self.label_4.setObjectName("label_4")
80
        self.horizontalLayout_8.addWidget(self.label_4)
81
        self.verticalLayout_2.addLayout(self.horizontalLayout_8)
82
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
83
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
84
        self.label_17 = QtWidgets.QLabel(EquivalentLengthDialog)
85
        self.label_17.setMinimumSize(QtCore.QSize(100, 0))
86
        self.label_17.setMaximumSize(QtCore.QSize(100, 16777215))
87
        self.label_17.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
88
        self.label_17.setObjectName("label_17")
89
        self.horizontalLayout_11.addWidget(self.label_17)
90
        self.lineEdit_Tee_Through = QtWidgets.QLineEdit(EquivalentLengthDialog)
91
        self.lineEdit_Tee_Through.setMaximumSize(QtCore.QSize(72, 16777215))
92
        self.lineEdit_Tee_Through.setObjectName("lineEdit_Tee_Through")
93
        self.horizontalLayout_11.addWidget(self.lineEdit_Tee_Through)
94
        self.label_18 = QtWidgets.QLabel(EquivalentLengthDialog)
95
        self.label_18.setObjectName("label_18")
96
        self.horizontalLayout_11.addWidget(self.label_18)
97
        self.verticalLayout_2.addLayout(self.horizontalLayout_11)
98
        self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 1, 1, 1)
99
        self.verticalLayout = QtWidgets.QVBoxLayout()
100
        self.verticalLayout.setObjectName("verticalLayout")
101
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
102
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
103
        self.label = QtWidgets.QLabel(EquivalentLengthDialog)
104
        self.label.setMinimumSize(QtCore.QSize(100, 0))
105
        self.label.setMaximumSize(QtCore.QSize(100, 16777215))
106
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
107
        self.label.setObjectName("label")
108
        self.horizontalLayout_4.addWidget(self.label)
109
        self.lineEdit_Gate_Ball_Plug = QtWidgets.QLineEdit(EquivalentLengthDialog)
110
        self.lineEdit_Gate_Ball_Plug.setMinimumSize(QtCore.QSize(72, 0))
111
        self.lineEdit_Gate_Ball_Plug.setMaximumSize(QtCore.QSize(72, 16777215))
112
        self.lineEdit_Gate_Ball_Plug.setObjectName("lineEdit_Gate_Ball_Plug")
113
        self.horizontalLayout_4.addWidget(self.lineEdit_Gate_Ball_Plug)
114
        self.label_2 = QtWidgets.QLabel(EquivalentLengthDialog)
115
        self.label_2.setObjectName("label_2")
116
        self.horizontalLayout_4.addWidget(self.label_2)
117
        self.verticalLayout.addLayout(self.horizontalLayout_4)
118
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
119
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
120
        self.label_5 = QtWidgets.QLabel(EquivalentLengthDialog)
121
        self.label_5.setMinimumSize(QtCore.QSize(100, 0))
122
        self.label_5.setMaximumSize(QtCore.QSize(100, 16777215))
123
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
124
        self.label_5.setObjectName("label_5")
125
        self.horizontalLayout_6.addWidget(self.label_5)
126
        self.lineEdit_Butterfly = QtWidgets.QLineEdit(EquivalentLengthDialog)
127
        self.lineEdit_Butterfly.setMinimumSize(QtCore.QSize(72, 0))
128
        self.lineEdit_Butterfly.setMaximumSize(QtCore.QSize(72, 16777215))
129
        self.lineEdit_Butterfly.setObjectName("lineEdit_Butterfly")
130
        self.horizontalLayout_6.addWidget(self.lineEdit_Butterfly)
131
        self.label_6 = QtWidgets.QLabel(EquivalentLengthDialog)
132
        self.label_6.setObjectName("label_6")
133
        self.horizontalLayout_6.addWidget(self.label_6)
134
        self.verticalLayout.addLayout(self.horizontalLayout_6)
135
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
136
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
137
        self.label_7 = QtWidgets.QLabel(EquivalentLengthDialog)
138
        self.label_7.setMinimumSize(QtCore.QSize(100, 0))
139
        self.label_7.setMaximumSize(QtCore.QSize(100, 16777215))
140
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
141
        self.label_7.setObjectName("label_7")
142
        self.horizontalLayout_7.addWidget(self.label_7)
143
        self.lineEdit_90_Elbow = QtWidgets.QLineEdit(EquivalentLengthDialog)
144
        self.lineEdit_90_Elbow.setMinimumSize(QtCore.QSize(72, 0))
145
        self.lineEdit_90_Elbow.setMaximumSize(QtCore.QSize(72, 16777215))
146
        self.lineEdit_90_Elbow.setObjectName("lineEdit_90_Elbow")
147
        self.horizontalLayout_7.addWidget(self.lineEdit_90_Elbow)
148
        self.label_8 = QtWidgets.QLabel(EquivalentLengthDialog)
149
        self.label_8.setObjectName("label_8")
150
        self.horizontalLayout_7.addWidget(self.label_8)
151
        self.verticalLayout.addLayout(self.horizontalLayout_7)
152
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
153
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
154
        self.label_9 = QtWidgets.QLabel(EquivalentLengthDialog)
155
        self.label_9.setMinimumSize(QtCore.QSize(100, 0))
156
        self.label_9.setMaximumSize(QtCore.QSize(100, 16777215))
157
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
158
        self.label_9.setObjectName("label_9")
159
        self.horizontalLayout_10.addWidget(self.label_9)
160
        self.lineEdit_Tee_Branch = QtWidgets.QLineEdit(EquivalentLengthDialog)
161
        self.lineEdit_Tee_Branch.setMinimumSize(QtCore.QSize(72, 0))
162
        self.lineEdit_Tee_Branch.setMaximumSize(QtCore.QSize(72, 16777215))
163
        self.lineEdit_Tee_Branch.setObjectName("lineEdit_Tee_Branch")
164
        self.horizontalLayout_10.addWidget(self.lineEdit_Tee_Branch)
165
        self.label_10 = QtWidgets.QLabel(EquivalentLengthDialog)
166
        self.label_10.setObjectName("label_10")
167
        self.horizontalLayout_10.addWidget(self.label_10)
168
        self.verticalLayout.addLayout(self.horizontalLayout_10)
169
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
170
        self.gridLayout.addLayout(self.gridLayout_2, 0, 0, 1, 1)
171
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
172
        self.verticalLayout_3.setObjectName("verticalLayout_3")
173
        self.horizontalLayout = QtWidgets.QHBoxLayout()
174
        self.horizontalLayout.setObjectName("horizontalLayout")
175
        self.label_19 = QtWidgets.QLabel(EquivalentLengthDialog)
176
        self.label_19.setMinimumSize(QtCore.QSize(100, 0))
177
        self.label_19.setMaximumSize(QtCore.QSize(100, 16777215))
178
        self.label_19.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
179
        self.label_19.setObjectName("label_19")
180
        self.horizontalLayout.addWidget(self.label_19)
181
        self.lineEdit_Miter = QtWidgets.QLineEdit(EquivalentLengthDialog)
182
        self.lineEdit_Miter.setMinimumSize(QtCore.QSize(72, 0))
183
        self.lineEdit_Miter.setMaximumSize(QtCore.QSize(72, 16777215))
184
        self.lineEdit_Miter.setObjectName("lineEdit_Miter")
185
        self.horizontalLayout.addWidget(self.lineEdit_Miter)
186
        self.label_12 = QtWidgets.QLabel(EquivalentLengthDialog)
187
        self.label_12.setObjectName("label_12")
188
        self.horizontalLayout.addWidget(self.label_12)
189
        self.comboBox_Degree = QtWidgets.QComboBox(EquivalentLengthDialog)
190
        self.comboBox_Degree.setObjectName("comboBox_Degree")
191
        self.horizontalLayout.addWidget(self.comboBox_Degree)
192
        self.label_21 = QtWidgets.QLabel(EquivalentLengthDialog)
193
        self.label_21.setObjectName("label_21")
194
        self.horizontalLayout.addWidget(self.label_21)
195
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
196
        self.horizontalLayout.addItem(spacerItem)
197
        self.verticalLayout_3.addLayout(self.horizontalLayout)
198
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
199
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
200
        self.checkBox_Nozzle_In = QtWidgets.QCheckBox(EquivalentLengthDialog)
201
        self.checkBox_Nozzle_In.setObjectName("checkBox_Nozzle_In")
202
        self.horizontalLayout_3.addWidget(self.checkBox_Nozzle_In)
203
        self.checkBox_Nozzle_Out = QtWidgets.QCheckBox(EquivalentLengthDialog)
204
        self.checkBox_Nozzle_Out.setObjectName("checkBox_Nozzle_Out")
205
        self.horizontalLayout_3.addWidget(self.checkBox_Nozzle_Out)
206
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
207
        self.horizontalLayout_3.addItem(spacerItem1)
208
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
209
        self.gridLayout.addLayout(self.verticalLayout_3, 1, 0, 1, 1)
210

    
211
        self.retranslateUi(EquivalentLengthDialog)
212
        self.buttonBox.accepted.connect(EquivalentLengthDialog.accept)
213
        self.buttonBox.rejected.connect(EquivalentLengthDialog.reject)
214
        QtCore.QMetaObject.connectSlotsByName(EquivalentLengthDialog)
215
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Gate_Ball_Plug, self.lineEdit_Globe)
216
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Globe, self.lineEdit_Butterfly)
217
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Butterfly, self.lineEdit_Check)
218
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Check, self.lineEdit_90_Elbow)
219
        EquivalentLengthDialog.setTabOrder(self.lineEdit_90_Elbow, self.lineEdit_45_Elbow)
220
        EquivalentLengthDialog.setTabOrder(self.lineEdit_45_Elbow, self.lineEdit_Tee_Branch)
221
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Tee_Branch, self.lineEdit_Tee_Through)
222
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Tee_Through, self.lineEdit_Miter)
223
        EquivalentLengthDialog.setTabOrder(self.lineEdit_Miter, self.comboBox_Degree)
224
        EquivalentLengthDialog.setTabOrder(self.comboBox_Degree, self.checkBox_Nozzle_In)
225
        EquivalentLengthDialog.setTabOrder(self.checkBox_Nozzle_In, self.checkBox_Nozzle_Out)
226

    
227
    def retranslateUi(self, EquivalentLengthDialog):
228
        _translate = QtCore.QCoreApplication.translate
229
        EquivalentLengthDialog.setWindowTitle(_translate("EquivalentLengthDialog", "HYTOS Equivalent Length Method"))
230
        self.label_13.setText(_translate("EquivalentLengthDialog", "Globe :"))
231
        self.label_14.setText(_translate("EquivalentLengthDialog", "EA"))
232
        self.label_15.setText(_translate("EquivalentLengthDialog", "Check :"))
233
        self.label_16.setText(_translate("EquivalentLengthDialog", "EA"))
234
        self.label_3.setText(_translate("EquivalentLengthDialog", "45 Elbow :"))
235
        self.label_4.setText(_translate("EquivalentLengthDialog", "EA"))
236
        self.label_17.setText(_translate("EquivalentLengthDialog", "Tee through :"))
237
        self.label_18.setText(_translate("EquivalentLengthDialog", "EA"))
238
        self.label.setText(_translate("EquivalentLengthDialog", "Gate / Ball / Plug :"))
239
        self.label_2.setText(_translate("EquivalentLengthDialog", "EA"))
240
        self.label_5.setText(_translate("EquivalentLengthDialog", "Butterfly :"))
241
        self.label_6.setText(_translate("EquivalentLengthDialog", "EA"))
242
        self.label_7.setText(_translate("EquivalentLengthDialog", "90 Elbow :"))
243
        self.label_8.setText(_translate("EquivalentLengthDialog", "EA"))
244
        self.label_9.setText(_translate("EquivalentLengthDialog", "Tee branch :"))
245
        self.label_10.setText(_translate("EquivalentLengthDialog", "EA"))
246
        self.label_19.setText(_translate("EquivalentLengthDialog", "Miter :"))
247
        self.label_12.setText(_translate("EquivalentLengthDialog", "EA ( Deg :"))
248
        self.label_21.setText(_translate("EquivalentLengthDialog", ")"))
249
        self.checkBox_Nozzle_In.setText(_translate("EquivalentLengthDialog", "Nozzle In"))
250
        self.checkBox_Nozzle_Out.setText(_translate("EquivalentLengthDialog", "Nozzle Out"))
251
import Resource_rc
클립보드 이미지 추가 (최대 크기: 500 MB)