프로젝트

일반

사용자정보

개정판 5bb7bfdb

ID5bb7bfdbba949bcd3188aa4094847612135a3324
상위 bd210582
하위 506c5823

김연진이(가) 5년 이상 전에 추가함

issue #1054 : 스트림 데이타 입력 폼 추가

Change-Id: Icb21c5372774a57c546586d18beb5cb40d8c2acc

차이점 보기:

HYTOS/HYTOS/Phase_MixedDialog.py
1
# -*- coding: utf-8 -*-
2

  
3
# Form implementation generated from reading ui file 'ProjectDialog.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.6
6
#
7
# WARNING! All changes made in this file will be lost!
8

  
9
from PyQt5 import QtCore, QtGui, QtWidgets
10
from PyQt5.QtWidgets import *
11
import os
12
import sys
13
from Project import Project
14
from AppDocData import AppDocData
15
import Phase_Mixed_UI
16
import math
17

  
18
class QPhase_MixedDialog(QDialog):
19
    def __init__(self):
20
        QDialog.__init__(self)
21

  
22
        self.ui = Phase_Mixed_UI.Ui_MixedDialog()
23
        self.ui.setupUi(self)
24
      
25
       
26
     
27
        
28
    def showDialog(self, item):
29
        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
30
        self.exec_()
31

  
32

  
33
    def accept(self):
34
        
35
        QDialog.accept(self)
36

  
37
    def reject(self):
38
        QDialog.reject(self)
39

  
40
    if __name__ == '__main__':
41
        from Phase_MixedDialog import QPhase_MixedDialog
42
        from App import App
43
        app = App(sys.argv)
44

  
45

  
46
        if True:
47
            dlg = QPhase_MixedDialog()
48
            dlg.exec_()                
HYTOS/HYTOS/Phase_Mixed_UI.py
1
# -*- coding: utf-8 -*-
2

  
3
# Form implementation generated from reading ui file '.\UI\Phase_Mixed.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_MixedDialog(object):
14
    def setupUi(self, MixedDialog):
15
        MixedDialog.setObjectName("MixedDialog")
16
        MixedDialog.resize(607, 161)
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        MixedDialog.setFont(font)
20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22
        MixedDialog.setWindowIcon(icon)
23
        self.gridLayout_2 = QtWidgets.QGridLayout(MixedDialog)
24
        self.gridLayout_2.setObjectName("gridLayout_2")
25
        self.horizontalLayout = QtWidgets.QHBoxLayout()
26
        self.horizontalLayout.setObjectName("horizontalLayout")
27
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
28
        self.verticalLayout_6.setObjectName("verticalLayout_6")
29
        self.groupBox_Stream = QtWidgets.QGroupBox(MixedDialog)
30
        font = QtGui.QFont()
31
        font.setBold(True)
32
        font.setWeight(75)
33
        self.groupBox_Stream.setFont(font)
34
        self.groupBox_Stream.setObjectName("groupBox_Stream")
35
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout(self.groupBox_Stream)
36
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
37
        self.label_3 = QtWidgets.QLabel(self.groupBox_Stream)
38
        font = QtGui.QFont()
39
        font.setBold(False)
40
        font.setWeight(50)
41
        self.label_3.setFont(font)
42
        self.label_3.setObjectName("label_3")
43
        self.horizontalLayout_20.addWidget(self.label_3)
44
        self.lineEdit_DisplayNo = QtWidgets.QLineEdit(self.groupBox_Stream)
45
        self.lineEdit_DisplayNo.setMaximumSize(QtCore.QSize(90, 16777215))
46
        font = QtGui.QFont()
47
        font.setBold(False)
48
        font.setWeight(50)
49
        self.lineEdit_DisplayNo.setFont(font)
50
        self.lineEdit_DisplayNo.setObjectName("lineEdit_DisplayNo")
51
        self.horizontalLayout_20.addWidget(self.lineEdit_DisplayNo)
52
        self.label_2 = QtWidgets.QLabel(self.groupBox_Stream)
53
        font = QtGui.QFont()
54
        font.setBold(False)
55
        font.setWeight(50)
56
        self.label_2.setFont(font)
57
        self.label_2.setObjectName("label_2")
58
        self.horizontalLayout_20.addWidget(self.label_2)
59
        self.comboBox = QtWidgets.QComboBox(self.groupBox_Stream)
60
        self.comboBox.setMinimumSize(QtCore.QSize(90, 0))
61
        font = QtGui.QFont()
62
        font.setBold(False)
63
        font.setWeight(50)
64
        self.comboBox.setFont(font)
65
        self.comboBox.setObjectName("comboBox")
66
        self.horizontalLayout_20.addWidget(self.comboBox)
