프로젝트

일반

사용자정보

개정판 3fddaeeb

ID3fddaeeb6589f3ca3291f452401e46259ba17072
상위 5239ded3
하위 84e69cc8

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

issue #1054 : 스트림 데이타 입력 : Liquid_Drop_Method에 따라 Roughness 화면 다르게 띄우기

Change-Id: I0e0a4d9058a7415c90013b38f04c287aac361ba4

차이점 보기:

HYTOS/HYTOS/Shapes/SymbolSvgItem.py
321 321
        rect = self.boundingRect()
322 322
        if self.name in ('CV_H', 'CV_V') or self.name == 'Line_Splitter' or self.name in ('Filter_H', 'Filter_V'):
323 323
            data = self.connectors[0].data
324
            self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
324
            if data:
325
                self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
325 326
        elif self.name in ('Y_Strainer_H', 'Y_Strainer_V'):
326 327
            data = self.connectors[0].data
327
            self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
328
            if data:
329
                self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
328 330
        elif self.name in ('L_Pump', 'R_Pump', 'V_Pump'):
329 331
            data = self.connectors[0].data
330
            self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
332
            if data:
333
                self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
331 334
        elif self.name in ('Ori_Flowmeter_H', 'Oth_Flowmeter_H', 'Ven_Flowmeter_H', 'Ori_Flowmeter_V', 'Oth_Flowmeter_V',
332 335
                           'Ven_Flowmeter_V'):
333 336
            data = self.connectors[0].data
334
            self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
337
            if data:
338
                self.desc_label.setHtml(f"{self.name}<br>{data.pressure_drop} kg/cm2<br>{data.elevation} m")
335 339
        elif self.name in ('HEX_V', 'HEX_DP', 'HEX_H', 'HEX_K', 'HEX_V'):
336 340
            data = [conn.data for conn in self.connectors
337 341
                    if conn.data and (conn.data.pressure_drop is not None or conn.data.elevation is not None)]
HYTOS/HYTOS/StreamDataDialog.py
22 22
        self.ui = StreamData_UI.Ui_Dialog()
23 23
        self.ui.setupUi(self)
24 24
        self.result = False
25
        self.liquid_drop_method = None
25 26

  
26 27
        self.ui.lineEdit_Fitting_K.setVisible(False)
27 28

  
......
52 53
        self.ui.radioButton_Flowrate_Volume.clicked.connect(self.clickedEvent)
53 54
        self.ui.radioButton_Equivalent_Length_Input.clicked.connect(self.clickedEvent)
54 55
        self.ui.radioButton_Equivalent_Length_Cal.clicked.connect(self.clickedEvent)
55
        self.ui.pushButton_Roughness.clicked.connect(self.roughnessClickedEvent)
56
        self.ui.pushButton_Roughness.clicked.connect(self.roughness_clicked_event)
56 57
        self.ui.pushButton_Fitting.clicked.connect(self.show_fitting_dialog)
57 58
        self.ui.comboBox_Nominal_Pipe_Size.currentIndexChanged.connect(self.getInsideDiameter)
58 59
        self.ui.comboBox_Schedule_No.currentIndexChanged.connect(self.getInsideDiameter)
59 60
        self.ui.comboBox_PhaseType.currentIndexChanged.connect(self.on_change_phase_type)
60 61
        self.ui.pushButton_Line_Sizing.clicked.connect(self.show_line_sizing_dialog)
62
        self.ui.pushButton_Add_GeometryData_Mixed.clicked.connect(self.show_geometry_data_dialog)
61 63

  
64
        self.initialize()
65
        self.init_liquid_drop_method()
62 66
        self.init_phase_type()
63 67
        self.init_units()
64 68
        self.init_nominal_diameter()
65 69
        self.init_schedule()
66 70

  
67
    def roughnessClickedEvent(self):
71
    def initialize(self):
72
        pass
73
        self.ui.tableWidget_GeometryData_Mixed.setColumnCount(9)
74
        self.ui.tableWidget_GeometryData_Mixed.horizontalHeader().setStretchLastSection(True)
75
        self.ui.tableWidget_GeometryData_Mixed.setHorizontalHeaderLabels(
76
            [self.tr('Element'), self.tr('ND'), self.tr('Sch.'), self.tr('ID'), self.tr('Rough'), self.tr('Angle'), self.tr('r/D'), self.tr('D1/D2'), self.tr('K')])
77
        # self.ui.tableWidget_GeometryData_Mixed.horizontalHeaderItem(0).setSizeHint(QSize(25, 25))
78
        # self.ui.tableWidget_GeometryData_Mixed.itemPressed.connect(self.onConnPtPressed)
