개정판 f5fb9c3d
issue #1054 :스트림 데이타 입력 수정
Change-Id: I07e1aa7794f355d1b60f7a82e2c35c645c7d5570
HYTOS/HYTOS/StreamData_UI.py | ||
---|---|---|
382 | 382 |
self.verticalLayout_5.setObjectName("verticalLayout_5") |
383 | 383 |
self.horizontalLayout_8 = QtWidgets.QHBoxLayout() |
384 | 384 |
self.horizontalLayout_8.setObjectName("horizontalLayout_8") |
385 |
spacerItem4 = QtWidgets.QSpacerItem(11, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
|
|
385 |
spacerItem4 = QtWidgets.QSpacerItem(27, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
|
|
386 | 386 |
self.horizontalLayout_8.addItem(spacerItem4) |
387 | 387 |
self.radioButton_Flowrate_Mass = QtWidgets.QRadioButton(self.groupBox_ProcessData_Liquid) |
388 | 388 |
self.radioButton_Flowrate_Mass.setMinimumSize(QtCore.QSize(0, 0)) |
... | ... | |
416 | 416 |
self.verticalLayout_5.addLayout(self.horizontalLayout_8) |
417 | 417 |
self.horizontalLayout_10 = QtWidgets.QHBoxLayout() |
418 | 418 |
self.horizontalLayout_10.setObjectName("horizontalLayout_10") |
419 |
spacerItem5 = QtWidgets.QSpacerItem(16, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
420 |
self.horizontalLayout_10.addItem(spacerItem5) |
|
419 | 421 |
self.radioButton_Flowrate_Volume = QtWidgets.QRadioButton(self.groupBox_ProcessData_Liquid) |
420 | 422 |
self.radioButton_Flowrate_Volume.setMinimumSize(QtCore.QSize(0, 0)) |
421 | 423 |
self.radioButton_Flowrate_Volume.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
... | ... | |
448 | 450 |
self.horizontalLayout_11 = QtWidgets.QHBoxLayout() |
449 | 451 |
self.horizontalLayout_11.setObjectName("horizontalLayout_11") |
450 | 452 |
self.label_18 = QtWidgets.QLabel(self.groupBox_ProcessData_Liquid) |
451 |
self.label_18.setMinimumSize(QtCore.QSize(133, 0))
|
|
452 |
self.label_18.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
453 |
self.label_18.setMinimumSize(QtCore.QSize(148, 0))
|
|
454 |
self.label_18.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
453 | 455 |
font = QtGui.QFont() |
454 | 456 |
font.setBold(False) |
455 | 457 |
font.setWeight(50) |
... | ... | |
478 | 480 |
self.horizontalLayout_12 = QtWidgets.QHBoxLayout() |
479 | 481 |
self.horizontalLayout_12.setObjectName("horizontalLayout_12") |
480 | 482 |
self.label_20 = QtWidgets.QLabel(self.groupBox_ProcessData_Liquid) |
481 |
self.label_20.setMinimumSize(QtCore.QSize(133, 0))
|
|
482 |
self.label_20.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
483 |
self.label_20.setMinimumSize(QtCore.QSize(148, 0))
|
|
484 |
self.label_20.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
483 | 485 |
font = QtGui.QFont() |
484 | 486 |
font.setBold(False) |
485 | 487 |
font.setWeight(50) |
... | ... | |
505 | 507 |
self.label_Viscosity_Unit_Liquid.setObjectName("label_Viscosity_Unit_Liquid") |
506 | 508 |
self.horizontalLayout_12.addWidget(self.label_Viscosity_Unit_Liquid) |
507 | 509 |
self.verticalLayout_5.addLayout(self.horizontalLayout_12) |
508 |
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
509 |
self.verticalLayout_5.addItem(spacerItem5)
|
|
510 |
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
511 |
self.verticalLayout_5.addItem(spacerItem6)
|
|
510 | 512 |
self.groupBox_Line_Sizing_Data = QtWidgets.QGroupBox(Dialog) |
511 | 513 |
self.groupBox_Line_Sizing_Data.setGeometry(QtCore.QRect(8, 312, 328, 97)) |
512 | 514 |
font = QtGui.QFont() |
... | ... | |
576 | 578 |
self.label_DropPressure_Unit.setObjectName("label_DropPressure_Unit") |
577 | 579 |
self.horizontalLayout_3.addWidget(self.label_DropPressure_Unit) |
578 | 580 |
self.verticalLayout_3.addLayout(self.horizontalLayout_3) |
579 |
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
580 |
self.verticalLayout_3.addItem(spacerItem6)
|
|
581 |
spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
582 |
self.verticalLayout_3.addItem(spacerItem7)
|
|
581 | 583 |
self.groupBox_ProcessData_Vapor = QtWidgets.QGroupBox(Dialog) |
582 | 584 |
self.groupBox_ProcessData_Vapor.setGeometry(QtCore.QRect(8, 80, 328, 221)) |
583 | 585 |
self.groupBox_ProcessData_Vapor.setMinimumSize(QtCore.QSize(0, 221)) |
... | ... | |
592 | 594 |
self.horizontalLayout_13 = QtWidgets.QHBoxLayout() |
593 | 595 |
self.horizontalLayout_13.setObjectName("horizontalLayout_13") |
594 | 596 |
self.label_3 = QtWidgets.QLabel(self.groupBox_ProcessData_Vapor) |
595 |
self.label_3.setMinimumSize(QtCore.QSize(133, 0))
|
|
596 |
self.label_3.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
597 |
self.label_3.setMinimumSize(QtCore.QSize(148, 0))
|
|
598 |
self.label_3.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
597 | 599 |
font = QtGui.QFont() |
598 | 600 |
font.setBold(False) |
599 | 601 |
font.setWeight(50) |
... | ... | |
622 | 624 |
self.horizontalLayout_23 = QtWidgets.QHBoxLayout() |
623 | 625 |
self.horizontalLayout_23.setObjectName("horizontalLayout_23") |
624 | 626 |
self.label_21 = QtWidgets.QLabel(self.groupBox_ProcessData_Vapor) |
625 |
self.label_21.setMinimumSize(QtCore.QSize(133, 0))
|
|
626 |
self.label_21.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
627 |
self.label_21.setMinimumSize(QtCore.QSize(148, 0))
|
|
628 |
self.label_21.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
627 | 629 |
font = QtGui.QFont() |
628 | 630 |
font.setBold(False) |
629 | 631 |
font.setWeight(50) |
... | ... | |
652 | 654 |
self.horizontalLayout_21 = QtWidgets.QHBoxLayout() |
653 | 655 |
self.horizontalLayout_21.setObjectName("horizontalLayout_21") |
654 | 656 |
self.label_16 = QtWidgets.QLabel(self.groupBox_ProcessData_Vapor) |
655 |
self.label_16.setMinimumSize(QtCore.QSize(133, 0))
|
|
656 |
self.label_16.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
657 |
self.label_16.setMinimumSize(QtCore.QSize(148, 0))
|
|
658 |
self.label_16.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
657 | 659 |
font = QtGui.QFont() |
658 | 660 |
font.setBold(False) |
659 | 661 |
font.setWeight(50) |
... | ... | |
684 | 686 |
self.horizontalLayout_22 = QtWidgets.QHBoxLayout() |
685 | 687 |
self.horizontalLayout_22.setObjectName("horizontalLayout_22") |
686 | 688 |
self.label_19 = QtWidgets.QLabel(self.groupBox_ProcessData_Vapor) |
687 |
self.label_19.setMinimumSize(QtCore.QSize(133, 0))
|
|
688 |
self.label_19.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
689 |
self.label_19.setMinimumSize(QtCore.QSize(148, 0))
|
|
690 |
self.label_19.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
689 | 691 |
font = QtGui.QFont() |
690 | 692 |
font.setBold(False) |
691 | 693 |
font.setWeight(50) |
... | ... | |
715 | 717 |
self.horizontalLayout_24 = QtWidgets.QHBoxLayout() |
716 | 718 |
self.horizontalLayout_24.setObjectName("horizontalLayout_24") |
717 | 719 |
self.label_22 = QtWidgets.QLabel(self.groupBox_ProcessData_Vapor) |
718 |
self.label_22.setMinimumSize(QtCore.QSize(133, 0))
|
|
719 |
self.label_22.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
720 |
self.label_22.setMinimumSize(QtCore.QSize(148, 0))
|
|
721 |
self.label_22.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
720 | 722 |
font = QtGui.QFont() |
721 | 723 |
font.setBold(False) |
722 | 724 |
font.setWeight(50) |
... | ... | |
745 | 747 |
self.horizontalLayout_25 = QtWidgets.QHBoxLayout() |
746 | 748 |
self.horizontalLayout_25.setObjectName("horizontalLayout_25") |
747 | 749 |
self.label_23 = QtWidgets.QLabel(self.groupBox_ProcessData_Vapor) |
748 |
self.label_23.setMinimumSize(QtCore.QSize(133, 0))
|
|
749 |
self.label_23.setMaximumSize(QtCore.QSize(133, 16777215))
|
|
750 |
self.label_23.setMinimumSize(QtCore.QSize(148, 0))
|
|
751 |
self.label_23.setMaximumSize(QtCore.QSize(148, 16777215))
|
|
750 | 752 |
font = QtGui.QFont() |
751 | 753 |
font.setBold(False) |
752 | 754 |
font.setWeight(50) |
... | ... | |
773 | 775 |
self.label_Compress_Factor_Unit.setObjectName("label_Compress_Factor_Unit") |
774 | 776 |
self.horizontalLayout_25.addWidget(self.label_Compress_Factor_Unit) |
775 | 777 |
self.verticalLayout_6.addLayout(self.horizontalLayout_25) |
776 |
spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
777 |
self.verticalLayout_6.addItem(spacerItem7)
|
|
778 |
spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
779 |
self.verticalLayout_6.addItem(spacerItem8)
|
|
778 | 780 |
self.pushButton_Line_Sizing = QtWidgets.QPushButton(Dialog) |
779 | 781 |
self.pushButton_Line_Sizing.setGeometry(QtCore.QRect(8, 420, 149, 23)) |
780 | 782 |
self.pushButton_Line_Sizing.setObjectName("pushButton_Line_Sizing") |
... | ... | |
1088 | 1090 |
self.verticalLayout_2.setObjectName("verticalLayout_2") |
1089 | 1091 |
self.horizontalLayout_27 = QtWidgets.QHBoxLayout() |
1090 | 1092 |
self.horizontalLayout_27.setObjectName("horizontalLayout_27") |
1091 |
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
1092 |
self.horizontalLayout_27.addItem(spacerItem8)
|
|
1093 |
spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
1094 |
self.horizontalLayout_27.addItem(spacerItem9)
|
|
1093 | 1095 |
self.pushButton_Add_GeometryData_Mixed = QtWidgets.QPushButton(self.groupBox_GeometryData_Mixed) |
1094 | 1096 |
self.pushButton_Add_GeometryData_Mixed.setMinimumSize(QtCore.QSize(24, 24)) |
1095 | 1097 |
self.pushButton_Add_GeometryData_Mixed.setMaximumSize(QtCore.QSize(24, 24)) |
... | ... | |
1183 | 1185 |
self.label_6.setText(_translate("Dialog", "△P :")) |
1184 | 1186 |
self.label_DropPressure_Unit.setText(_translate("Dialog", "-")) |
1185 | 1187 |
self.groupBox_ProcessData_Vapor.setTitle(_translate("Dialog", "Process Data")) |
1186 |
self.label_3.setText(_translate("Dialog", "Flowrate :")) |
|
1188 |
self.label_3.setText(_translate("Dialog", "Flowrate (Mass) :"))
|
|
1187 | 1189 |
self.label_Flowrate_Mass_Unit_Vapor.setText(_translate("Dialog", "-")) |
1188 | 1190 |
self.label_21.setText(_translate("Dialog", "Viscosity :")) |
1189 | 1191 |
self.label_Viscosity_Unit_Vapor.setText(_translate("Dialog", "-")) |
1190 |
self.label_16.setText(_translate("Dialog", "Cp/Cv :"))
|
|
1192 |
self.label_16.setText(_translate("Dialog", "Spec. heat ratio (Cp/Cv) :"))
|
|
1191 | 1193 |
self.label_19.setText(_translate("Dialog", "Molecular Weight :")) |
1192 | 1194 |
self.label_22.setText(_translate("Dialog", "Temperature :")) |
1193 | 1195 |
self.label_Temperature_Unit.setText(_translate("Dialog", "-")) |
1194 |
self.label_23.setText(_translate("Dialog", "Z factor :"))
|
|
1196 |
self.label_23.setText(_translate("Dialog", "Compress. factor (Z) :"))
|
|
1195 | 1197 |
self.pushButton_Line_Sizing.setText(_translate("Dialog", "Line Sizing Criteria")) |
1196 | 1198 |
self.groupBox_ProcessData_Mixed.setTitle(_translate("Dialog", "Process Data (at Start Point)")) |
1197 | 1199 |
self.label_2.setText(_translate("Dialog", "Flowrate")) |
HYTOS/HYTOS/UI/StreamData.ui | ||
---|---|---|
931 | 931 |
</property> |
932 | 932 |
<property name="sizeHint" stdset="0"> |
933 | 933 |
<size> |
934 |
<width>11</width>
|
|
934 |
<width>27</width>
|
|
935 | 935 |
<height>20</height> |
936 | 936 |
</size> |
937 | 937 |
</property> |
... | ... | |
1017 | 1017 |
<item> |
1018 | 1018 |
<layout class="QHBoxLayout" name="horizontalLayout_10"> |
1019 | 1019 |
<item> |
1020 |
<spacer name="horizontalSpacer_6"> |
|
1021 |
<property name="orientation"> |
|
1022 |
<enum>Qt::Horizontal</enum> |
|
1023 |
</property> |
|
1024 |
<property name="sizeType"> |
|
1025 |
<enum>QSizePolicy::Fixed</enum> |
|
1026 |
</property> |
|
1027 |
<property name="sizeHint" stdset="0"> |
|
1028 |
<size> |
|
1029 |
<width>16</width> |
|
1030 |
<height>20</height> |
|
1031 |
</size> |
|
1032 |
</property> |
|
1033 |
</spacer> |
|
1034 |
</item> |
|
1035 |
<item> |
|
1020 | 1036 |
<widget class="QRadioButton" name="radioButton_Flowrate_Volume"> |
1021 | 1037 |
<property name="minimumSize"> |
1022 | 1038 |
<size> |
... | ... | |
1093 | 1109 |
<widget class="QLabel" name="label_18"> |
1094 | 1110 |
<property name="minimumSize"> |
1095 | 1111 |
<size> |
1096 |
<width>133</width>
|
|
1112 |
<width>148</width>
|
|
1097 | 1113 |
<height>0</height> |
1098 | 1114 |
</size> |
1099 | 1115 |
</property> |
1100 | 1116 |
<property name="maximumSize"> |
1101 | 1117 |
<size> |
1102 |
<width>133</width>
|
|
1118 |
<width>148</width>
|
|
1103 | 1119 |
<height>16777215</height> |
1104 | 1120 |
</size> |
1105 | 1121 |
</property> |
... | ... | |
1163 | 1179 |
<widget class="QLabel" name="label_20"> |
1164 | 1180 |
<property name="minimumSize"> |
1165 | 1181 |
<size> |
1166 |
<width>133</width>
|
|
1182 |
<width>148</width>
|
|
1167 | 1183 |
<height>0</height> |
1168 | 1184 |
</size> |
1169 | 1185 |
</property> |
1170 | 1186 |
<property name="maximumSize"> |
1171 | 1187 |
<size> |
1172 |
<width>133</width>
|
|
1188 |
<width>148</width>
|
|
1173 | 1189 |
<height>16777215</height> |
1174 | 1190 |
</size> |
1175 | 1191 |
</property> |
... | ... | |
1453 | 1469 |
<widget class="QLabel" name="label_3"> |
1454 | 1470 |
<property name="minimumSize"> |
1455 | 1471 |
<size> |
1456 |
<width>133</width>
|
|
1472 |
<width>148</width>
|
|
1457 | 1473 |
<height>0</height> |
1458 | 1474 |
</size> |
1459 | 1475 |
</property> |
1460 | 1476 |
<property name="maximumSize"> |
1461 | 1477 |
<size> |
1462 |
<width>133</width>
|
|
1478 |
<width>148</width>
|
|
1463 | 1479 |
<height>16777215</height> |
1464 | 1480 |
</size> |
1465 | 1481 |
</property> |
... | ... | |
1470 | 1486 |
</font> |
1471 | 1487 |
</property> |
1472 | 1488 |
<property name="text"> |
1473 |
<string>Flowrate :</string> |
|
1489 |
<string>Flowrate (Mass) :</string>
|
|
1474 | 1490 |
</property> |
1475 | 1491 |
<property name="alignment"> |
1476 | 1492 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
... | ... | |
1523 | 1539 |
<widget class="QLabel" name="label_21"> |
1524 | 1540 |
<property name="minimumSize"> |
1525 | 1541 |
<size> |
1526 |
<width>133</width>
|
|
1542 |
<width>148</width>
|
|
1527 | 1543 |
<height>0</height> |
1528 | 1544 |
</size> |
1529 | 1545 |
</property> |
1530 | 1546 |
<property name="maximumSize"> |
1531 | 1547 |
<size> |
1532 |
<width>133</width>
|
|
1548 |
<width>148</width>
|
|
1533 | 1549 |
<height>16777215</height> |
1534 | 1550 |
</size> |
1535 | 1551 |
</property> |
... | ... | |
1593 | 1609 |
<widget class="QLabel" name="label_16"> |
1594 | 1610 |
<property name="minimumSize"> |
1595 | 1611 |
<size> |
1596 |
<width>133</width>
|
|
1612 |
<width>148</width>
|
|
1597 | 1613 |
<height>0</height> |
1598 | 1614 |
</size> |
1599 | 1615 |
</property> |
1600 | 1616 |
<property name="maximumSize"> |
1601 | 1617 |
<size> |
1602 |
<width>133</width>
|
|
1618 |
<width>148</width>
|
|
1603 | 1619 |
<height>16777215</height> |
1604 | 1620 |
</size> |
1605 | 1621 |
</property> |
... | ... | |
1610 | 1626 |
</font> |
1611 | 1627 |
</property> |
1612 | 1628 |
<property name="text"> |
1613 |
<string>Cp/Cv :</string>
|
|
1629 |
<string>Spec. heat ratio (Cp/Cv) :</string>
|
|
1614 | 1630 |
</property> |
1615 | 1631 |
<property name="alignment"> |
1616 | 1632 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
... | ... | |
1666 | 1682 |
<widget class="QLabel" name="label_19"> |
1667 | 1683 |
<property name="minimumSize"> |
1668 | 1684 |
<size> |
1669 |
<width>133</width>
|
|
1685 |
<width>148</width>
|
|
1670 | 1686 |
<height>0</height> |
1671 | 1687 |
</size> |
1672 | 1688 |
</property> |
1673 | 1689 |
<property name="maximumSize"> |
1674 | 1690 |
<size> |
1675 |
<width>133</width>
|
|
1691 |
<width>148</width>
|
|
1676 | 1692 |
<height>16777215</height> |
1677 | 1693 |
</size> |
1678 | 1694 |
</property> |
... | ... | |
1736 | 1752 |
<widget class="QLabel" name="label_22"> |
1737 | 1753 |
<property name="minimumSize"> |
1738 | 1754 |
<size> |
1739 |
<width>133</width>
|
|
1755 |
<width>148</width>
|
|
1740 | 1756 |
<height>0</height> |
1741 | 1757 |
</size> |
1742 | 1758 |
</property> |
1743 | 1759 |
<property name="maximumSize"> |
1744 | 1760 |
<size> |
1745 |
<width>133</width>
|
|
1761 |
<width>148</width>
|
|
1746 | 1762 |
<height>16777215</height> |
1747 | 1763 |
</size> |
1748 | 1764 |
</property> |
... | ... | |
1806 | 1822 |
<widget class="QLabel" name="label_23"> |
1807 | 1823 |
<property name="minimumSize"> |
1808 | 1824 |
<size> |
1809 |
<width>133</width>
|
|
1825 |
<width>148</width>
|
|
1810 | 1826 |
<height>0</height> |
1811 | 1827 |
</size> |
1812 | 1828 |
</property> |
1813 | 1829 |
<property name="maximumSize"> |
1814 | 1830 |
<size> |
1815 |
<width>133</width>
|
|
1831 |
<width>148</width>
|
|
1816 | 1832 |
<height>16777215</height> |
1817 | 1833 |
</size> |
1818 | 1834 |
</property> |
... | ... | |
1823 | 1839 |
</font> |
1824 | 1840 |
</property> |
1825 | 1841 |
<property name="text"> |
1826 |
<string>Z factor :</string>
|
|
1842 |
<string>Compress. factor (Z) :</string>
|
|
1827 | 1843 |
</property> |
1828 | 1844 |
<property name="alignment"> |
1829 | 1845 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
내보내기 Unified diff