67
        self.verticalLayout_6.addWidget(self.groupBox_Stream)
68
        self.horizontalLayout.addLayout(self.verticalLayout_6)
69
        self.buttonBox = QtWidgets.QDialogButtonBox(MixedDialog)
70
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
71
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
72
        self.buttonBox.setObjectName("buttonBox")
73
        self.horizontalLayout.addWidget(self.buttonBox)
74
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 1)
75

  
76
        self.retranslateUi(MixedDialog)
77
        self.buttonBox.accepted.connect(MixedDialog.accept)
78
        self.buttonBox.rejected.connect(MixedDialog.reject)
79
        QtCore.QMetaObject.connectSlotsByName(MixedDialog)
80

  
81
    def retranslateUi(self, MixedDialog):
82
        _translate = QtCore.QCoreApplication.translate
83
        MixedDialog.setWindowTitle(_translate("MixedDialog", "HYTOS 2 Phase Flow Line Calculation Data"))
84
        self.groupBox_Stream.setTitle(_translate("MixedDialog", "Stream No : ?"))
85
        self.label_3.setText(_translate("MixedDialog", "Display No."))
86
        self.label_2.setText(_translate("MixedDialog", "Phase Type"))
87
import Resource_rc
HYTOS/HYTOS/Phase_VaporDialog.py
1
# -*- coding: utf-8 -*-
2

  
3
# Form implementation generated from reading ui file 'ProjectDialog.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.6
6
#
7
# WARNING! All changes made in this file will be lost!
8

  
9
from PyQt5 import QtCore, QtGui, QtWidgets
10
from PyQt5.QtWidgets import *
11
import os
12
import sys
13
from Project import Project
14
from AppDocData import AppDocData
15
import Phase_Vapor_UI
16
import math
17

  
18
class QPhase_VaporDialog(QDialog):
19
    def __init__(self):
20
        QDialog.__init__(self)
21

  
22
        self.ui = Phase_Vapor_UI.Ui_VaporDialog()
23
        self.ui.setupUi(self)
24
      
25
       
26
     
27
        
28
    def showDialog(self, item):
29
        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
30
        self.exec_()
31

  
32

  
33
    def accept(self):
34
        
35
        QDialog.accept(self)
36

  
37
    def reject(self):
38
        QDialog.reject(self)
39

  
40
    if __name__ == '__main__':
41
        from Phase_VaporDialog import QPhase_VaporDialog
42
        from App import App
43
        app = App(sys.argv)
44

  
45

  
46
        if True:
47
            dlg = QPhase_VaporDialog()
48
            dlg.exec_()                
HYTOS/HYTOS/Phase_Vapor_UI.py
1
# -*- coding: utf-8 -*-
2

  
3
# Form implementation generated from reading ui file '.\UI\Phase_Vapor.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_VaporDialog(object):
14
    def setupUi(self, VaporDialog):
15
        VaporDialog.setObjectName("VaporDialog")
16
        VaporDialog.resize(607, 555)
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        VaporDialog.setFont(font)
20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22
        VaporDialog.setWindowIcon(icon)
23
        self.gridLayout_2 = QtWidgets.QGridLayout(VaporDialog)
24
        self.gridLayout_2.setObjectName("gridLayout_2")
25
        self.horizontalLayout = QtWidgets.QHBoxLayout()
26
        self.horizontalLayout.setObjectName("horizontalLayout")
27
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
28
        self.verticalLayout_6.setObjectName("verticalLayout_6")
29
        self.groupBox_Stream = QtWidgets.QGroupBox(VaporDialog)
30
        font = QtGui.QFont()
31
        font.setBold(True)
32
        font.setWeight(75)
33
        self.groupBox_Stream.setFont(font)
34
        self.groupBox_Stream.setObjectName("groupBox_Stream")
35
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout(self.groupBox_Stream)
36
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
37
        self.label_3 = QtWidgets.QLabel(self.groupBox_Stream)
38
        font = QtGui.QFont()
39
        font.setBold(False)
40
        font.setWeight(50)
41
        self.label_3.setFont(font)
42
        self.label_3.setObjectName("label_3")
43
        self.horizontalLayout_20.addWidget(self.label_3)
44
        self.lineEdit_DisplayNo = QtWidgets.QLineEdit(self.groupBox_Stream)
45
        self.lineEdit_DisplayNo.setMaximumSize(QtCore.QSize(90, 16777215))
46
        font = QtGui.QFont()
47
        font.setBold(False)
48
        font.setWeight(50)
49
        self.lineEdit_DisplayNo.setFont(font)
50
        self.lineEdit_DisplayNo.setObjectName("lineEdit_DisplayNo")