79
        self.ui.tableWidget_GeometryData_Mixed.verticalHeader().setVisible(True)
80

  
81
    def init_liquid_drop_method(self):
82
        app_doc_data = AppDocData.instance()
83

  
84
        liquid_dp_method = app_doc_data.getConfigs('Calculation', 'Liquid_Drop_Method')
85
        if len(liquid_dp_method) == 1:
86
            self.liquid_drop_method = liquid_dp_method[0].value
87
        else:
88
            self.liquid_drop_method = 'darcy'
89

  
90
    def roughness_clicked_event(self):
68 91
        from RoughnessDialog import QRoughnessDialog
92
        from Roughness_HagenDialog import QRoughness_HagenDialog
69 93

  
70
        dialog = QRoughnessDialog()
71
        selectedvalue = dialog.show_dialog(self.ui.label_Roughness_Unit.text())
94
        phase_type = self.ui.comboBox_PhaseType.currentData()
72 95

  
73
        self.ui.lineEdit_Roughness.setText(str(selectedvalue))
96
        if phase_type == 'Liquid' and self.liquid_drop_method == 'hagen':
97
            dialog = QRoughness_HagenDialog()
98
        else:
99
            dialog = QRoughnessDialog()
100

  
101
        roughness = dialog.show_dialog()
102
        self.ui.lineEdit_Roughness.setText(str(roughness))
74 103

  
75 104
    def clickedEvent(self):
76 105
        if self.sender() == self.ui.radioButton_Flowrate_Mass:
......
162 191
        else:
163 192
            return True
164 193

  
194
    def show_geometry_data_dialog(self):
195
        from GeometryData_MixedDialog import QGeometryData_MixedDialog
196

  
197
        try:
198
            dialog = QGeometryData_MixedDialog()
199
            dialog.show_dialog()
200
        except Exception as ex:
201
            from App import App
202
            from AppDocData import MessageType
203

  
204
            message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename,
205
                                                           sys.exc_info()[-1].tb_lineno)
206
            App.mainWnd().addMessage.emit(MessageType.Error, message)
207

  
165 208
    def show_line_sizing_dialog(self):
166 209
        from Line_Sizing_LiquidDialog import QLine_Sizing_LiquidDialog
167 210
        from Line_Sizing_VaporDialog import QLine_Sizing_VaporDialog
......
489 532
                self.ui.label_DropPressure_Unit.setText('{}/100{}'.format(attr[1]['Pressure'], attr[1]['Length']))
490 533
                self.ui.label_Nominal_Pipe_Size_Unit.setText(attr[1]['Pipe_Diameter'])
491 534
                self.ui.label_Inside_Pipe_Size_Unit.setText(attr[1]['Pipe_Diameter'])
492
                self.ui.label_Roughness_Unit.setText(attr[1]['Roughness'])
535
                if self.liquid_drop_method == 'darcy':
536
                    self.ui.label_Roughness_Unit.setText(attr[1]['Roughness'])
537
                else:
538
                    self.ui.label_Roughness_Unit.setText('')
493 539
                self.ui.label_Straight_Lengh_Unit.setText(attr[1]['Length'])
494 540
                self.ui.label_Equivalent_Lenght_Input_Unit.setText(attr[1]['Length'])
495 541
                self.ui.label_Fitting_Length_Unit.setText(attr[1]['Length'])
HYTOS/HYTOS/StreamData_UI.py
779 779
        self.pushButton_Line_Sizing.setGeometry(QtCore.QRect(8, 420, 149, 23))
780 780
        self.pushButton_Line_Sizing.setObjectName("pushButton_Line_Sizing")
781 781
        self.groupBox_ProcessData_Mixed = QtWidgets.QGroupBox(Dialog)
782
        self.groupBox_ProcessData_Mixed.setGeometry(QtCore.QRect(8, 80, 669, 141))
782
        self.groupBox_ProcessData_Mixed.setGeometry(QtCore.QRect(8, 80, 669, 133))
783 783
        font = QtGui.QFont()
784 784
        font.setBold(True)
785 785
        font.setWeight(75)
......
787 787
        self.groupBox_ProcessData_Mixed.setObjectName("groupBox_ProcessData_Mixed")
788 788
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_ProcessData_Mixed)
789 789
        self.gridLayout.setObjectName("gridLayout")
790
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout()
791
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
792
        self.label_36 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed)
793
        self.label_36.setMinimumSize(QtCore.QSize(0, 0))
794
        self.label_36.setMaximumSize(QtCore.QSize(16777215, 16777215))
795
        font = QtGui.QFont()
796
        font.setBold(False)
797
        font.setWeight(50)
798
        self.label_36.setFont(font)
