개정판 b99587c4
issue #1054 스트림 데이타 입력 - multiply 버튼 추가
Change-Id: Ica168d826ada297d9dfab49ddb418d6aa71c529a
HYTOS/HYTOS/StreamDataDialog.py | ||
---|---|---|
135 | 135 |
self.ui.lineEdit_Flowrate_Volume.textChanged.connect(self.flowrate_change_event) |
136 | 136 |
self.ui.lineEdit_Mixed_Density_Vapor.textChanged.connect(self.mixed_density_vapor_change_event) |
137 | 137 |
|
138 |
self.ui.pushButton_1_2.clicked.connect(self.equivalent_length_multiply) |
|
139 |
self.ui.pushButton_1_5.clicked.connect(self.equivalent_length_multiply) |
|
140 |
self.ui.pushButton_2_5.clicked.connect(self.equivalent_length_multiply) |
|
141 |
self.ui.pushButton_3.clicked.connect(self.equivalent_length_multiply) |
|
142 |
self.ui.pushButton_4.clicked.connect(self.equivalent_length_multiply) |
|
143 |
|
|
138 | 144 |
self.ui.tableWidget_GeometryData_Mixed.setContextMenuPolicy(Qt.CustomContextMenu) |
139 | 145 |
self.ui.tableWidget_GeometryData_Mixed.customContextMenuRequested.connect(self.context_menu_geometry_data) |
140 | 146 |
self.ui.tableWidget_GeometryData_Mixed.cellDoubleClicked.connect(self.cell_double_clicked) |
... | ... | |
334 | 340 |
sys.exc_info()[-1].tb_lineno) |
335 | 341 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
336 | 342 |
|
343 |
def equivalent_length_multiply(self): |
|
344 |
straight_length = self.ui.lineEdit_Straight_Length.text() |
|
345 |
if is_blank(straight_length): |
|
346 |
return |
|
347 |
|
|
348 |
if self.sender() == self.ui.pushButton_1_2: |
|
349 |
multiply_length = (float)(straight_length) * 1.2 |
|
350 |
elif self.sender() == self.ui.pushButton_1_5: |
|
351 |
multiply_length = (float)(straight_length) * 1.5 |
|
352 |
elif self.sender() == self.ui.pushButton_2_5: |
|
353 |
multiply_length = (float)(straight_length) * 2.5 |
|
354 |
elif self.sender() == self.ui.pushButton_3: |
|
355 |
multiply_length = (float)(straight_length) * 3 |
|
356 |
elif self.sender() == self.ui.pushButton_4: |
|
357 |
multiply_length = (float)(straight_length) * 4 |
|
358 |
|
|
359 |
self.ui.lineEdit_Equivalent_Length_Input.setText(str(convert_to_fixed_point(multiply_length))) |
|
360 |
|
|
337 | 361 |
def mixed_density_vapor_change_event(self, text): |
338 | 362 |
if is_not_blank(text): |
339 | 363 |
self.ui.lineEdit_Mixed_Temperature_Vapor.setText('-') |
HYTOS/HYTOS/StreamData_UI.py | ||
---|---|---|
13 | 13 |
class Ui_Dialog(object): |
14 | 14 |
def setupUi(self, Dialog): |
15 | 15 |
Dialog.setObjectName("Dialog") |
16 |
Dialog.resize(685, 437)
|
|
16 |
Dialog.resize(685, 469)
|
|
17 | 17 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) |
18 | 18 |
sizePolicy.setHorizontalStretch(0) |
19 | 19 |
sizePolicy.setVerticalStretch(0) |
20 | 20 |
sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth()) |
21 | 21 |
Dialog.setSizePolicy(sizePolicy) |
22 |
Dialog.setMinimumSize(QtCore.QSize(685, 437))
|
|
23 |
Dialog.setMaximumSize(QtCore.QSize(685, 437))
|
|
22 |
Dialog.setMinimumSize(QtCore.QSize(685, 469))
|
|
23 |
Dialog.setMaximumSize(QtCore.QSize(685, 16777215))
|
|
24 | 24 |
font = QtGui.QFont() |
25 | 25 |
font.setFamily("맑은 고딕") |
26 | 26 |
Dialog.setFont(font) |
... | ... | |
29 | 29 |
Dialog.setWindowIcon(icon) |
30 | 30 |
Dialog.setSizeGripEnabled(False) |
31 | 31 |
self.groupBox_GeometryData = QtWidgets.QGroupBox(Dialog) |
32 |
self.groupBox_GeometryData.setGeometry(QtCore.QRect(348, 56, 328, 329))
|
|
32 |
self.groupBox_GeometryData.setGeometry(QtCore.QRect(348, 56, 328, 361))
|
|
33 | 33 |
font = QtGui.QFont() |
34 | 34 |
font.setBold(True) |
35 | 35 |
font.setWeight(75) |
... | ... | |
211 | 211 |
self.label_Equivalent_Lenght_Input_Unit.setObjectName("label_Equivalent_Lenght_Input_Unit") |
212 | 212 |
self.horizontalLayout_18.addWidget(self.label_Equivalent_Lenght_Input_Unit) |
213 | 213 |
self.verticalLayout_4.addLayout(self.horizontalLayout_18) |
214 |
self.horizontalLayout_27 = QtWidgets.QHBoxLayout() |
|
215 |
self.horizontalLayout_27.setObjectName("horizontalLayout_27") |
|
216 |
self.pushButton_1_2 = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
217 |
self.pushButton_1_2.setMinimumSize(QtCore.QSize(0, 0)) |
|
218 |
self.pushButton_1_2.setMaximumSize(QtCore.QSize(45, 16777215)) |
|
219 |
font = QtGui.QFont() |
|
220 |
font.setBold(False) |
|
221 |
font.setWeight(50) |
|
222 |
self.pushButton_1_2.setFont(font) |
|
223 |
self.pushButton_1_2.setObjectName("pushButton_1_2") |
|
224 |
self.horizontalLayout_27.addWidget(self.pushButton_1_2) |
|
225 |
self.pushButton_1_5 = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
226 |
self.pushButton_1_5.setMinimumSize(QtCore.QSize(0, 0)) |
|
227 |
self.pushButton_1_5.setMaximumSize(QtCore.QSize(45, 16777215)) |
|
228 |
font = QtGui.QFont() |
|
229 |
font.setBold(False) |
|
230 |
font.setWeight(50) |
|
231 |
self.pushButton_1_5.setFont(font) |
|
232 |
self.pushButton_1_5.setObjectName("pushButton_1_5") |
|
233 |
self.horizontalLayout_27.addWidget(self.pushButton_1_5) |
|
234 |
self.pushButton_2_5 = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
235 |
self.pushButton_2_5.setMinimumSize(QtCore.QSize(0, 0)) |
|
236 |
self.pushButton_2_5.setMaximumSize(QtCore.QSize(45, 16777215)) |
|
237 |
font = QtGui.QFont() |
|
238 |
font.setBold(False) |
|
239 |
font.setWeight(50) |
|
240 |
self.pushButton_2_5.setFont(font) |
|
241 |
self.pushButton_2_5.setObjectName("pushButton_2_5") |
|
242 |
self.horizontalLayout_27.addWidget(self.pushButton_2_5) |
|
243 |
self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
244 |
self.pushButton_3.setMinimumSize(QtCore.QSize(0, 0)) |
|
245 |
self.pushButton_3.setMaximumSize(QtCore.QSize(45, 16777215)) |
|
246 |
font = QtGui.QFont() |
|
247 |
font.setBold(False) |
|
248 |
font.setWeight(50) |
|
249 |
self.pushButton_3.setFont(font) |
|
250 |
self.pushButton_3.setObjectName("pushButton_3") |
|
251 |
self.horizontalLayout_27.addWidget(self.pushButton_3) |
|
252 |
self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
253 |
self.pushButton_4.setMinimumSize(QtCore.QSize(0, 0)) |
|
254 |
self.pushButton_4.setMaximumSize(QtCore.QSize(45, 16777215)) |
|
255 |
font = QtGui.QFont() |
|
256 |
font.setBold(False) |
|
257 |
font.setWeight(50) |
|
258 |
self.pushButton_4.setFont(font) |
|
259 |
self.pushButton_4.setObjectName("pushButton_4") |
|
260 |
self.horizontalLayout_27.addWidget(self.pushButton_4) |
|
261 |
spacerItem2 = QtWidgets.QSpacerItem(30, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
262 |
self.horizontalLayout_27.addItem(spacerItem2) |
|
263 |
self.verticalLayout_4.addLayout(self.horizontalLayout_27) |
|
214 | 264 |
self.horizontalLayout_16 = QtWidgets.QHBoxLayout() |
215 | 265 |
self.horizontalLayout_16.setObjectName("horizontalLayout_16") |
216 |
spacerItem2 = QtWidgets.QSpacerItem(54, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
|
|
217 |
self.horizontalLayout_16.addItem(spacerItem2)
|
|
266 |
spacerItem3 = QtWidgets.QSpacerItem(54, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
|
|
267 |
self.horizontalLayout_16.addItem(spacerItem3)
|
|
218 | 268 |
self.pushButton_Fitting = QtWidgets.QPushButton(self.groupBox_GeometryData) |
219 | 269 |
self.pushButton_Fitting.setEnabled(True) |
220 | 270 |
self.pushButton_Fitting.setMinimumSize(QtCore.QSize(75, 0)) |
... | ... | |
331 | 381 |
self.pushButton_Pressure_Gradient.setObjectName("pushButton_Pressure_Gradient") |
332 | 382 |
self.horizontalLayout.addWidget(self.pushButton_Pressure_Gradient) |
333 | 383 |
self.verticalLayout_4.addLayout(self.horizontalLayout) |
334 |
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
335 |
self.verticalLayout_4.addItem(spacerItem3)
|
|
384 |
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
385 |
self.verticalLayout_4.addItem(spacerItem4)
|
|
336 | 386 |
self.groupBox_ProcessData_Liquid = QtWidgets.QGroupBox(Dialog) |
337 | 387 |
self.groupBox_ProcessData_Liquid.setGeometry(QtCore.QRect(8, 56, 328, 221)) |
338 | 388 |
self.groupBox_ProcessData_Liquid.setMinimumSize(QtCore.QSize(0, 221)) |
... | ... | |
465 | 515 |
self.label_Viscosity_Unit_Liquid.setObjectName("label_Viscosity_Unit_Liquid") |
466 | 516 |
self.horizontalLayout_12.addWidget(self.label_Viscosity_Unit_Liquid) |
467 | 517 |
self.verticalLayout_5.addLayout(self.horizontalLayout_12) |
468 |
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
469 |
self.verticalLayout_5.addItem(spacerItem4)
|
|
518 |
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
519 |
self.verticalLayout_5.addItem(spacerItem5)
|
|
470 | 520 |
self.groupBox_Line_Sizing_Data = QtWidgets.QGroupBox(Dialog) |
471 |
self.groupBox_Line_Sizing_Data.setGeometry(QtCore.QRect(8, 288, 328, 97))
|
|
521 |
self.groupBox_Line_Sizing_Data.setGeometry(QtCore.QRect(8, 284, 328, 133))
|
|
472 | 522 |
font = QtGui.QFont() |
473 | 523 |
font.setBold(True) |
474 | 524 |
font.setWeight(75) |
... | ... | |
536 | 586 |
self.label_DropPressure_Unit.setObjectName("label_DropPressure_Unit") |
537 | 587 |
self.horizontalLayout_3.addWidget(self.label_DropPressure_Unit) |
538 | 588 |
self.verticalLayout_3.addLayout(self.horizontalLayout_3) |
539 |
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
540 |
self.verticalLayout_3.addItem(spacerItem5)
|
|
589 |
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
590 |
self.verticalLayout_3.addItem(spacerItem6)
|
|
541 | 591 |
self.groupBox_ProcessData_Vapor = QtWidgets.QGroupBox(Dialog) |
542 | 592 |
self.groupBox_ProcessData_Vapor.setGeometry(QtCore.QRect(8, 56, 328, 221)) |
543 | 593 |
self.groupBox_ProcessData_Vapor.setMinimumSize(QtCore.QSize(0, 221)) |
... | ... | |
733 | 783 |
self.label_Compress_Factor_Unit.setObjectName("label_Compress_Factor_Unit") |
734 | 784 |
self.horizontalLayout_25.addWidget(self.label_Compress_Factor_Unit) |
735 | 785 |
self.verticalLayout_6.addLayout(self.horizontalLayout_25) |
736 |
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
737 |
self.verticalLayout_6.addItem(spacerItem6)
|
|
786 |
spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
787 |
self.verticalLayout_6.addItem(spacerItem7)
|
|
738 | 788 |
self.pushButton_Line_Sizing = QtWidgets.QPushButton(Dialog) |
739 |
self.pushButton_Line_Sizing.setGeometry(QtCore.QRect(8, 400, 125, 24))
|
|
789 |
self.pushButton_Line_Sizing.setGeometry(QtCore.QRect(8, 432, 125, 24))
|
|
740 | 790 |
self.pushButton_Line_Sizing.setObjectName("pushButton_Line_Sizing") |
741 | 791 |
self.groupBox_ProcessData_Mixed = QtWidgets.QGroupBox(Dialog) |
742 | 792 |
self.groupBox_ProcessData_Mixed.setGeometry(QtCore.QRect(8, 56, 669, 133)) |
... | ... | |
1031 | 1081 |
self.horizontalLayout_26.addWidget(self.lineEdit_8) |
1032 | 1082 |
self.gridLayout.addLayout(self.horizontalLayout_26, 2, 0, 1, 1) |
1033 | 1083 |
self.groupBox_GeometryData_Mixed = QtWidgets.QGroupBox(Dialog) |
1034 |
self.groupBox_GeometryData_Mixed.setGeometry(QtCore.QRect(8, 196, 669, 189))
|
|
1084 |
self.groupBox_GeometryData_Mixed.setGeometry(QtCore.QRect(8, 196, 669, 221))
|
|
1035 | 1085 |
font = QtGui.QFont() |
1036 | 1086 |
font.setBold(True) |
1037 | 1087 |
font.setWeight(75) |
... | ... | |
1053 | 1103 |
icon1.addPixmap(QtGui.QPixmap(":/images/Add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
1054 | 1104 |
self.pushButton_Add_GeometryData_Mixed.setIcon(icon1) |
1055 | 1105 |
self.pushButton_Add_GeometryData_Mixed.setObjectName("pushButton_Add_GeometryData_Mixed") |
1056 |
self.gridLayout_3.addWidget(self.pushButton_Add_GeometryData_Mixed, 0, 0, 1, 1) |
|
1057 |
self.horizontalLayoutTableWidget = QtWidgets.QHBoxLayout() |
|
1058 |
self.horizontalLayoutTableWidget.setObjectName("horizontalLayoutTableWidget") |
|
1059 |
self.gridLayout_3.addLayout(self.horizontalLayoutTableWidget, 0, 1, 1, 1) |
|
1060 |
self.gridLayout_2.addLayout(self.gridLayout_3, 0, 0, 1, 1) |
|
1106 |
self.verticalLayout_2.addWidget(self.pushButton_Add_GeometryData_Mixed) |
|
1107 |
spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
1108 |
self.verticalLayout_2.addItem(spacerItem8) |
|
1109 |
self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1) |
|
1110 |
self.tableWidget_GeometryData_Mixed = QtWidgets.QTableWidget(self.groupBox_GeometryData_Mixed) |
|
1111 |
self.tableWidget_GeometryData_Mixed.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection) |
|
1112 |
self.tableWidget_GeometryData_Mixed.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows) |
|
1113 |
self.tableWidget_GeometryData_Mixed.setObjectName("tableWidget_GeometryData_Mixed") |
|
1114 |
self.tableWidget_GeometryData_Mixed.setColumnCount(0) |
|
1115 |
self.tableWidget_GeometryData_Mixed.setRowCount(0) |
|
1116 |
self.gridLayout_2.addWidget(self.tableWidget_GeometryData_Mixed, 0, 3, 1, 1) |
|
1061 | 1117 |
self.pushButton_Calculation = QtWidgets.QPushButton(Dialog) |
1062 |
self.pushButton_Calculation.setGeometry(QtCore.QRect(8, 400, 125, 24))
|
|
1118 |
self.pushButton_Calculation.setGeometry(QtCore.QRect(8, 432, 125, 24))
|
|
1063 | 1119 |
self.pushButton_Calculation.setMinimumSize(QtCore.QSize(0, 24)) |
1064 | 1120 |
self.pushButton_Calculation.setMaximumSize(QtCore.QSize(16777215, 24)) |
1065 | 1121 |
self.pushButton_Calculation.setObjectName("pushButton_Calculation") |
1066 | 1122 |
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) |
1067 |
self.buttonBox.setGeometry(QtCore.QRect(504, 396, 169, 33))
|
|
1123 |
self.buttonBox.setGeometry(QtCore.QRect(504, 428, 169, 33))
|
|
1068 | 1124 |
font = QtGui.QFont() |
1069 | 1125 |
font.setFamily("맑은 고딕") |
1070 | 1126 |
font.setBold(False) |
... | ... | |
1074 | 1130 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
1075 | 1131 |
self.buttonBox.setObjectName("buttonBox") |
1076 | 1132 |
self.pushButton_Diameter_Estimation = QtWidgets.QPushButton(Dialog) |
1077 |
self.pushButton_Diameter_Estimation.setGeometry(QtCore.QRect(140, 400, 217, 24))
|
|
1133 |
self.pushButton_Diameter_Estimation.setGeometry(QtCore.QRect(140, 432, 217, 24))
|
|
1078 | 1134 |
self.pushButton_Diameter_Estimation.setObjectName("pushButton_Diameter_Estimation") |
1079 | 1135 |
self.pushButton_Copy_Stream = QtWidgets.QPushButton(Dialog) |
1080 |
self.pushButton_Copy_Stream.setGeometry(QtCore.QRect(368, 400, 121, 24))
|
|
1136 |
self.pushButton_Copy_Stream.setGeometry(QtCore.QRect(368, 432, 121, 24))
|
|
1081 | 1137 |
self.pushButton_Copy_Stream.setObjectName("pushButton_Copy_Stream") |
1082 | 1138 |
self.comboBox_PhaseType = QtWidgets.QComboBox(Dialog) |
1083 | 1139 |
self.comboBox_PhaseType.setGeometry(QtCore.QRect(288, 18, 169, 22)) |
... | ... | |
1111 | 1167 |
self.label_5.setFont(font) |
1112 | 1168 |
self.label_5.setObjectName("label_5") |
1113 | 1169 |
self.pushButton_view = QtWidgets.QPushButton(Dialog) |
1114 |
self.pushButton_view.setGeometry(QtCore.QRect(140, 400, 217, 24))
|
|
1170 |
self.pushButton_view.setGeometry(QtCore.QRect(140, 432, 217, 24))
|
|
1115 | 1171 |
self.pushButton_view.setMinimumSize(QtCore.QSize(0, 24)) |
1116 | 1172 |
self.pushButton_view.setMaximumSize(QtCore.QSize(16777215, 24)) |
1117 | 1173 |
self.pushButton_view.setObjectName("pushButton_view") |
... | ... | |
1196 | 1252 |
self.label_Straight_Lengh_Unit.setText(_translate("Dialog", "-")) |
1197 | 1253 |
self.label_7.setText(_translate("Dialog", "Equiv. Lenght (Input) :")) |
1198 | 1254 |
self.label_Equivalent_Lenght_Input_Unit.setText(_translate("Dialog", "-")) |
1255 |
self.pushButton_1_2.setText(_translate("Dialog", "x 1.2")) |
|
1256 |
self.pushButton_1_5.setText(_translate("Dialog", "x 1.5")) |
|
1257 |
self.pushButton_2_5.setText(_translate("Dialog", "x 2.5")) |
|
1258 |
self.pushButton_3.setText(_translate("Dialog", "x 3.0")) |
|
1259 |
self.pushButton_4.setText(_translate("Dialog", "x 4.0")) |
|
1199 | 1260 |
self.pushButton_Fitting.setText(_translate("Dialog", "Fitting Input")) |
1200 | 1261 |
self.label_Fitting_Length_Unit.setText(_translate("Dialog", "-")) |
1201 | 1262 |
self.label_13.setText(_translate("Dialog", "K :")) |
HYTOS/HYTOS/UI/StreamData.ui | ||
---|---|---|
7 | 7 |
<x>0</x> |
8 | 8 |
<y>0</y> |
9 | 9 |
<width>685</width> |
10 |
<height>437</height>
|
|
10 |
<height>469</height>
|
|
11 | 11 |
</rect> |
12 | 12 |
</property> |
13 | 13 |
<property name="sizePolicy"> |
... | ... | |
19 | 19 |
<property name="minimumSize"> |
20 | 20 |
<size> |
21 | 21 |
<width>685</width> |
22 |
<height>437</height>
|
|
22 |
<height>469</height>
|
|
23 | 23 |
</size> |
24 | 24 |
</property> |
25 | 25 |
<property name="maximumSize"> |
26 | 26 |
<size> |
27 | 27 |
<width>685</width> |
28 |
<height>437</height>
|
|
28 |
<height>469</height>
|
|
29 | 29 |
</size> |
30 | 30 |
</property> |
31 | 31 |
<property name="font"> |
... | ... | |
40 | 40 |
<iconset resource="../res/Resource.qrc"> |
41 | 41 |
<normaloff>:/images/HYTOS.png</normaloff>:/images/HYTOS.png</iconset> |
42 | 42 |
</property> |
43 |
<property name="sizeGripEnabled"> |
|
44 |
<bool>false</bool> |
|
45 |
</property> |
|
46 | 43 |
<widget class="QGroupBox" name="groupBox_GeometryData"> |
47 | 44 |
<property name="geometry"> |
48 | 45 |
<rect> |
49 | 46 |
<x>348</x> |
50 | 47 |
<y>56</y> |
51 | 48 |
<width>328</width> |
52 |
<height>329</height>
|
|
49 |
<height>361</height>
|
|
53 | 50 |
</rect> |
54 | 51 |
</property> |
55 | 52 |
<property name="font"> |
... | ... | |
499 | 496 |
</layout> |
500 | 497 |
</item> |
501 | 498 |
<item> |
499 |
<layout class="QHBoxLayout" name="horizontalLayout_27"> |
|
500 |
<item> |
|
501 |
<widget class="QPushButton" name="pushButton_1_2"> |
|
502 |
<property name="minimumSize"> |
|
503 |
<size> |
|
504 |
<width>0</width> |
|
505 |
<height>0</height> |
|
506 |
</size> |
|
507 |
</property> |
|
508 |
<property name="maximumSize"> |
|
509 |
<size> |
|
510 |
<width>45</width> |
|
511 |
<height>16777215</height> |
|
512 |
</size> |
|
513 |
</property> |
|
514 |
<property name="font"> |
|
515 |
<font> |
|
516 |
<weight>50</weight> |
|
517 |
<bold>false</bold> |
|
518 |
</font> |
|
519 |
</property> |
|
520 |
<property name="text"> |
|
521 |
<string>x 1.2</string> |
|
522 |
</property> |
|
523 |
</widget> |
|
524 |
</item> |
|
525 |
<item> |
|
526 |
<widget class="QPushButton" name="pushButton_1_5"> |
|
527 |
<property name="minimumSize"> |
|
528 |
<size> |
|
529 |
<width>0</width> |
|
530 |
<height>0</height> |
|
531 |
</size> |
|
532 |
</property> |
|
533 |
<property name="maximumSize"> |
|
534 |
<size> |
|
535 |
<width>45</width> |
|
536 |
<height>16777215</height> |
|
537 |
</size> |
|
538 |
</property> |
|
539 |
<property name="font"> |
|
540 |
<font> |
|
541 |
<weight>50</weight> |
|
542 |
<bold>false</bold> |
|
543 |
</font> |
|
544 |
</property> |
|
545 |
<property name="text"> |
|
546 |
<string>x 1.5</string> |
|
547 |
</property> |
|
548 |
</widget> |
|
549 |
</item> |
|
550 |
<item> |
|
551 |
<widget class="QPushButton" name="pushButton_2_5"> |
|
552 |
<property name="minimumSize"> |
|
553 |
<size> |
|
554 |
<width>0</width> |
|
555 |
<height>0</height> |
|
556 |
</size> |
|
557 |
</property> |
|
558 |
<property name="maximumSize"> |
|
559 |
<size> |
|
560 |
<width>45</width> |
|
561 |
<height>16777215</height> |
|
562 |
</size> |
|
563 |
</property> |
|
564 |
<property name="font"> |
|
565 |
<font> |
|
566 |
<weight>50</weight> |
|
567 |
<bold>false</bold> |
|
568 |
</font> |
|
569 |
</property> |
|
570 |
<property name="text"> |
|
571 |
<string>x 2.5</string> |
|
572 |
</property> |
|
573 |
</widget> |
|
574 |
</item> |
|
575 |
<item> |
|
576 |
<widget class="QPushButton" name="pushButton_3"> |
|
577 |
<property name="minimumSize"> |
|
578 |
<size> |
|
579 |
<width>0</width> |
|
580 |
<height>0</height> |
|
581 |
</size> |
|
582 |
</property> |
|
583 |
<property name="maximumSize"> |
|
584 |
<size> |
|
585 |
<width>45</width> |
|
586 |
<height>16777215</height> |
|
587 |
</size> |
|
588 |
</property> |
|
589 |
<property name="font"> |
|
590 |
<font> |
|
591 |
<weight>50</weight> |
|
592 |
<bold>false</bold> |
|
593 |
</font> |
|
594 |
</property> |
|
595 |
<property name="text"> |
|
596 |
<string>x 3.0</string> |
|
597 |
</property> |
|
598 |
</widget> |
|
599 |
</item> |
|
600 |
<item> |
|
601 |
<widget class="QPushButton" name="pushButton_4"> |
|
602 |
<property name="minimumSize"> |
|
603 |
<size> |
|
604 |
<width>0</width> |
|
605 |
<height>0</height> |
|
606 |
</size> |
|
607 |
</property> |
|
608 |
<property name="maximumSize"> |
|
609 |
<size> |
|
610 |
<width>45</width> |
|
611 |
<height>16777215</height> |
|
612 |
</size> |
|
613 |
</property> |
|
614 |
<property name="font"> |
|
615 |
<font> |
|
616 |
<weight>50</weight> |
|
617 |
<bold>false</bold> |
|
618 |
</font> |
|
619 |
</property> |
|
620 |
<property name="text"> |
|
621 |
<string>x 4.0</string> |
|
622 |
</property> |
|
623 |
</widget> |
|
624 |
</item> |
|
625 |
<item> |
|
626 |
<spacer name="horizontalSpacer"> |
|
627 |
<property name="orientation"> |
|
628 |
<enum>Qt::Horizontal</enum> |
|
629 |
</property> |
|
630 |
<property name="sizeType"> |
|
631 |
<enum>QSizePolicy::Fixed</enum> |
|
632 |
</property> |
|
633 |
<property name="sizeHint" stdset="0"> |
|
634 |
<size> |
|
635 |
<width>30</width> |
|
636 |
<height>20</height> |
|
637 |
</size> |
|
638 |
</property> |
|
639 |
</spacer> |
|
640 |
</item> |
|
641 |
</layout> |
|
642 |
</item> |
|
643 |
<item> |
|
502 | 644 |
<layout class="QHBoxLayout" name="horizontalLayout_16"> |
503 | 645 |
<item> |
504 | 646 |
<spacer name="horizontalSpacer_2"> |
... | ... | |
1138 | 1280 |
<property name="geometry"> |
1139 | 1281 |
<rect> |
1140 | 1282 |
<x>8</x> |
1141 |
<y>288</y>
|
|
1283 |
<y>284</y>
|
|
1142 | 1284 |
<width>328</width> |
1143 |
<height>97</height>
|
|
1285 |
<height>133</height>
|
|
1144 | 1286 |
</rect> |
1145 | 1287 |
</property> |
1146 | 1288 |
<property name="font"> |
... | ... | |
1781 | 1923 |
<property name="geometry"> |
1782 | 1924 |
<rect> |
1783 | 1925 |
<x>8</x> |
1784 |
<y>400</y>
|
|
1926 |
<y>432</y>
|
|
1785 | 1927 |
<width>125</width> |
1786 | 1928 |
<height>24</height> |
1787 | 1929 |
</rect> |
... | ... | |
2607 | 2749 |
<x>8</x> |
2608 | 2750 |
<y>196</y> |
2609 | 2751 |
<width>669</width> |
2610 |
<height>189</height>
|
|
2752 |
<height>221</height>
|
|
2611 | 2753 |
</rect> |
2612 | 2754 |
</property> |
2613 | 2755 |
<property name="font"> |
... | ... | |
2621 | 2763 |
</property> |
2622 | 2764 |
<layout class="QGridLayout" name="gridLayout_2"> |
2623 | 2765 |
<item row="0" column="0"> |
2624 |
<layout class="QGridLayout" name="gridLayout_3">
|
|
2625 |
<item row="0" column="0">
|
|
2766 |
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
2767 |
<item> |
|
2626 | 2768 |
<widget class="QPushButton" name="pushButton_Add_GeometryData_Mixed"> |
2627 | 2769 |
<property name="minimumSize"> |
2628 | 2770 |
<size> |
... | ... | |
2651 | 2793 |
</property> |
2652 | 2794 |
</widget> |
2653 | 2795 |
</item> |
2654 |
<item row="0" column="1"> |
|
2655 |
<layout class="QHBoxLayout" name="horizontalLayoutTableWidget"/> |
|
2796 |
<item> |
|
2797 |
<spacer name="verticalSpacer_5"> |
|
2798 |
<property name="orientation"> |
|
2799 |
<enum>Qt::Vertical</enum> |
|
2800 |
</property> |
|
2801 |
<property name="sizeHint" stdset="0"> |
|
2802 |
<size> |
|
2803 |
<width>20</width> |
|
2804 |
<height>40</height> |
|
2805 |
</size> |
|
2806 |
</property> |
|
2807 |
</spacer> |
|
2656 | 2808 |
</item> |
2657 | 2809 |
</layout> |
2658 | 2810 |
</item> |
2811 |
<item row="0" column="3"> |
|
2812 |
<widget class="QTableWidget" name="tableWidget_GeometryData_Mixed"> |
|
2813 |
<property name="selectionMode"> |
|
2814 |
<enum>QAbstractItemView::SingleSelection</enum> |
|
2815 |
</property> |
|
2816 |
<property name="selectionBehavior"> |
|
2817 |
<enum>QAbstractItemView::SelectRows</enum> |
|
2818 |
</property> |
|
2819 |
</widget> |
|
2820 |
</item> |
|
2659 | 2821 |
</layout> |
2660 | 2822 |
</widget> |
2661 | 2823 |
<widget class="QPushButton" name="pushButton_Calculation"> |
2662 | 2824 |
<property name="geometry"> |
2663 | 2825 |
<rect> |
2664 | 2826 |
<x>8</x> |
2665 |
<y>400</y>
|
|
2827 |
<y>432</y>
|
|
2666 | 2828 |
<width>125</width> |
2667 | 2829 |
<height>24</height> |
2668 | 2830 |
</rect> |
... | ... | |
2687 | 2849 |
<property name="geometry"> |
2688 | 2850 |
<rect> |
2689 | 2851 |
<x>504</x> |
2690 |
<y>396</y>
|
|
2852 |
<y>428</y>
|
|
2691 | 2853 |
<width>169</width> |
2692 | 2854 |
<height>33</height> |
2693 | 2855 |
</rect> |
... | ... | |
2710 | 2872 |
<property name="geometry"> |
2711 | 2873 |
<rect> |
2712 | 2874 |
<x>140</x> |
2713 |
<y>400</y>
|
|
2875 |
<y>432</y>
|
|
2714 | 2876 |
<width>217</width> |
2715 | 2877 |
<height>24</height> |
2716 | 2878 |
</rect> |
... | ... | |
2723 | 2885 |
<property name="geometry"> |
2724 | 2886 |
<rect> |
2725 | 2887 |
<x>368</x> |
2726 |
<y>400</y>
|
|
2888 |
<y>432</y>
|
|
2727 | 2889 |
<width>121</width> |
2728 | 2890 |
<height>24</height> |
2729 | 2891 |
</rect> |
... | ... | |
2821 | 2983 |
<property name="geometry"> |
2822 | 2984 |
<rect> |
2823 | 2985 |
<x>140</x> |
2824 |
<y>400</y>
|
|
2986 |
<y>432</y>
|
|
2825 | 2987 |
<width>217</width> |
2826 | 2988 |
<height>24</height> |
2827 | 2989 |
</rect> |
... | ... | |
2842 | 3004 |
<string>View Calculation Result</string> |
2843 | 3005 |
</property> |
2844 | 3006 |
</widget> |
2845 |
<zorder>groupBox_GeometryData</zorder> |
|
2846 |
<zorder>groupBox_ProcessData_Liquid</zorder> |
|
2847 |
<zorder>groupBox_Line_Sizing_Data</zorder> |
|
2848 |
<zorder>groupBox_ProcessData_Vapor</zorder> |
|
2849 |
<zorder>pushButton_Line_Sizing</zorder> |
|
2850 |
<zorder>groupBox_ProcessData_Mixed</zorder> |
|
2851 |
<zorder>pushButton_Calculation</zorder> |
|
2852 |
<zorder>buttonBox</zorder> |
|
2853 |
<zorder>pushButton_Diameter_Estimation</zorder> |
|
2854 |
<zorder>pushButton_Copy_Stream</zorder> |
|
2855 |
<zorder>comboBox_PhaseType</zorder> |
|
2856 |
<zorder>label_14</zorder> |
|
2857 |
<zorder>lineEdit_StreamNo</zorder> |
|
2858 |
<zorder>label_5</zorder> |
|
2859 |
<zorder>pushButton_view</zorder> |
|
2860 |
<zorder>groupBox_GeometryData_Mixed</zorder> |
|
2861 | 3007 |
</widget> |
2862 | 3008 |
<tabstops> |
2863 | 3009 |
<tabstop>lineEdit_StreamNo</tabstop> |
... | ... | |
2890 | 3036 |
<tabstop>pushButton_Diameter_Estimation</tabstop> |
2891 | 3037 |
<tabstop>pushButton_Copy_Stream</tabstop> |
2892 | 3038 |
<tabstop>pushButton_view</tabstop> |
3039 |
<tabstop>tableWidget_GeometryData_Mixed</tabstop> |
|
2893 | 3040 |
<tabstop>lineEdit_Fitting_K</tabstop> |
2894 | 3041 |
<tabstop>lineEdit_Mixed_Flowrate_Mass_Vapor</tabstop> |
2895 | 3042 |
<tabstop>lineEdit_Mixed_Density_Vapor</tabstop> |
... | ... | |
2905 | 3052 |
<tabstop>lineEdit_10</tabstop> |
2906 | 3053 |
<tabstop>lineEdit_9</tabstop> |
2907 | 3054 |
<tabstop>lineEdit_8</tabstop> |
3055 |
<tabstop>pushButton_Add_GeometryData_Mixed</tabstop> |
|
2908 | 3056 |
</tabstops> |
2909 | 3057 |
<resources> |
2910 | 3058 |
<include location="../res/Resource.qrc"/> |
내보내기 Unified diff