51
        self.horizontalLayout_20.addWidget(self.lineEdit_DisplayNo)
52
        self.label_2 = QtWidgets.QLabel(self.groupBox_Stream)
53
        font = QtGui.QFont()
54
        font.setBold(False)
55
        font.setWeight(50)
56
        self.label_2.setFont(font)
57
        self.label_2.setObjectName("label_2")
58
        self.horizontalLayout_20.addWidget(self.label_2)
59
        self.comboBox = QtWidgets.QComboBox(self.groupBox_Stream)
60
        self.comboBox.setMinimumSize(QtCore.QSize(90, 0))
61
        font = QtGui.QFont()
62
        font.setBold(False)
63
        font.setWeight(50)
64
        self.comboBox.setFont(font)
65
        self.comboBox.setObjectName("comboBox")
66
        self.horizontalLayout_20.addWidget(self.comboBox)
67
        self.verticalLayout_6.addWidget(self.groupBox_Stream)
68
        self.horizontalLayout.addLayout(self.verticalLayout_6)
69
        self.buttonBox = QtWidgets.QDialogButtonBox(VaporDialog)
70
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
71
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
72
        self.buttonBox.setObjectName("buttonBox")
73
        self.horizontalLayout.addWidget(self.buttonBox)
74
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 1)
75
        self.gridLayout = QtWidgets.QGridLayout()
76
        self.gridLayout.setObjectName("gridLayout")
77
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
78
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
79
        self.verticalLayout = QtWidgets.QVBoxLayout()
80
        self.verticalLayout.setObjectName("verticalLayout")
81
        self.groupBox_3 = QtWidgets.QGroupBox(VaporDialog)
82
        font = QtGui.QFont()
83
        font.setBold(True)
84
        font.setWeight(75)
85
        self.groupBox_3.setFont(font)
86
        self.groupBox_3.setObjectName("groupBox_3")
87
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_3)
88
        self.verticalLayout_5.setObjectName("verticalLayout_5")
89
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
90
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
91
        self.label_14 = QtWidgets.QLabel(self.groupBox_3)
92
        font = QtGui.QFont()
93
        font.setBold(False)
94
        font.setWeight(50)
95
        self.label_14.setFont(font)
96
        self.label_14.setObjectName("label_14")
97
        self.horizontalLayout_8.addWidget(self.label_14)
98
        self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_3)
99
        font = QtGui.QFont()
100
        font.setBold(False)
101
        font.setWeight(50)
102
        self.lineEdit_4.setFont(font)
103
        self.lineEdit_4.setObjectName("lineEdit_4")
104
        self.horizontalLayout_8.addWidget(self.lineEdit_4)
105
        self.label_15 = QtWidgets.QLabel(self.groupBox_3)
106
        font = QtGui.QFont()
107
        font.setBold(False)
108
        font.setWeight(50)
109
        self.label_15.setFont(font)
110
        self.label_15.setObjectName("label_15")
111
        self.horizontalLayout_8.addWidget(self.label_15)
112
        self.verticalLayout_5.addLayout(self.horizontalLayout_8)
113
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
114
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
115
        self.label_16 = QtWidgets.QLabel(self.groupBox_3)
116
        font = QtGui.QFont()
117
        font.setBold(False)
118
        font.setWeight(50)
119
        self.label_16.setFont(font)
120
        self.label_16.setObjectName("label_16")
121
        self.horizontalLayout_10.addWidget(self.label_16)
122
        self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox_3)
123
        font = QtGui.QFont()
124
        font.setBold(False)
125
        font.setWeight(50)
126
        self.lineEdit_5.setFont(font)
127
        self.lineEdit_5.setObjectName("lineEdit_5")
128
        self.horizontalLayout_10.addWidget(self.lineEdit_5)
129
        self.label_17 = QtWidgets.QLabel(self.groupBox_3)
130
        font = QtGui.QFont()
131
        font.setBold(False)
132
        font.setWeight(50)
133
        self.label_17.setFont(font)
134
        self.label_17.setObjectName("label_17")
135
        self.horizontalLayout_10.addWidget(self.label_17)
136
        self.verticalLayout_5.addLayout(self.horizontalLayout_10)
137
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
138
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
139
        self.label_18 = QtWidgets.QLabel(self.groupBox_3)
140
        font = QtGui.QFont()
141
        font.setBold(False)
142
        font.setWeight(50)
143
        self.label_18.setFont(font)
144
        self.label_18.setObjectName("label_18")
145
        self.horizontalLayout_11.addWidget(self.label_18)
146
        self.lineEdit_6 = QtWidgets.QLineEdit(self.groupBox_3)
147
        font = QtGui.QFont()
148
        font.setBold(False)
149
        font.setWeight(50)