799
        self.label_36.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
800
        self.label_36.setObjectName("label_36")
801
        self.horizontalLayout_20.addWidget(self.label_36)
802
        self.lineEdit = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
803
        self.lineEdit.setMinimumSize(QtCore.QSize(80, 0))
804
        self.lineEdit.setMaximumSize(QtCore.QSize(80, 16777215))
805
        self.lineEdit.setAlignment(QtCore.Qt.AlignCenter)
806
        self.lineEdit.setObjectName("lineEdit")
807
        self.horizontalLayout_20.addWidget(self.lineEdit)
808
        self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
809
        self.lineEdit_3.setMinimumSize(QtCore.QSize(80, 0))
810
        self.lineEdit_3.setMaximumSize(QtCore.QSize(80, 16777215))
811
        self.lineEdit_3.setAlignment(QtCore.Qt.AlignCenter)
812
        self.lineEdit_3.setObjectName("lineEdit_3")
813
        self.horizontalLayout_20.addWidget(self.lineEdit_3)
814
        self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
815
        self.lineEdit_5.setMinimumSize(QtCore.QSize(80, 0))
816
        self.lineEdit_5.setMaximumSize(QtCore.QSize(80, 16777215))
817
        self.lineEdit_5.setAlignment(QtCore.Qt.AlignCenter)
818
        self.lineEdit_5.setObjectName("lineEdit_5")
819
        self.horizontalLayout_20.addWidget(self.lineEdit_5)
820
        self.lineEdit_6 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
821
        self.lineEdit_6.setMinimumSize(QtCore.QSize(80, 0))
822
        self.lineEdit_6.setMaximumSize(QtCore.QSize(80, 16777215))
823
        self.lineEdit_6.setAlignment(QtCore.Qt.AlignCenter)
824
        self.lineEdit_6.setObjectName("lineEdit_6")
825
        self.horizontalLayout_20.addWidget(self.lineEdit_6)
826
        self.lineEdit_7 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
827
        self.lineEdit_7.setMinimumSize(QtCore.QSize(80, 0))
828
        self.lineEdit_7.setMaximumSize(QtCore.QSize(80, 16777215))
829
        self.lineEdit_7.setAlignment(QtCore.Qt.AlignCenter)
830
        self.lineEdit_7.setObjectName("lineEdit_7")
831
        self.horizontalLayout_20.addWidget(self.lineEdit_7)
832
        self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
833
        self.lineEdit_4.setMinimumSize(QtCore.QSize(80, 0))
834
        self.lineEdit_4.setMaximumSize(QtCore.QSize(80, 16777215))
835
        self.lineEdit_4.setAlignment(QtCore.Qt.AlignCenter)
836
        self.lineEdit_4.setObjectName("lineEdit_4")
837
        self.horizontalLayout_20.addWidget(self.lineEdit_4)
838
        self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
839
        self.lineEdit_2.setMinimumSize(QtCore.QSize(80, 0))
840
        self.lineEdit_2.setMaximumSize(QtCore.QSize(80, 16777215))
841
        self.lineEdit_2.setAlignment(QtCore.Qt.AlignCenter)
842
        self.lineEdit_2.setObjectName("lineEdit_2")
843
        self.horizontalLayout_20.addWidget(self.lineEdit_2)
844
        self.gridLayout.addLayout(self.horizontalLayout_20, 1, 0, 1, 1)
845 790
        self.verticalLayout = QtWidgets.QVBoxLayout()
846 791
        self.verticalLayout.setObjectName("verticalLayout")
847 792
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
......
1011 956
        self.horizontalLayout_14.addWidget(self.label_28)
1012 957
        self.verticalLayout.addLayout(self.horizontalLayout_14)
1013 958
        self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
959
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout()
960
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
961
        self.label_36 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed)
962
        self.label_36.setMinimumSize(QtCore.QSize(0, 0))
963
        self.label_36.setMaximumSize(QtCore.QSize(16777215, 16777215))
964
        font = QtGui.QFont()
965
        font.setBold(False)
966
        font.setWeight(50)
967
        self.label_36.setFont(font)
968
        self.label_36.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
969
        self.label_36.setObjectName("label_36")
970
        self.horizontalLayout_20.addWidget(self.label_36)
971
        self.lineEdit = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
972
        self.lineEdit.setMinimumSize(QtCore.QSize(80, 0))
973
        self.lineEdit.setMaximumSize(QtCore.QSize(80, 16777215))
974
        self.lineEdit.setAlignment(QtCore.Qt.AlignCenter)
975
        self.lineEdit.setObjectName("lineEdit")
976
        self.horizontalLayout_20.addWidget(self.lineEdit)
977
        self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
978
        self.lineEdit_3.setMinimumSize(QtCore.QSize(80, 0))
979
        self.lineEdit_3.setMaximumSize(QtCore.QSize(80, 16777215))
980
        self.lineEdit_3.setAlignment(QtCore.Qt.AlignCenter)
981
        self.lineEdit_3.setObjectName("lineEdit_3")
982
        self.horizontalLayout_20.addWidget(self.lineEdit_3)
983
        self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
984
        self.lineEdit_5.setMinimumSize(QtCore.QSize(80, 0))
985
        self.lineEdit_5.setMaximumSize(QtCore.QSize(80, 16777215))
986
        self.lineEdit_5.setAlignment(QtCore.Qt.AlignCenter)
987
        self.lineEdit_5.setObjectName("lineEdit_5")
988
        self.horizontalLayout_20.addWidget(self.lineEdit_5)
989
        self.lineEdit_6 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
990
        self.lineEdit_6.setMinimumSize(QtCore.QSize(80, 0))
991
        self.lineEdit_6.setMaximumSize(QtCore.QSize(80, 16777215))
992
        self.lineEdit_6.setAlignment(QtCore.Qt.AlignCenter)
993
        self.lineEdit_6.setObjectName("lineEdit_6")
994
        self.horizontalLayout_20.addWidget(self.lineEdit_6)
995
        self.lineEdit_7 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
996
        self.lineEdit_7.setMinimumSize(QtCore.QSize(80, 0))
997
        self.lineEdit_7.setMaximumSize(QtCore.QSize(80, 16777215))
998
        self.lineEdit_7.setAlignment(QtCore.Qt.AlignCenter)
999
        self.lineEdit_7.setObjectName("lineEdit_7")
1000
        self.horizontalLayout_20.addWidget(self.lineEdit_7)
1001
        self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
1002
        self.lineEdit_4.setMinimumSize(QtCore.QSize(80, 0))
1003
        self.lineEdit_4.setMaximumSize(QtCore.QSize(80, 16777215))
1004
        self.lineEdit_4.setAlignment(QtCore.Qt.AlignCenter)
1005
        self.lineEdit_4.setObjectName("lineEdit_4")
1006
        self.horizontalLayout_20.addWidget(self.lineEdit_4)
1007
        self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed)
1008
        self.lineEdit_2.setMinimumSize(QtCore.QSize(80, 0))
1009
        self.lineEdit_2.setMaximumSize(QtCore.QSize(80, 16777215))
1010
        self.lineEdit_2.setAlignment(QtCore.Qt.AlignCenter)
1011
        self.lineEdit_2.setObjectName("lineEdit_2")
1012
        self.horizontalLayout_20.addWidget(self.lineEdit_2)
1013
        self.gridLayout.addLayout(self.horizontalLayout_20, 1, 0, 1, 1)
1014 1014
        self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
1015 1015
        self.horizontalLayout_26.setObjectName("horizontalLayout_26")
1016 1016
        self.label_37 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed)
......
1070 1070
        self.lineEdit_8.setObjectName("lineEdit_8")
1071 1071
        self.horizontalLayout_26.addWidget(self.lineEdit_8)
1072 1072
        self.gridLayout.addLayout(self.horizontalLayout_26, 2, 0, 1, 1)
1073
        spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
1074
        self.gridLayout.addItem(spacerItem8, 3, 0, 1, 1)
1075 1073
        self.groupBox_GeometryData_Mixed = QtWidgets.QGroupBox(Dialog)
1076
        self.groupBox_GeometryData_Mixed.setGeometry(QtCore.QRect(8, 232, 669, 209))
1074
        self.groupBox_GeometryData_Mixed.setGeometry(QtCore.QRect(8, 220, 669, 225))
1077 1075
        font = QtGui.QFont()
1078 1076
        font.setBold(True)
1079 1077
        font.setWeight(75)
1080 1078
        self.groupBox_GeometryData_Mixed.setFont(font)
1081 1079
        self.groupBox_GeometryData_Mixed.setObjectName("groupBox_GeometryData_Mixed")
1080
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_GeometryData_Mixed)
1081
        self.gridLayout_2.setObjectName("gridLayout_2")
1082
        self.tableWidget_GeometryData_Mixed = QtWidgets.QTableWidget(self.groupBox_GeometryData_Mixed)
1083
        self.tableWidget_GeometryData_Mixed.setObjectName("tableWidget_GeometryData_Mixed")
1084
        self.tableWidget_GeometryData_Mixed.setColumnCount(0)
1085
        self.tableWidget_GeometryData_Mixed.setRowCount(0)