150
        self.lineEdit_6.setFont(font)
151
        self.lineEdit_6.setObjectName("lineEdit_6")
152
        self.horizontalLayout_11.addWidget(self.lineEdit_6)
153
        self.label_19 = QtWidgets.QLabel(self.groupBox_3)
154
        font = QtGui.QFont()
155
        font.setBold(False)
156
        font.setWeight(50)
157
        self.label_19.setFont(font)
158
        self.label_19.setObjectName("label_19")
159
        self.horizontalLayout_11.addWidget(self.label_19)
160
        self.verticalLayout_5.addLayout(self.horizontalLayout_11)
161
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
162
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
163
        self.label_20 = QtWidgets.QLabel(self.groupBox_3)
164
        font = QtGui.QFont()
165
        font.setBold(False)
166
        font.setWeight(50)
167
        self.label_20.setFont(font)
168
        self.label_20.setObjectName("label_20")
169
        self.horizontalLayout_12.addWidget(self.label_20)
170
        self.lineEdit_7 = QtWidgets.QLineEdit(self.groupBox_3)
171
        font = QtGui.QFont()
172
        font.setBold(False)
173
        font.setWeight(50)
174
        self.lineEdit_7.setFont(font)
175
        self.lineEdit_7.setObjectName("lineEdit_7")
176
        self.horizontalLayout_12.addWidget(self.lineEdit_7)
177
        self.label_23 = QtWidgets.QLabel(self.groupBox_3)
178
        font = QtGui.QFont()
179
        font.setBold(False)
180
        font.setWeight(50)
181
        self.label_23.setFont(font)
182
        self.label_23.setObjectName("label_23")
183
        self.horizontalLayout_12.addWidget(self.label_23)
184
        self.verticalLayout_5.addLayout(self.horizontalLayout_12)
185
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
186
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
187
        self.label_21 = QtWidgets.QLabel(self.groupBox_3)
188
        font = QtGui.QFont()
189
        font.setBold(False)
190
        font.setWeight(50)
191
        self.label_21.setFont(font)
192
        self.label_21.setObjectName("label_21")
193
        self.horizontalLayout_13.addWidget(self.label_21)
194
        self.lineEdit_8 = QtWidgets.QLineEdit(self.groupBox_3)
195
        font = QtGui.QFont()
196
        font.setBold(False)
197
        font.setWeight(50)
198
        self.lineEdit_8.setFont(font)
199
        self.lineEdit_8.setObjectName("lineEdit_8")
200
        self.horizontalLayout_13.addWidget(self.lineEdit_8)
201
        self.label_24 = QtWidgets.QLabel(self.groupBox_3)
202
        font = QtGui.QFont()
203
        font.setBold(False)
204
        font.setWeight(50)
205
        self.label_24.setFont(font)
206
        self.label_24.setObjectName("label_24")
207
        self.horizontalLayout_13.addWidget(self.label_24)
208
        self.verticalLayout_5.addLayout(self.horizontalLayout_13)
209
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
210
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
211
        self.label_22 = QtWidgets.QLabel(self.groupBox_3)
212
        font = QtGui.QFont()
213
        font.setBold(False)
214
        font.setWeight(50)
215
        self.label_22.setFont(font)
216
        self.label_22.setObjectName("label_22")
217
        self.horizontalLayout_14.addWidget(self.label_22)
218
        self.lineEdit_9 = QtWidgets.QLineEdit(self.groupBox_3)
219
        font = QtGui.QFont()
220
        font.setBold(False)
221
        font.setWeight(50)
222
        self.lineEdit_9.setFont(font)
223
        self.lineEdit_9.setObjectName("lineEdit_9")
224
        self.horizontalLayout_14.addWidget(self.lineEdit_9)
225
        self.label_25 = QtWidgets.QLabel(self.groupBox_3)
226
        font = QtGui.QFont()
227
        font.setBold(False)
228
        font.setWeight(50)
229
        self.label_25.setFont(font)
230
        self.label_25.setObjectName("label_25")
231
        self.horizontalLayout_14.addWidget(self.label_25)
232
        self.verticalLayout_5.addLayout(self.horizontalLayout_14)
233
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
234
        self.verticalLayout_5.addItem(spacerItem)
235
        self.verticalLayout.addWidget(self.groupBox_3)
236
        self.groupBox_2 = QtWidgets.QGroupBox(VaporDialog)
237
        font = QtGui.QFont()
238
        font.setBold(True)
239
        font.setWeight(75)
240
        self.groupBox_2.setFont(font)
241
        self.groupBox_2.setObjectName("groupBox_2")
242
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_2)
243
        self.verticalLayout_3.setObjectName("verticalLayout_3")