1086
        self.gridLayout_2.addWidget(self.tableWidget_GeometryData_Mixed, 1, 0, 1, 1)
1087
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
1088
        self.verticalLayout_2.setObjectName("verticalLayout_2")
1089
        self.horizontalLayout_27 = QtWidgets.QHBoxLayout()
1090
        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
        self.pushButton_Add_GeometryData_Mixed = QtWidgets.QPushButton(self.groupBox_GeometryData_Mixed)
1094
        self.pushButton_Add_GeometryData_Mixed.setMinimumSize(QtCore.QSize(24, 24))
1095
        self.pushButton_Add_GeometryData_Mixed.setMaximumSize(QtCore.QSize(24, 24))
1096
        font = QtGui.QFont()
1097
        font.setBold(False)
1098
        font.setWeight(50)
1099
        self.pushButton_Add_GeometryData_Mixed.setFont(font)
1100
        self.pushButton_Add_GeometryData_Mixed.setText("")
1101
        icon1 = QtGui.QIcon()
1102
        icon1.addPixmap(QtGui.QPixmap(":/images/Add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1103
        self.pushButton_Add_GeometryData_Mixed.setIcon(icon1)
1104
        self.pushButton_Add_GeometryData_Mixed.setObjectName("pushButton_Add_GeometryData_Mixed")
1105
        self.horizontalLayout_27.addWidget(self.pushButton_Add_GeometryData_Mixed)
1106
        self.pushButton_Del_GeometryData_Mixed = QtWidgets.QPushButton(self.groupBox_GeometryData_Mixed)
1107
        self.pushButton_Del_GeometryData_Mixed.setMinimumSize(QtCore.QSize(24, 24))
1108
        self.pushButton_Del_GeometryData_Mixed.setMaximumSize(QtCore.QSize(24, 24))
1109
        font = QtGui.QFont()
1110
        font.setBold(False)
1111
        font.setWeight(50)
1112
        self.pushButton_Del_GeometryData_Mixed.setFont(font)
1113
        self.pushButton_Del_GeometryData_Mixed.setText("")
1114
        icon2 = QtGui.QIcon()
1115
        icon2.addPixmap(QtGui.QPixmap(":/images/Del.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1116
        self.pushButton_Del_GeometryData_Mixed.setIcon(icon2)
1117
        self.pushButton_Del_GeometryData_Mixed.setObjectName("pushButton_Del_GeometryData_Mixed")
1118
        self.horizontalLayout_27.addWidget(self.pushButton_Del_GeometryData_Mixed)
1119
        self.verticalLayout_2.addLayout(self.horizontalLayout_27)
1120
        self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
1082 1121

  
1083 1122
        self.retranslateUi(Dialog)
1084 1123
        self.buttonBox.accepted.connect(Dialog.accept)
......
1165 1204
        self.label_23.setText(_translate("Dialog", "Z factor :"))
1166 1205
        self.pushButton_Line_Sizing.setText(_translate("Dialog", "Line Sizing Criteria"))
1167 1206
        self.groupBox_ProcessData_Mixed.setTitle(_translate("Dialog", "Process Data (at Start Point)"))
1168
        self.label_36.setText(_translate("Dialog", "Vapor :"))
1169 1207
        self.label_2.setText(_translate("Dialog", "Flowrate"))
1170 1208
        self.label_11.setText(_translate("Dialog", "Density"))
1171 1209
        self.label_15.setText(_translate("Dialog", "Viscosity"))
......
1178 1216
        self.label_Viscosity_Unit_Mixed.setText(_translate("Dialog", "-"))
1179 1217
        self.label_Pressure_Unit_Mixed.setText(_translate("Dialog", "-"))
1180 1218
        self.label_Temperature_Unit_Mixed.setText(_translate("Dialog", "-"))
1219
        self.label_36.setText(_translate("Dialog", "Vapor :"))
1181 1220
        self.label_37.setText(_translate("Dialog", "Liquid :"))
1182 1221
        self.lineEdit_11.setText(_translate("Dialog", "-"))
1183 1222
        self.lineEdit_10.setText(_translate("Dialog", "-"))
HYTOS/HYTOS/UI/StreamData.ui
1904 1904
     <x>8</x>
1905 1905
     <y>80</y>
1906 1906
     <width>669</width>
1907
     <height>141</height>
1907
     <height>133</height>
1908 1908
    </rect>
1909 1909
   </property>
1910 1910
   <property name="font">
......
1917 1917
    <string>Process Data (at Start Point)</string>
1918 1918
   </property>
1919 1919
   <layout class="QGridLayout" name="gridLayout">
1920
    <item row="1" column="0">
1921
     <layout class="QHBoxLayout" name="horizontalLayout_20">
1922
      <item>
1923
       <widget class="QLabel" name="label_36">
1924
        <property name="minimumSize">
1925
         <size>
1926
          <width>0</width>
1927
          <height>0</height>
1928
         </size>
1929
        </property>
1930
        <property name="maximumSize">
1931
         <size>
1932
          <width>16777215</width>
1933
          <height>16777215</height>
1934
         </size>
1935
        </property>
1936
        <property name="font">
1937
         <font>
1938
          <weight>50</weight>
1939
          <bold>false</bold>
1940
         </font>
1941
        </property>
1942
        <property name="text">
1943
         <string>Vapor :</string>
1944
        </property>
1945
        <property name="alignment">
1946
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1947
        </property>
1948
       </widget>
1949
      </item>
1950
      <item>
1951
       <widget class="QLineEdit" name="lineEdit">
1952
        <property name="minimumSize">
1953
         <size>
1954
          <width>80</width>
1955
          <height>0</height>
1956
         </size>
1957
        </property>
1958
        <property name="maximumSize">
1959
         <size>
1960
          <width>80</width>
1961
          <height>16777215</height>
1962
         </size>
1963
        </property>
1964
        <property name="alignment">
1965
         <set>Qt::AlignCenter</set>
1966
        </property>
1967
       </widget>
1968
      </item>
1969
      <item>
1970
       <widget class="QLineEdit" name="lineEdit_3">
1971
        <property name="minimumSize">
1972
         <size>
1973
          <width>80</width>
1974
          <height>0</height>
1975
         </size>
1976
        </property>
1977
        <property name="maximumSize">
1978
         <size>
1979
          <width>80</width>
1980
          <height>16777215</height>
1981
         </size>
1982
        </property>
1983
        <property name="alignment">
1984
         <set>Qt::AlignCenter</set>
1985
        </property>
1986
       </widget>
1987
      </item>
1988
      <item>
1989
       <widget class="QLineEdit" name="lineEdit_5">
1990
        <property name="minimumSize">
1991
         <size>
1992
          <width>80</width>
1993
          <height>0</height>
1994
         </size>
1995
        </property>
1996
        <property name="maximumSize">
1997
         <size>
1998
          <width>80</width>
1999
          <height>16777215</height>
2000
         </size>
2001
        </property>
2002
        <property name="alignment">
2003
         <set>Qt::AlignCenter</set>
2004
        </property>
2005
       </widget>
2006
      </item>
2007
      <item>
2008
       <widget class="QLineEdit" name="lineEdit_6">
2009
        <property name="minimumSize">
2010
         <size>
2011
          <width>80</width>
2012
          <height>0</height>
2013
         </size>
2014
        </property>
2015
        <property name="maximumSize">
2016
         <size>
2017
          <width>80</width>
2018
          <height>16777215</height>
2019
         </size>
2020
        </property>
2021
        <property name="alignment">
2022
         <set>Qt::AlignCenter</set>
2023
        </property>
2024
       </widget>
2025
      </item>
2026
      <item>
2027
       <widget class="QLineEdit" name="lineEdit_7">
2028
        <property name="minimumSize">
2029
         <size>
2030
          <width>80</width>
2031
          <height>0</height>
2032
         </size>
2033
        </property>
2034
        <property name="maximumSize">
2035
         <size>
2036
          <width>80</width>
2037
          <height>16777215</height>
2038
         </size>
2039
        </property>
2040
        <property name="alignment">
2041
         <set>Qt::AlignCenter</set>
2042
        </property>
2043
       </widget>
2044
      </item>
2045
      <item>
2046
       <widget class="QLineEdit" name="lineEdit_4">
2047
        <property name="minimumSize">
2048
         <size>
2049
          <width>80</width>
2050
          <height>0</height>
2051
         </size>
2052
        </property>
2053
        <property name="maximumSize">
2054
         <size>
2055
          <width>80</width>
2056
          <height>16777215</height>
2057
         </size>
2058
        </property>
2059
        <property name="alignment">
2060
         <set>Qt::AlignCenter</set>
2061
        </property>
2062
       </widget>
2063
      </item>
2064
      <item>
2065
       <widget class="QLineEdit" name="lineEdit_2">
2066
        <property name="minimumSize">
2067
         <size>
2068
          <width>80</width>
2069
          <height>0</height>
2070
         </size>
2071
        </property>
2072
        <property name="maximumSize">
2073
         <size>
2074
          <width>80</width>
2075
          <height>16777215</height>
2076
         </size>
2077
        </property>
2078
        <property name="alignment">
2079
         <set>Qt::AlignCenter</set>
2080
        </property>
2081
       </widget>
2082
      </item>
2083
     </layout>
2084
    </item>
2085 1920
    <item row="0" column="0">
2086 1921
     <layout class="QVBoxLayout" name="verticalLayout">
2087 1922
      <item>
......
2518 2353
      </item>
2519 2354
     </layout>
2520 2355
    </item>
2356
    <item row="1" column="0">
2357
     <layout class="QHBoxLayout" name="horizontalLayout_20">
2358
      <item>
2359
       <widget class="QLabel" name="label_36">
2360
        <property name="minimumSize">
2361
         <size>
2362
          <width>0</width>
2363
          <height>0</height>
2364
         </size>
2365
        </property>
2366
        <property name="maximumSize">
2367
         <size>
2368
          <width>16777215</width>
2369
          <height>16777215</height>
2370
         </size>
2371
        </property>
2372
        <property name="font">
2373
         <font>
2374
          <weight>50</weight>
2375
          <bold>false</bold>
2376
         </font>
2377
        </property>
2378
        <property name="text">
2379
         <string>Vapor :</string>
2380
        </property>
2381
        <property name="alignment">
2382
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
2383
        </property>
2384
       </widget>
2385
      </item>
2386
      <item>
2387
       <widget class="QLineEdit" name="lineEdit">
2388
        <property name="minimumSize">
2389
         <size>
2390
          <width>80</width>
2391
          <height>0</height>
2392
         </size>
2393
        </property>
2394
        <property name="maximumSize">
2395
         <size>
2396
          <width>80</width>
2397
          <height>16777215</height>
2398
         </size>
2399
        </property>
2400
        <property name="alignment">
2401
         <set>Qt::AlignCenter</set>
2402
        </property>
2403
       </widget>
2404
      </item>
2405
      <item>
2406
       <widget class="QLineEdit" name="lineEdit_3">
2407
        <property name="minimumSize">
2408
         <size>
2409
          <width>80</width>
2410
          <height>0</height>
2411
         </size>
2412
        </property>
2413
        <property name="maximumSize">
2414
         <size>
2415
          <width>80</width>
2416
          <height>16777215</height>
2417
         </size>
2418
        </property>
2419
        <property name="alignment">
2420
         <set>Qt::AlignCenter</set>
2421
        </property>
2422
       </widget>
2423
      </item>
2424
      <item>
2425
       <widget class="QLineEdit" name="lineEdit_5">
2426
        <property name="minimumSize">
2427
         <size>
2428
          <width>80</width>
2429
          <height>0</height>
2430
         </size>
2431
        </property>
2432
        <property name="maximumSize">
2433
         <size>
2434
          <width>80</width>
2435
          <height>16777215</height>
2436
         </size>
2437
        </property>
2438
        <property name="alignment">
2439
         <set>Qt::AlignCenter</set>
2440
        </property>
2441
       </widget>
2442
      </item>
2443
      <item>
2444
       <widget class="QLineEdit" name="lineEdit_6">
2445
        <property name="minimumSize">
2446
         <size>
2447
          <width>80</width>
2448
          <height>0</height>
2449
         </size>
2450
        </property>
2451
        <property name="maximumSize">
2452
         <size>
2453
          <width>80</width>
2454
          <height>16777215</height>
2455
         </size>
2456
        </property>
2457
        <property name="alignment">
2458
         <set>Qt::AlignCenter</set>
2459
        </property>
2460
       </widget>
2461
      </item>
2462
      <item>
2463
       <widget class="QLineEdit" name="lineEdit_7">
2464
        <property name="minimumSize">
2465
         <size>
2466
          <width>80</width>
2467
          <height>0</height>
2468
         </size>
2469
        </property>
2470
        <property name="maximumSize">
2471
         <size>
2472
          <width>80</width>
2473
          <height>16777215</height>
2474
         </size>
2475
        </property>
2476
        <property name="alignment">
2477
         <set>Qt::AlignCenter</set>
2478
        </property>
2479
       </widget>
2480
      </item>
2481
      <item>
2482
       <widget class="QLineEdit" name="lineEdit_4">
2483
        <property name="minimumSize">
2484
         <size>
2485
          <width>80</width>
2486
          <height>0</height>
2487
         </size>
2488
        </property>
2489
        <property name="maximumSize">
2490
         <size>
2491
          <width>80</width>
2492
          <height>16777215</height>
2493
         </size>
2494
        </property>
2495
        <property name="alignment">
2496
         <set>Qt::AlignCenter</set>
2497
        </property>
2498
       </widget>
2499
      </item>
2500
      <item>
2501
       <widget class="QLineEdit" name="lineEdit_2">
2502
        <property name="minimumSize">
2503
         <size>
2504
          <width>80</width>
2505
          <height>0</height>
2506
         </size>
2507
        </property>
2508
        <property name="maximumSize">
2509
         <size>
2510
          <width>80</width>
2511
          <height>16777215</height>
2512
         </size>
2513
        </property>
2514
        <property name="alignment">
2515
         <set>Qt::AlignCenter</set>
2516
        </property>
2517
       </widget>
2518
      </item>
2519
     </layout>
2520
    </item>
2521 2521
    <item row="2" column="0">
2522 2522
     <layout class="QHBoxLayout" name="horizontalLayout_26">
2523 2523
      <item>
......
2707 2707
      </item>
2708 2708
     </layout>
2709 2709
    </item>
2710
    <item row="3" column="0">
2711
     <spacer name="verticalSpacer_5">
2712
      <property name="orientation">
2713
       <enum>Qt::Vertical</enum>
2714
      </property>
2715
      <property name="sizeHint" stdset="0">
2716
       <size>
2717
        <width>20</width>
2718
        <height>40</height>
2719
       </size>
2720
      </property>
2721
     </spacer>
2722
    </item>
2723 2710
   </layout>
2724 2711
  </widget>
2725 2712
  <widget class="QGroupBox" name="groupBox_GeometryData_Mixed">
2726 2713
   <property name="geometry">
2727 2714
    <rect>
2728 2715
     <x>8</x>
2729
     <y>232</y>
2716
     <y>220</y>
2730 2717
     <width>669</width>
2731
     <height>209</height>
2718
     <height>225</height>
2732 2719
    </rect>
2733 2720
   </property>
2734 2721
   <property name="font">
......
2740 2727
   <property name="title">
2741 2728
    <string>Geometry Data</string>
2742 2729
   </property>
2730
   <layout class="QGridLayout" name="gridLayout_2">
2731
    <item row="1" column="0">
2732
     <widget class="QTableWidget" name="tableWidget_GeometryData_Mixed"/>
2733
    </item>
2734
    <item row="0" column="0">
2735
     <layout class="QVBoxLayout" name="verticalLayout_2">
2736
      <item>
2737
       <layout class="QHBoxLayout" name="horizontalLayout_27">
2738
        <item>
2739
         <spacer name="horizontalSpacer_5">
2740
          <property name="orientation">
2741
           <enum>Qt::Horizontal</enum>
2742
          </property>
2743
          <property name="sizeHint" stdset="0">
2744
           <size>
2745
            <width>40</width>
2746
            <height>20</height>
2747
           </size>
2748
          </property>
2749
         </spacer>
2750
        </item>
2751
        <item>
2752
         <widget class="QPushButton" name="pushButton_Add_GeometryData_Mixed">
2753
          <property name="minimumSize">
2754
           <size>
2755
            <width>24</width>
2756
            <height>24</height>
2757
           </size>
2758
          </property>
2759
          <property name="maximumSize">
2760
           <size>
2761
            <width>24</width>
2762
            <height>24</height>
2763
           </size>
2764
          </property>
2765
          <property name="font">
2766
           <font>
2767
            <weight>50</weight>
2768
            <bold>false</bold>
2769
           </font>
2770
          </property>
2771
          <property name="text">
2772
           <string/>
2773
          </property>
2774
          <property name="icon">
2775
           <iconset resource="../res/Resource.qrc">
2776
            <normaloff>:/images/Add.png</normaloff>:/images/Add.png</iconset>
2777
          </property>
2778
         </widget>
2779
        </item>
2780
        <item>
2781
         <widget class="QPushButton" name="pushButton_Del_GeometryData_Mixed">
2782
          <property name="minimumSize">
2783
           <size>
2784
            <width>24</width>
2785
            <height>24</height>
2786
           </size>
2787
          </property>
2788
          <property name="maximumSize">
2789
           <size>
2790
            <width>24</width>
2791
            <height>24</height>
2792
           </size>
2793
          </property>
2794
          <property name="font">
2795
           <font>
2796
            <weight>50</weight>
2797
            <bold>false</bold>
2798
           </font>
2799
          </property>
2800
          <property name="text">
2801
           <string/>
2802
          </property>
2803
          <property name="icon">
2804
           <iconset resource="../res/Resource.qrc">
2805
            <normaloff>:/images/Del.png</normaloff>:/images/Del.png</iconset>
2806
          </property>
2807
         </widget>
2808
        </item>
2809
       </layout>
2810
      </item>
2811
     </layout>
2812
    </item>
2813
   </layout>
2743 2814
  </widget>
2744 2815
 </widget>
2745 2816
 <tabstops>

내보내기 Unified diff

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