244
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
245
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
246
        self.label_4 = QtWidgets.QLabel(self.groupBox_2)
247
        font = QtGui.QFont()
248
        font.setBold(False)
249
        font.setWeight(50)
250
        self.label_4.setFont(font)
251
        self.label_4.setObjectName("label_4")
252
        self.horizontalLayout_4.addWidget(self.label_4)
253
        self.lineEdit = QtWidgets.QLineEdit(self.groupBox_2)
254
        font = QtGui.QFont()
255
        font.setBold(False)
256
        font.setWeight(50)
257
        self.lineEdit.setFont(font)
258
        self.lineEdit.setObjectName("lineEdit")
259
        self.horizontalLayout_4.addWidget(self.lineEdit)
260
        self.label_5 = QtWidgets.QLabel(self.groupBox_2)
261
        font = QtGui.QFont()
262
        font.setBold(False)
263
        font.setWeight(50)
264
        self.label_5.setFont(font)
265
        self.label_5.setObjectName("label_5")
266
        self.horizontalLayout_4.addWidget(self.label_5)
267
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
268
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
269
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
270
        self.label_6 = QtWidgets.QLabel(self.groupBox_2)
271
        font = QtGui.QFont()
272
        font.setBold(False)
273
        font.setWeight(50)
274
        self.label_6.setFont(font)
275
        self.label_6.setObjectName("label_6")
276
        self.horizontalLayout_3.addWidget(self.label_6)
277
        self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_2)
278
        font = QtGui.QFont()
279
        font.setBold(False)
280
        font.setWeight(50)
281
        self.lineEdit_2.setFont(font)
282
        self.lineEdit_2.setObjectName("lineEdit_2")
283
        self.horizontalLayout_3.addWidget(self.lineEdit_2)
284
        self.label_7 = QtWidgets.QLabel(self.groupBox_2)
285
        font = QtGui.QFont()
286
        font.setBold(False)
287
        font.setWeight(50)
288
        self.label_7.setFont(font)
289
        self.label_7.setObjectName("label_7")
290
        self.horizontalLayout_3.addWidget(self.label_7)
291
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
292
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
293
        self.verticalLayout_3.addItem(spacerItem1)
294
        self.verticalLayout.addWidget(self.groupBox_2)
295
        self.horizontalLayout_2.addLayout(self.verticalLayout)
296
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
297
        self.verticalLayout_2.setObjectName("verticalLayout_2")
298
        self.groupBox = QtWidgets.QGroupBox(VaporDialog)
299
        font = QtGui.QFont()
300
        font.setBold(True)
301
        font.setWeight(75)
302
        self.groupBox.setFont(font)
303
        self.groupBox.setObjectName("groupBox")
304
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox)
305
        self.verticalLayout_4.setObjectName("verticalLayout_4")
306
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
307
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
308
        self.label_8 = QtWidgets.QLabel(self.groupBox)
309
        font = QtGui.QFont()
310
        font.setBold(False)
311
        font.setWeight(50)
312
        self.label_8.setFont(font)
313
        self.label_8.setObjectName("label_8")
314
        self.horizontalLayout_7.addWidget(self.label_8)
315
        self.comboBox_2 = QtWidgets.QComboBox(self.groupBox)
316
        font = QtGui.QFont()
317
        font.setBold(False)
318
        font.setWeight(50)
319
        self.comboBox_2.setFont(font)
320
        self.comboBox_2.setObjectName("comboBox_2")
321
        self.horizontalLayout_7.addWidget(self.comboBox_2)
322
        self.label_9 = QtWidgets.QLabel(self.groupBox)
323
        font = QtGui.QFont()
324
        font.setBold(False)
325
        font.setWeight(50)
326
        self.label_9.setFont(font)
327
        self.label_9.setObjectName("label_9")
328
        self.horizontalLayout_7.addWidget(self.label_9)
329
        self.verticalLayout_4.addLayout(self.horizontalLayout_7)
330
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
331
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
332
        self.label_10 = QtWidgets.QLabel(self.groupBox)
333
        font = QtGui.QFont()
334
        font.setBold(False)
335
        font.setWeight(50)
336
        self.label_10.setFont(font)
337
        self.label_10.setObjectName("label_10")
338
        self.horizontalLayout_6.addWidget(self.label_10)
339
        self.comboBox_3 = QtWidgets.QComboBox(self.groupBox)
340
        font = QtGui.QFont()
341
        font.setBold(False)
342
        font.setWeight(50)
343
        self.comboBox_3.setFont(font)
344
        self.comboBox_3.setObjectName("comboBox_3")
345
        self.horizontalLayout_6.addWidget(self.comboBox_3)
346
        self.label_11 = QtWidgets.QLabel(self.groupBox)
347
        font = QtGui.QFont()
348
        font.setBold(False)
349
        font.setWeight(50)
350
        self.label_11.setFont(font)
351
        self.label_11.setObjectName("label_11")
352
        self.horizontalLayout_6.addWidget(self.label_11)
353
        self.verticalLayout_4.addLayout(self.horizontalLayout_6)
354
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
355
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
356
        self.label_12 = QtWidgets.QLabel(self.groupBox)
357
        font = QtGui.QFont()
358
        font.setBold(False)
359
        font.setWeight(50)
360
        self.label_12.setFont(font)
361
        self.label_12.setObjectName("label_12")
362
        self.horizontalLayout_5.addWidget(self.label_12)
363
        self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox)
364
        font = QtGui.QFont()
365
        font.setBold(False)
366
        font.setWeight(50)
367
        self.lineEdit_3.setFont(font)
368
        self.lineEdit_3.setObjectName("lineEdit_3")
369
        self.horizontalLayout_5.addWidget(self.lineEdit_3)
370
        self.label_13 = QtWidgets.QLabel(self.groupBox)
371
        font = QtGui.QFont()
372
        font.setBold(False)
373
        font.setWeight(50)
374
        self.label_13.setFont(font)
375
        self.label_13.setObjectName("label_13")
376
        self.horizontalLayout_5.addWidget(self.label_13)
377
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
378
        self.horizontalLayout_19 = QtWidgets.QHBoxLayout()
379
        self.horizontalLayout_19.setObjectName("horizontalLayout_19")
380
        self.pushButton = QtWidgets.QPushButton(self.groupBox)
381
        font = QtGui.QFont()
382
        font.setBold(False)
383
        font.setWeight(50)
384
        self.pushButton.setFont(font)
385
        self.pushButton.setObjectName("pushButton")
386
        self.horizontalLayout_19.addWidget(self.pushButton)
387
        self.lineEdit_10 = QtWidgets.QLineEdit(self.groupBox)
388
        font = QtGui.QFont()
389
        font.setBold(False)
390
        font.setWeight(50)
391
        self.lineEdit_10.setFont(font)
392
        self.lineEdit_10.setObjectName("lineEdit_10")
393
        self.horizontalLayout_19.addWidget(self.lineEdit_10)
394
        self.label_26 = QtWidgets.QLabel(self.groupBox)
395
        font = QtGui.QFont()
396
        font.setBold(False)
397
        font.setWeight(50)
398
        self.label_26.setFont(font)
399
        self.label_26.setObjectName("label_26")
400
        self.horizontalLayout_19.addWidget(self.label_26)
401
        self.verticalLayout_4.addLayout(self.horizontalLayout_19)
402
        self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
403
        self.horizontalLayout_17.setObjectName("horizontalLayout_17")
404
        self.label_27 = QtWidgets.QLabel(self.groupBox)
405
        font = QtGui.QFont()
406
        font.setBold(False)
407
        font.setWeight(50)
408
        self.label_27.setFont(font)
409
        self.label_27.setObjectName("label_27")
410
        self.horizontalLayout_17.addWidget(self.label_27)
411
        self.lineEdit_11 = QtWidgets.QLineEdit(self.groupBox)
412
        font = QtGui.QFont()
413
        font.setBold(False)
414
        font.setWeight(50)
415
        self.lineEdit_11.setFont(font)
416
        self.lineEdit_11.setObjectName("lineEdit_11")
417
        self.horizontalLayout_17.addWidget(self.lineEdit_11)
418
        self.label_28 = QtWidgets.QLabel(self.groupBox)
419
        font = QtGui.QFont()
420
        font.setBold(False)
421
        font.setWeight(50)
422
        self.label_28.setFont(font)
423
        self.label_28.setObjectName("label_28")
424
        self.horizontalLayout_17.addWidget(self.label_28)
425
        self.verticalLayout_4.addLayout(self.horizontalLayout_17)
426
        self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
427
        self.horizontalLayout_18.setObjectName("horizontalLayout_18")
428
        self.label_29 = QtWidgets.QLabel(self.groupBox)
429
        font = QtGui.QFont()
430
        font.setBold(False)
431
        font.setWeight(50)
432
        self.label_29.setFont(font)
433
        self.label_29.setObjectName("label_29")
434
        self.horizontalLayout_18.addWidget(self.label_29)
435
        self.lineEdit_12 = QtWidgets.QLineEdit(self.groupBox)
436
        font = QtGui.QFont()
437
        font.setBold(False)
438
        font.setWeight(50)
439
        self.lineEdit_12.setFont(font)
440
        self.lineEdit_12.setObjectName("lineEdit_12")
441
        self.horizontalLayout_18.addWidget(self.lineEdit_12)
442
        self.label_30 = QtWidgets.QLabel(self.groupBox)
443
        font = QtGui.QFont()
444
        font.setBold(False)
445
        font.setWeight(50)
446
        self.label_30.setFont(font)
447
        self.label_30.setObjectName("label_30")
448
        self.horizontalLayout_18.addWidget(self.label_30)
449
        self.verticalLayout_4.addLayout(self.horizontalLayout_18)
450
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
451
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
452
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox)
453
        font = QtGui.QFont()
454
        font.setBold(False)
455
        font.setWeight(50)
456
        self.pushButton_2.setFont(font)
457
        self.pushButton_2.setObjectName("pushButton_2")
458
        self.horizontalLayout_16.addWidget(self.pushButton_2)
459
        self.lineEdit_13 = QtWidgets.QLineEdit(self.groupBox)
460
        font = QtGui.QFont()
461
        font.setBold(False)
462
        font.setWeight(50)
463
        self.lineEdit_13.setFont(font)
464
        self.lineEdit_13.setObjectName("lineEdit_13")
465
        self.horizontalLayout_16.addWidget(self.lineEdit_13)
466
        self.label_31 = QtWidgets.QLabel(self.groupBox)
467
        font = QtGui.QFont()
468
        font.setBold(False)
469
        font.setWeight(50)
470
        self.label_31.setFont(font)
471
        self.label_31.setObjectName("label_31")
472
        self.horizontalLayout_16.addWidget(self.label_31)
473
        self.verticalLayout_4.addLayout(self.horizontalLayout_16)
474
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
475
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
476
        self.label_32 = QtWidgets.QLabel(self.groupBox)
477
        font = QtGui.QFont()
478
        font.setBold(False)
479
        font.setWeight(50)
480
        self.label_32.setFont(font)
481
        self.label_32.setObjectName("label_32")
482
        self.horizontalLayout_15.addWidget(self.label_32)
483
        self.lineEdit_14 = QtWidgets.QLineEdit(self.groupBox)
484
        font = QtGui.QFont()
485
        font.setBold(False)
486
        font.setWeight(50)
487
        self.lineEdit_14.setFont(font)
488
        self.lineEdit_14.setObjectName("lineEdit_14")
489
        self.horizontalLayout_15.addWidget(self.lineEdit_14)
490
        self.label_33 = QtWidgets.QLabel(self.groupBox)
491
        font = QtGui.QFont()
492
        font.setBold(False)
493
        font.setWeight(50)
494
        self.label_33.setFont(font)
495
        self.label_33.setObjectName("label_33")
496
        self.horizontalLayout_15.addWidget(self.label_33)
497
        self.verticalLayout_4.addLayout(self.horizontalLayout_15)
498
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
499
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
500
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox)
501
        font = QtGui.QFont()
502
        font.setBold(False)
503
        font.setWeight(50)
504
        self.pushButton_3.setFont(font)
505
        self.pushButton_3.setObjectName("pushButton_3")
506
        self.horizontalLayout_9.addWidget(self.pushButton_3)
507
        self.verticalLayout_4.addLayout(self.horizontalLayout_9)
508
        self.verticalLayout_2.addWidget(self.groupBox)
509
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
510
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
511
        self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1)
512
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
513
        self.verticalLayout_7.setObjectName("verticalLayout_7")
514
        self.groupBox_4 = QtWidgets.QGroupBox(VaporDialog)
515
        font = QtGui.QFont()
516
        font.setBold(True)
517
        font.setWeight(75)
518
        self.groupBox_4.setFont(font)
519
        self.groupBox_4.setObjectName("groupBox_4")
520
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_4)
521
        self.gridLayout_3.setObjectName("gridLayout_3")
522
        self.textEdit = QtWidgets.QTextEdit(self.groupBox_4)
523
        font = QtGui.QFont()
524
        font.setBold(False)
525
        font.setWeight(50)
526
        self.textEdit.setFont(font)
527
        self.textEdit.setObjectName("textEdit")
528
        self.gridLayout_3.addWidget(self.textEdit, 0, 0, 1, 1)
529
        self.verticalLayout_7.addWidget(self.groupBox_4)
530
        self.gridLayout_2.addLayout(self.verticalLayout_7, 2, 0, 1, 1)
531
        self.horizontalLayout_21 = QtWidgets.QHBoxLayout()
532
        self.horizontalLayout_21.setObjectName("horizontalLayout_21")
533
        self.pushButton_5 = QtWidgets.QPushButton(VaporDialog)
534
        self.pushButton_5.setObjectName("pushButton_5")
535
        self.horizontalLayout_21.addWidget(self.pushButton_5)
536
        self.pushButton_6 = QtWidgets.QPushButton(VaporDialog)
537
        self.pushButton_6.setObjectName("pushButton_6")
538
        self.horizontalLayout_21.addWidget(self.pushButton_6)
539
        self.pushButton_4 = QtWidgets.QPushButton(VaporDialog)
540
        self.pushButton_4.setObjectName("pushButton_4")
541
        self.horizontalLayout_21.addWidget(self.pushButton_4)
542
        self.gridLayout_2.addLayout(self.horizontalLayout_21, 3, 0, 1, 1)
543

  
544
        self.retranslateUi(VaporDialog)
545
        self.buttonBox.accepted.connect(VaporDialog.accept)
546
        self.buttonBox.rejected.connect(VaporDialog.reject)
547
        QtCore.QMetaObject.connectSlotsByName(VaporDialog)
548

  
549
    def retranslateUi(self, VaporDialog):
550
        _translate = QtCore.QCoreApplication.translate
551
        VaporDialog.setWindowTitle(_translate("VaporDialog", "HYTOS Compressible Flow Line Calculation Data"))
552
        self.groupBox_Stream.setTitle(_translate("VaporDialog", "Stream No : ?"))
553
        self.label_3.setText(_translate("VaporDialog", "Display No."))
554
        self.label_2.setText(_translate("VaporDialog", "Phase Type"))
555
        self.groupBox_3.setTitle(_translate("VaporDialog", "Process Data"))
556
        self.label_14.setText(_translate("VaporDialog", "TextLabel"))
557
        self.label_15.setText(_translate("VaporDialog", "TextLabel"))
558
        self.label_16.setText(_translate("VaporDialog", "TextLabel"))
559
        self.label_17.setText(_translate("VaporDialog", "TextLabel"))
560
        self.label_18.setText(_translate("VaporDialog", "TextLabel"))
561
        self.label_19.setText(_translate("VaporDialog", "TextLabel"))
562
        self.label_20.setText(_translate("VaporDialog", "TextLabel"))
563
        self.label_23.setText(_translate("VaporDialog", "TextLabel"))
564
        self.label_21.setText(_translate("VaporDialog", "TextLabel"))
565
        self.label_24.setText(_translate("VaporDialog", "TextLabel"))
566
        self.label_22.setText(_translate("VaporDialog", "TextLabel"))
567
        self.label_25.setText(_translate("VaporDialog", "TextLabel"))
568
        self.groupBox_2.setTitle(_translate("VaporDialog", "Line Sizing Data"))
569
        self.label_4.setText(_translate("VaporDialog", "TextLabel"))
570
        self.label_5.setText(_translate("VaporDialog", "TextLabel"))
571
        self.label_6.setText(_translate("VaporDialog", "TextLabel"))
572
        self.label_7.setText(_translate("VaporDialog", "TextLabel"))
573
        self.groupBox.setTitle(_translate("VaporDialog", "Geometry Data"))
574
        self.label_8.setText(_translate("VaporDialog", "TextLabel"))
575
        self.label_9.setText(_translate("VaporDialog", "TextLabel"))
576
        self.label_10.setText(_translate("VaporDialog", "TextLabel"))
577
        self.label_11.setText(_translate("VaporDialog", "TextLabel"))
578
        self.label_12.setText(_translate("VaporDialog", "TextLabel"))
579
        self.label_13.setText(_translate("VaporDialog", "TextLabel"))
580
        self.pushButton.setText(_translate("VaporDialog", "PushButton"))
581
        self.label_26.setText(_translate("VaporDialog", "TextLabel"))
582
        self.label_27.setText(_translate("VaporDialog", "TextLabel"))
583
        self.label_28.setText(_translate("VaporDialog", "TextLabel"))
584
        self.label_29.setText(_translate("VaporDialog", "TextLabel"))
585
        self.label_30.setText(_translate("VaporDialog", "TextLabel"))
586
        self.pushButton_2.setText(_translate("VaporDialog", "PushButton"))
587
        self.label_31.setText(_translate("VaporDialog", "TextLabel"))
588
        self.label_32.setText(_translate("VaporDialog", "TextLabel"))
589
        self.label_33.setText(_translate("VaporDialog", "TextLabel"))
590
        self.pushButton_3.setText(_translate("VaporDialog", "PushButton"))
591
        self.groupBox_4.setTitle(_translate("VaporDialog", "Data Basis"))
592
        self.pushButton_5.setText(_translate("VaporDialog", "PushButton"))
593
        self.pushButton_6.setText(_translate("VaporDialog", "PushButton"))
594
        self.pushButton_4.setText(_translate("VaporDialog", "PushButton"))
595
import Resource_rc

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)