개정판 a3811ad8
issue #1055 : 스트림별 거칠기 항목 정의
Change-Id: I379316b17f9ac0e0a09c1a45dd9e5d7f322d21e9
HYTOS/HYTOS/Phase_LiquidDialog.py | ||
---|---|---|
48 | 48 |
from RoughnessDialog import QRoughnessDialog |
49 | 49 |
|
50 | 50 |
dialog = QRoughnessDialog() |
51 |
selectedRoughness = dialog.showDialog()
|
|
51 |
selectedRoughness = dialog.show_dialog()
|
|
52 | 52 |
|
53 | 53 |
def show_FittingMethodDialog(self): |
54 | 54 |
#from FittingMethodDialog import QFittingMethodDialog |
HYTOS/HYTOS/RoughnessDialog.py | ||
---|---|---|
12 | 12 |
from AppDocData import Config |
13 | 13 |
import Roughness_UI |
14 | 14 |
|
15 |
|
|
16 |
def set_table_widget_item_properties(name, alignment, color=None): |
|
17 |
if name is None: |
|
18 |
name = '' |
|
19 |
|
|
20 |
item = QTableWidgetItem(str(name)) |
|
21 |
item.setTextAlignment(alignment) |
|
22 |
if color: |
|
23 |
item.setBackground(color) |
|
24 |
|
|
25 |
return item |
|
26 |
|
|
27 |
|
|
15 | 28 |
class QRoughnessDialog(QDialog): |
16 | 29 |
|
17 | 30 |
def __init__(self): |
18 | 31 |
QDialog.__init__(self) |
19 | 32 |
self.ui = Roughness_UI.Ui_RoughnessDialog() |
20 | 33 |
self.ui.setupUi(self) |
21 |
|
|
22 |
self.selectedValue = 0 |
|
23 |
self.ui.tableWidget_Roughness.currentItemChanged.connect(self.itemchanged) |
|
34 |
self.unit = None |
|
24 | 35 |
|
25 |
self.initRoughness() |
|
36 |
self.ui.tableWidget_Roughness.cellDoubleClicked.connect(self.double_clicked) |
|
37 |
self.init_roughness() |
|
26 | 38 |
|
27 |
def showDialog(self, unit): |
|
28 |
self.ui.label_Unit.setText(unit) |
|
39 |
def double_clicked(self, row): |
|
40 |
QDialog.accept(self) |
|
41 |
|
|
42 |
def show_dialog(self, unit): |
|
43 |
self.unit = unit |
|
44 |
self.ui.label_current_unit.setText('Current Unit : {}'.format(unit)) |
|
29 | 45 |
self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint) |
30 | 46 |
self.exec_() |
31 | 47 |
|
32 |
return self.selectedValue |
|
33 |
|
|
34 |
def itemchanged(self, current, previous): |
|
35 |
|
|
36 |
material = self.ui.tableWidget_Roughness.item(current.row(), 1).text() |
|
37 |
self.ui.lineEdit_SelectedMaterial.setText(material) |
|
38 |
|
|
39 |
unit = self.ui.label_Unit.text() |
|
40 |
if unit == 'm': |
|
41 |
value = self.ui.tableWidget_Roughness.item(current.row(), 2).text() |
|
42 |
elif unit == 'in': |
|
43 |
value = self.ui.tableWidget_Roughness.item(current.row(), 3).text() |
|
44 |
elif unit == 'ft': |
|
45 |
value = self.ui.tableWidget_Roughness.item(current.row(), 4).text() |
|
46 |
elif unit == 'mm': |
|
47 |
value = self.ui.tableWidget_Roughness.item(current.row(), 5).text() |
|
48 |
self.ui.lineEdit_SelectedValue.setText(value) |
|
49 |
|
|
50 |
self.selectedValue = value |
|
51 |
|
|
52 |
def initRoughness(self): |
|
48 |
return self.get_selected_item() |
|
49 |
|
|
50 |
def get_selected_item(self): |
|
51 |
|
|
52 |
if self.unit == 'm': |
|
53 |
item = self.ui.tableWidget_Roughness.item(self.ui.tableWidget_Roughness.currentRow(), 2).text() |
|
54 |
elif self.unit == 'in': |
|
55 |
item = self.ui.tableWidget_Roughness.item(self.ui.tableWidget_Roughness.currentRow(), 3).text() |
|
56 |
elif self.unit == 'ft': |
|
57 |
item = self.ui.tableWidget_Roughness.item(self.ui.tableWidget_Roughness.currentRow(), 4).text() |
|
58 |
elif self.unit == 'mm': |
|
59 |
item = self.ui.tableWidget_Roughness.item(self.ui.tableWidget_Roughness.currentRow(), 5).text() |
|
60 |
|
|
61 |
return item |
|
62 |
|
|
63 |
def init_roughness(self): |
|
53 | 64 |
from AppDocData import AppDocData |
54 | 65 |
|
55 | 66 |
self.ui.tableWidget_Roughness.setColumnCount(6) |
56 | 67 |
self.ui.tableWidget_Roughness.hideColumn(0) |
57 |
self.ui.tableWidget_Roughness.setHorizontalHeaderLabels(['UID', 'Material', 'Meter', 'Inch', 'Feet', 'Milimeter']) |
|
68 |
self.ui.tableWidget_Roughness.setHorizontalHeaderLabels( |
|
69 |
['UID', 'Material', 'Meter (m)', 'Inch (in)', 'Feet (ft)', 'Milimeter (mm)']) |
|
58 | 70 |
self.ui.tableWidget_Roughness.horizontalHeaderItem(0).setSizeHint(QSize(25, 25)) |
59 | 71 |
self.ui.tableWidget_Roughness.horizontalHeader().setStretchLastSection(True) |
60 | 72 |
self.ui.tableWidget_Roughness.setEditTriggers(QAbstractItemView.NoEditTriggers) |
61 | 73 |
self.ui.tableWidget_Roughness.verticalHeader().setVisible(False) |
62 | 74 |
self.ui.tableWidget_Roughness.setSelectionMode(QAbstractItemView.SingleSelection) |
63 |
self.ui.tableWidget_Roughness.setSelectionBehavior(QAbstractItemView.SelectRows) |
|
64 |
|
|
65 |
roughnessList = AppDocData.instance().getRoughness() |
|
66 |
for roughness in roughnessList: |
|
67 |
rowCount = self.ui.tableWidget_Roughness.rowCount() |
|
68 |
self.ui.tableWidget_Roughness.setRowCount(rowCount + 1) |
|
69 |
|
|
70 |
self.ui.tableWidget_Roughness.setItem(rowCount, 0, self.setTableWidgetItemProperties(roughness[0], Qt.AlignHCenter | Qt.AlignVCenter)) |
|
71 |
self.ui.tableWidget_Roughness.setItem(rowCount, 1, self.setTableWidgetItemProperties(roughness[1], Qt.AlignLeft | Qt.AlignVCenter)) |
|
72 |
self.ui.tableWidget_Roughness.setItem(rowCount, 2, self.setTableWidgetItemProperties(roughness[2], Qt.AlignRight | Qt.AlignVCenter)) |
|
73 |
self.ui.tableWidget_Roughness.setItem(rowCount, 3, self.setTableWidgetItemProperties(roughness[3], Qt.AlignRight | Qt.AlignVCenter)) |
|
74 |
self.ui.tableWidget_Roughness.setItem(rowCount, 4, self.setTableWidgetItemProperties(roughness[4], Qt.AlignRight | Qt.AlignVCenter)) |
|
75 |
self.ui.tableWidget_Roughness.setItem(rowCount, 5, self.setTableWidgetItemProperties(roughness[5], Qt.AlignRight | Qt.AlignVCenter)) |
|
75 |
self.ui.tableWidget_Roughness.setSelectionBehavior(QAbstractItemView.SelectRows) |
|
76 |
|
|
77 |
roughness_list = AppDocData.instance().getRoughness() |
|
78 |
for roughness in roughness_list: |
|
79 |
row_count = self.ui.tableWidget_Roughness.rowCount() |
|
80 |
self.ui.tableWidget_Roughness.setRowCount(row_count + 1) |
|
81 |
|
|
82 |
self.ui.tableWidget_Roughness.setItem(row_count, 0, set_table_widget_item_properties(roughness[0], |
|
83 |
Qt.AlignHCenter | Qt.AlignVCenter)) |
|
84 |
self.ui.tableWidget_Roughness.setItem(row_count, 1, set_table_widget_item_properties(roughness[1], |
|
85 |
Qt.AlignLeft | Qt.AlignVCenter)) |
|
86 |
self.ui.tableWidget_Roughness.setItem(row_count, 2, set_table_widget_item_properties(roughness[2], |
|
87 |
Qt.AlignRight | Qt.AlignVCenter)) |
|
88 |
self.ui.tableWidget_Roughness.setItem(row_count, 3, set_table_widget_item_properties(roughness[3], |
|
89 |
Qt.AlignRight | Qt.AlignVCenter)) |
|
90 |
self.ui.tableWidget_Roughness.setItem(row_count, 4, set_table_widget_item_properties(roughness[4], |
|
91 |
Qt.AlignRight | Qt.AlignVCenter)) |
|
92 |
self.ui.tableWidget_Roughness.setItem(row_count, 5, set_table_widget_item_properties(roughness[5], |
|
93 |
Qt.AlignRight | Qt.AlignVCenter)) |
|
76 | 94 |
|
77 | 95 |
self.ui.tableWidget_Roughness.resizeColumnToContents(1) |
78 | 96 |
|
79 |
def setTableWidgetItemProperties(self, name, alignment, color = None): |
|
80 |
if name is None: |
|
81 |
name = '' |
|
82 |
|
|
83 |
item = QTableWidgetItem(str(name)) |
|
84 |
item.setTextAlignment(alignment) |
|
85 |
if color: |
|
86 |
item.setBackground(color) |
|
87 |
|
|
88 |
return item |
|
89 |
|
|
90 | 97 |
def accept(self): |
91 |
|
|
92 | 98 |
QDialog.accept(self) |
93 | 99 |
|
94 | 100 |
def reject(self): |
... | ... | |
99 | 105 |
from App import App |
100 | 106 |
app = App(sys.argv) |
101 | 107 |
|
102 |
|
|
103 | 108 |
if True: |
104 | 109 |
dlg = QRoughnessDialog() |
105 |
dlg.exec_() |
|
110 |
dlg.exec_() |
HYTOS/HYTOS/Roughness_UI.py | ||
---|---|---|
13 | 13 |
class Ui_RoughnessDialog(object): |
14 | 14 |
def setupUi(self, RoughnessDialog): |
15 | 15 |
RoughnessDialog.setObjectName("RoughnessDialog") |
16 |
RoughnessDialog.resize(613, 284)
|
|
16 |
RoughnessDialog.resize(579, 305)
|
|
17 | 17 |
font = QtGui.QFont() |
18 | 18 |
font.setFamily("맑은 고딕") |
19 | 19 |
RoughnessDialog.setFont(font) |
... | ... | |
30 | 30 |
self.tableWidget_Roughness.setObjectName("tableWidget_Roughness") |
31 | 31 |
self.tableWidget_Roughness.setColumnCount(0) |
32 | 32 |
self.tableWidget_Roughness.setRowCount(0) |
33 |
self.gridLayout.addWidget(self.tableWidget_Roughness, 2, 0, 1, 1) |
|
33 |
self.gridLayout.addWidget(self.tableWidget_Roughness, 1, 0, 1, 1) |
|
34 |
self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1) |
|
34 | 35 |
self.horizontalLayout = QtWidgets.QHBoxLayout() |
35 | 36 |
self.horizontalLayout.setObjectName("horizontalLayout") |
36 |
self.label = QtWidgets.QLabel(RoughnessDialog) |
|
37 |
self.label.setMinimumSize(QtCore.QSize(0, 0)) |
|
38 |
self.label.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
39 |
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
40 |
self.label.setObjectName("label") |
|
41 |
self.horizontalLayout.addWidget(self.label) |
|
42 |
self.lineEdit_SelectedMaterial = QtWidgets.QLineEdit(RoughnessDialog) |
|
43 |
self.lineEdit_SelectedMaterial.setEnabled(False) |
|
44 |
self.lineEdit_SelectedMaterial.setMinimumSize(QtCore.QSize(160, 0)) |
|
45 |
self.lineEdit_SelectedMaterial.setMaximumSize(QtCore.QSize(160, 16777215)) |
|
46 |
self.lineEdit_SelectedMaterial.setAlignment(QtCore.Qt.AlignCenter) |
|
47 |
self.lineEdit_SelectedMaterial.setObjectName("lineEdit_SelectedMaterial") |
|
48 |
self.horizontalLayout.addWidget(self.lineEdit_SelectedMaterial) |
|
49 |
self.label_2 = QtWidgets.QLabel(RoughnessDialog) |
|
50 |
self.label_2.setObjectName("label_2") |
|
51 |
self.horizontalLayout.addWidget(self.label_2) |
|
52 |
self.lineEdit_SelectedValue = QtWidgets.QLineEdit(RoughnessDialog) |
|
53 |
self.lineEdit_SelectedValue.setEnabled(False) |
|
54 |
self.lineEdit_SelectedValue.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
55 |
self.lineEdit_SelectedValue.setObjectName("lineEdit_SelectedValue") |
|
56 |
self.horizontalLayout.addWidget(self.lineEdit_SelectedValue) |
|
57 |
self.label_Unit = QtWidgets.QLabel(RoughnessDialog) |
|
58 |
self.label_Unit.setMinimumSize(QtCore.QSize(30, 0)) |
|
59 |
self.label_Unit.setMaximumSize(QtCore.QSize(30, 16777215)) |
|
60 |
self.label_Unit.setObjectName("label_Unit") |
|
61 |
self.horizontalLayout.addWidget(self.label_Unit) |
|
62 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
63 |
self.horizontalLayout.addItem(spacerItem) |
|
64 |
self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1) |
|
65 |
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) |
|
37 |
self.label_current_unit = QtWidgets.QLabel(RoughnessDialog) |
|
38 |
self.label_current_unit.setText("") |
|
39 |
self.label_current_unit.setObjectName("label_current_unit") |
|
40 |
self.horizontalLayout.addWidget(self.label_current_unit) |
|
66 | 41 |
self.buttonBox = QtWidgets.QDialogButtonBox(RoughnessDialog) |
67 | 42 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
68 | 43 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
69 | 44 |
self.buttonBox.setObjectName("buttonBox") |
70 |
self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1) |
|
45 |
self.horizontalLayout.addWidget(self.buttonBox) |
|
46 |
self.gridLayout_2.addLayout(self.horizontalLayout, 3, 0, 1, 1) |
|
71 | 47 |
|
72 | 48 |
self.retranslateUi(RoughnessDialog) |
73 | 49 |
self.buttonBox.accepted.connect(RoughnessDialog.accept) |
74 | 50 |
self.buttonBox.rejected.connect(RoughnessDialog.reject) |
75 | 51 |
QtCore.QMetaObject.connectSlotsByName(RoughnessDialog) |
76 |
RoughnessDialog.setTabOrder(self.lineEdit_SelectedMaterial, self.lineEdit_SelectedValue) |
|
77 |
RoughnessDialog.setTabOrder(self.lineEdit_SelectedValue, self.tableWidget_Roughness) |
|
78 | 52 |
|
79 | 53 |
def retranslateUi(self, RoughnessDialog): |
80 | 54 |
_translate = QtCore.QCoreApplication.translate |
81 | 55 |
RoughnessDialog.setWindowTitle(_translate("RoughnessDialog", "Select Material (General Eq.)")) |
82 |
self.label.setText(_translate("RoughnessDialog", "Selected Material :")) |
|
83 |
self.label_2.setText(_translate("RoughnessDialog", "Selected Value :")) |
|
84 |
self.label_Unit.setText(_translate("RoughnessDialog", "in")) |
|
85 | 56 |
import Resource_rc |
HYTOS/HYTOS/StreamDataDialog.py | ||
---|---|---|
68 | 68 |
from RoughnessDialog import QRoughnessDialog |
69 | 69 |
|
70 | 70 |
dialog = QRoughnessDialog() |
71 |
selectedvalue = dialog.showDialog(self.ui.label_Roughness_Unit.text())
|
|
71 |
selectedvalue = dialog.show_dialog(self.ui.label_Roughness_Unit.text())
|
|
72 | 72 |
|
73 | 73 |
self.ui.lineEdit_Roughness.setText(str(selectedvalue)) |
74 | 74 |
|
... | ... | |
478 | 478 |
if attr[0] == 'Units': |
479 | 479 |
self.ui.label_Flowrate_Mass_Unit_Liquid.setText(attr[1]['Flowrate_Mass']) |
480 | 480 |
self.ui.label_Flowrate_Mass_Unit_Vapor.setText(attr[1]['Flowrate_Mass']) |
481 |
self.ui.label_Flowrate_Mass_Unit_Mixed.setText(attr[1]['Flowrate_Mass']) |
|
481 | 482 |
self.ui.label_Flowrate_Volume_Unit.setText(attr[1]['Flowrate_Volume']) |
482 | 483 |
self.ui.label_Density_Unit.setText(attr[1]['Density']) |
484 |
self.ui.label_Density_Unit_Mixed.setText(attr[1]['Density']) |
|
483 | 485 |
self.ui.label_Viscosity_Unit_Liquid.setText(attr[1]['Viscosity']) |
484 | 486 |
self.ui.label_Viscosity_Unit_Vapor.setText(attr[1]['Viscosity']) |
487 |
self.ui.label_Viscosity_Unit_Mixed.setText(attr[1]['Viscosity']) |
|
485 | 488 |
self.ui.label_Velocity_Unit.setText(attr[1]['Velocity']) |
486 | 489 |
self.ui.label_DropPressure_Unit.setText('{}/100{}'.format(attr[1]['Pressure'], attr[1]['Length'])) |
487 | 490 |
self.ui.label_Nominal_Pipe_Size_Unit.setText(attr[1]['Pipe_Diameter']) |
... | ... | |
492 | 495 |
self.ui.label_Fitting_Length_Unit.setText(attr[1]['Length']) |
493 | 496 |
self.ui.label_Equivalent_Lenght_Cal_Unit.setText(attr[1]['Length']) |
494 | 497 |
self.ui.label_Temperature_Unit.setText(attr[1]['Temperature']) |
498 |
self.ui.label_Temperature_Unit_Mixed.setText(attr[1]['Temperature']) |
|
499 |
self.ui.label_Pressure_Unit_Mixed.setText('{}(g)'.format(attr[1]['Pressure'])) |
|
495 | 500 |
|
496 | 501 |
def on_change_phase_type(self): |
497 | 502 |
phase_type = self.ui.comboBox_PhaseType.currentData() |
498 | 503 |
|
499 | 504 |
if phase_type == 'Vapor': |
500 | 505 |
self.ui.groupBox_ProcessData_Vapor.setVisible(True) |
501 |
self.ui.groupBox_ProcessData_Liquid.setVisible(False) |
|
502 | 506 |
self.ui.groupBox_Line_Sizing_Data.setVisible(True) |
503 |
self.ui.groupBox_Geometry_Data.setVisible(True)
|
|
507 |
self.ui.groupBox_GeometryData.setVisible(True) |
|
504 | 508 |
self.ui.pushButton_Line_Sizing.setVisible(True) |
509 |
|
|
510 |
self.ui.groupBox_ProcessData_Liquid.setVisible(False) |
|
511 |
|
|
512 |
self.ui.groupBox_ProcessData_Mixed.setVisible(False) |
|
513 |
self.ui.groupBox_GeometryData_Mixed.setVisible(False) |
|
514 |
|
|
505 | 515 |
elif phase_type == 'Liquid': |
506 |
self.ui.groupBox_ProcessData_Vapor.setVisible(False) |
|
507 | 516 |
self.ui.groupBox_ProcessData_Liquid.setVisible(True) |
508 | 517 |
self.ui.groupBox_Line_Sizing_Data.setVisible(True) |
509 |
self.ui.groupBox_Geometry_Data.setVisible(True)
|
|
518 |
self.ui.groupBox_GeometryData.setVisible(True) |
|
510 | 519 |
self.ui.pushButton_Line_Sizing.setVisible(True) |
520 |
|
|
521 |
self.ui.groupBox_ProcessData_Vapor.setVisible(False) |
|
522 |
|
|
523 |
self.ui.groupBox_ProcessData_Mixed.setVisible(False) |
|
524 |
self.ui.groupBox_GeometryData_Mixed.setVisible(False) |
|
525 |
|
|
511 | 526 |
elif phase_type == 'Mixed': |
527 |
self.ui.groupBox_ProcessData_Mixed.setVisible(True) |
|
528 |
self.ui.groupBox_GeometryData_Mixed.setVisible(True) |
|
529 |
|
|
512 | 530 |
self.ui.groupBox_ProcessData_Vapor.setVisible(False) |
513 | 531 |
self.ui.groupBox_ProcessData_Liquid.setVisible(False) |
514 | 532 |
self.ui.groupBox_Line_Sizing_Data.setVisible(False) |
515 |
self.ui.groupBox_Geometry_Data.setVisible(False)
|
|
533 |
self.ui.groupBox_GeometryData.setVisible(False) |
|
516 | 534 |
self.ui.pushButton_Line_Sizing.setVisible(False) |
517 | 535 |
|
518 | 536 |
def getInsideDiameter(self): |
HYTOS/HYTOS/StreamData_UI.py | ||
---|---|---|
72 | 72 |
font.setWeight(50) |
73 | 73 |
self.lineEdit_DisplayNo.setFont(font) |
74 | 74 |
self.lineEdit_DisplayNo.setObjectName("lineEdit_DisplayNo") |
75 |
self.groupBox_Geometry_Data = QtWidgets.QGroupBox(Dialog)
|
|
76 |
self.groupBox_Geometry_Data.setGeometry(QtCore.QRect(348, 80, 328, 329))
|
|
75 |
self.groupBox_GeometryData = QtWidgets.QGroupBox(Dialog) |
|
76 |
self.groupBox_GeometryData.setGeometry(QtCore.QRect(348, 80, 328, 329)) |
|
77 | 77 |
font = QtGui.QFont() |
78 | 78 |
font.setBold(True) |
79 | 79 |
font.setWeight(75) |
80 |
self.groupBox_Geometry_Data.setFont(font)
|
|
81 |
self.groupBox_Geometry_Data.setObjectName("groupBox_Geometry_Data")
|
|
82 |
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_Geometry_Data)
|
|
80 |
self.groupBox_GeometryData.setFont(font) |
|
81 |
self.groupBox_GeometryData.setObjectName("groupBox_GeometryData")
|
|
82 |
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_GeometryData) |
|
83 | 83 |
self.verticalLayout_4.setObjectName("verticalLayout_4") |
84 | 84 |
self.horizontalLayout_15 = QtWidgets.QHBoxLayout() |
85 | 85 |
self.horizontalLayout_15.setObjectName("horizontalLayout_15") |
86 |
self.label_13 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
86 |
self.label_13 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
87 | 87 |
self.label_13.setMinimumSize(QtCore.QSize(129, 0)) |
88 | 88 |
self.label_13.setMaximumSize(QtCore.QSize(129, 16777215)) |
89 | 89 |
font = QtGui.QFont() |
... | ... | |
93 | 93 |
self.label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
94 | 94 |
self.label_13.setObjectName("label_13") |
95 | 95 |
self.horizontalLayout_15.addWidget(self.label_13) |
96 |
self.radioButton_Equivalent_Length_Input = QtWidgets.QRadioButton(self.groupBox_Geometry_Data)
|
|
96 |
self.radioButton_Equivalent_Length_Input = QtWidgets.QRadioButton(self.groupBox_GeometryData) |
|
97 | 97 |
font = QtGui.QFont() |
98 | 98 |
font.setBold(False) |
99 | 99 |
font.setWeight(50) |
... | ... | |
101 | 101 |
self.radioButton_Equivalent_Length_Input.setChecked(True) |
102 | 102 |
self.radioButton_Equivalent_Length_Input.setObjectName("radioButton_Equivalent_Length_Input") |
103 | 103 |
self.horizontalLayout_15.addWidget(self.radioButton_Equivalent_Length_Input) |
104 |
self.radioButton_Equivalent_Length_Cal = QtWidgets.QRadioButton(self.groupBox_Geometry_Data)
|
|
104 |
self.radioButton_Equivalent_Length_Cal = QtWidgets.QRadioButton(self.groupBox_GeometryData) |
|
105 | 105 |
font = QtGui.QFont() |
106 | 106 |
font.setBold(False) |
107 | 107 |
font.setWeight(50) |
... | ... | |
111 | 111 |
self.verticalLayout_4.addLayout(self.horizontalLayout_15) |
112 | 112 |
self.horizontalLayout_7 = QtWidgets.QHBoxLayout() |
113 | 113 |
self.horizontalLayout_7.setObjectName("horizontalLayout_7") |
114 |
self.label_8 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
114 |
self.label_8 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
115 | 115 |
self.label_8.setMinimumSize(QtCore.QSize(129, 0)) |
116 | 116 |
self.label_8.setMaximumSize(QtCore.QSize(129, 16777215)) |
117 | 117 |
font = QtGui.QFont() |
... | ... | |
121 | 121 |
self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
122 | 122 |
self.label_8.setObjectName("label_8") |
123 | 123 |
self.horizontalLayout_7.addWidget(self.label_8) |
124 |
self.comboBox_Nominal_Pipe_Size = QtWidgets.QComboBox(self.groupBox_Geometry_Data)
|
|
124 |
self.comboBox_Nominal_Pipe_Size = QtWidgets.QComboBox(self.groupBox_GeometryData) |
|
125 | 125 |
self.comboBox_Nominal_Pipe_Size.setMinimumSize(QtCore.QSize(80, 0)) |
126 | 126 |
self.comboBox_Nominal_Pipe_Size.setMaximumSize(QtCore.QSize(80, 16777215)) |
127 | 127 |
font = QtGui.QFont() |
... | ... | |
130 | 130 |
self.comboBox_Nominal_Pipe_Size.setFont(font) |
131 | 131 |
self.comboBox_Nominal_Pipe_Size.setObjectName("comboBox_Nominal_Pipe_Size") |
132 | 132 |
self.horizontalLayout_7.addWidget(self.comboBox_Nominal_Pipe_Size) |
133 |
self.label_Nominal_Pipe_Size_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
133 |
self.label_Nominal_Pipe_Size_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
134 | 134 |
font = QtGui.QFont() |
135 | 135 |
font.setBold(False) |
136 | 136 |
font.setWeight(50) |
... | ... | |
140 | 140 |
self.verticalLayout_4.addLayout(self.horizontalLayout_7) |
141 | 141 |
self.horizontalLayout_6 = QtWidgets.QHBoxLayout() |
142 | 142 |
self.horizontalLayout_6.setObjectName("horizontalLayout_6") |
143 |
self.label_10 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
143 |
self.label_10 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
144 | 144 |
self.label_10.setMinimumSize(QtCore.QSize(129, 0)) |
145 | 145 |
self.label_10.setMaximumSize(QtCore.QSize(129, 16777215)) |
146 | 146 |
font = QtGui.QFont() |
... | ... | |
150 | 150 |
self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
151 | 151 |
self.label_10.setObjectName("label_10") |
152 | 152 |
self.horizontalLayout_6.addWidget(self.label_10) |
153 |
self.comboBox_Schedule_No = QtWidgets.QComboBox(self.groupBox_Geometry_Data)
|
|
153 |
self.comboBox_Schedule_No = QtWidgets.QComboBox(self.groupBox_GeometryData) |
|
154 | 154 |
self.comboBox_Schedule_No.setMinimumSize(QtCore.QSize(80, 0)) |
155 | 155 |
self.comboBox_Schedule_No.setMaximumSize(QtCore.QSize(80, 16777215)) |
156 | 156 |
font = QtGui.QFont() |
... | ... | |
164 | 164 |
self.verticalLayout_4.addLayout(self.horizontalLayout_6) |
165 | 165 |
self.horizontalLayout_5 = QtWidgets.QHBoxLayout() |
166 | 166 |
self.horizontalLayout_5.setObjectName("horizontalLayout_5") |
167 |
self.label_12 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
167 |
self.label_12 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
168 | 168 |
self.label_12.setMinimumSize(QtCore.QSize(129, 0)) |
169 | 169 |
self.label_12.setMaximumSize(QtCore.QSize(129, 16777215)) |
170 | 170 |
font = QtGui.QFont() |
... | ... | |
174 | 174 |
self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
175 | 175 |
self.label_12.setObjectName("label_12") |
176 | 176 |
self.horizontalLayout_5.addWidget(self.label_12) |
177 |
self.lineEdit_Inside_Pipe_Size = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
177 |
self.lineEdit_Inside_Pipe_Size = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
178 | 178 |
self.lineEdit_Inside_Pipe_Size.setEnabled(True) |
179 | 179 |
self.lineEdit_Inside_Pipe_Size.setMinimumSize(QtCore.QSize(80, 0)) |
180 | 180 |
self.lineEdit_Inside_Pipe_Size.setMaximumSize(QtCore.QSize(80, 16777215)) |
... | ... | |
185 | 185 |
self.lineEdit_Inside_Pipe_Size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
186 | 186 |
self.lineEdit_Inside_Pipe_Size.setObjectName("lineEdit_Inside_Pipe_Size") |
187 | 187 |
self.horizontalLayout_5.addWidget(self.lineEdit_Inside_Pipe_Size) |
188 |
self.label_Inside_Pipe_Size_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
188 |
self.label_Inside_Pipe_Size_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
189 | 189 |
font = QtGui.QFont() |
190 | 190 |
font.setBold(False) |
191 | 191 |
font.setWeight(50) |
... | ... | |
197 | 197 |
self.horizontalLayout_19.setObjectName("horizontalLayout_19") |
198 | 198 |
spacerItem1 = QtWidgets.QSpacerItem(54, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
199 | 199 |
self.horizontalLayout_19.addItem(spacerItem1) |
200 |
self.pushButton_Roughness = QtWidgets.QPushButton(self.groupBox_Geometry_Data)
|
|
200 |
self.pushButton_Roughness = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
201 | 201 |
self.pushButton_Roughness.setMinimumSize(QtCore.QSize(75, 0)) |
202 | 202 |
self.pushButton_Roughness.setMaximumSize(QtCore.QSize(75, 16777215)) |
203 | 203 |
font = QtGui.QFont() |
... | ... | |
206 | 206 |
self.pushButton_Roughness.setFont(font) |
207 | 207 |
self.pushButton_Roughness.setObjectName("pushButton_Roughness") |
208 | 208 |
self.horizontalLayout_19.addWidget(self.pushButton_Roughness) |
209 |
self.lineEdit_Roughness = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
209 |
self.lineEdit_Roughness = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
210 | 210 |
self.lineEdit_Roughness.setMinimumSize(QtCore.QSize(80, 0)) |
211 | 211 |
self.lineEdit_Roughness.setMaximumSize(QtCore.QSize(80, 16777215)) |
212 | 212 |
self.lineEdit_Roughness.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
213 | 213 |
self.lineEdit_Roughness.setObjectName("lineEdit_Roughness") |
214 | 214 |
self.horizontalLayout_19.addWidget(self.lineEdit_Roughness) |
215 |
self.label_Roughness_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
215 |
self.label_Roughness_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
216 | 216 |
self.label_Roughness_Unit.setMinimumSize(QtCore.QSize(0, 0)) |
217 | 217 |
font = QtGui.QFont() |
218 | 218 |
font.setBold(False) |
... | ... | |
223 | 223 |
self.verticalLayout_4.addLayout(self.horizontalLayout_19) |
224 | 224 |
self.horizontalLayout_17 = QtWidgets.QHBoxLayout() |
225 | 225 |
self.horizontalLayout_17.setObjectName("horizontalLayout_17") |
226 |
self.label_27 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
226 |
self.label_27 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
227 | 227 |
self.label_27.setMinimumSize(QtCore.QSize(129, 0)) |
228 | 228 |
self.label_27.setMaximumSize(QtCore.QSize(129, 16777215)) |
229 | 229 |
font = QtGui.QFont() |
... | ... | |
233 | 233 |
self.label_27.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
234 | 234 |
self.label_27.setObjectName("label_27") |
235 | 235 |
self.horizontalLayout_17.addWidget(self.label_27) |
236 |
self.lineEdit_Straight_Length = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
236 |
self.lineEdit_Straight_Length = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
237 | 237 |
self.lineEdit_Straight_Length.setMinimumSize(QtCore.QSize(80, 0)) |
238 | 238 |
self.lineEdit_Straight_Length.setMaximumSize(QtCore.QSize(80, 16777215)) |
239 | 239 |
font = QtGui.QFont() |
... | ... | |
243 | 243 |
self.lineEdit_Straight_Length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
244 | 244 |
self.lineEdit_Straight_Length.setObjectName("lineEdit_Straight_Length") |
245 | 245 |
self.horizontalLayout_17.addWidget(self.lineEdit_Straight_Length) |
246 |
self.label_Straight_Lengh_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
246 |
self.label_Straight_Lengh_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
247 | 247 |
font = QtGui.QFont() |
248 | 248 |
font.setBold(False) |
249 | 249 |
font.setWeight(50) |
... | ... | |
253 | 253 |
self.verticalLayout_4.addLayout(self.horizontalLayout_17) |
254 | 254 |
self.horizontalLayout_18 = QtWidgets.QHBoxLayout() |
255 | 255 |
self.horizontalLayout_18.setObjectName("horizontalLayout_18") |
256 |
self.label_7 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
256 |
self.label_7 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
257 | 257 |
self.label_7.setMinimumSize(QtCore.QSize(129, 0)) |
258 | 258 |
self.label_7.setMaximumSize(QtCore.QSize(129, 16777215)) |
259 | 259 |
font = QtGui.QFont() |
... | ... | |
263 | 263 |
self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
264 | 264 |
self.label_7.setObjectName("label_7") |
265 | 265 |
self.horizontalLayout_18.addWidget(self.label_7) |
266 |
self.lineEdit_Equivalent_Length_Input = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
266 |
self.lineEdit_Equivalent_Length_Input = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
267 | 267 |
self.lineEdit_Equivalent_Length_Input.setMinimumSize(QtCore.QSize(80, 0)) |
268 | 268 |
self.lineEdit_Equivalent_Length_Input.setMaximumSize(QtCore.QSize(80, 16777215)) |
269 | 269 |
font = QtGui.QFont() |
... | ... | |
273 | 273 |
self.lineEdit_Equivalent_Length_Input.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
274 | 274 |
self.lineEdit_Equivalent_Length_Input.setObjectName("lineEdit_Equivalent_Length_Input") |
275 | 275 |
self.horizontalLayout_18.addWidget(self.lineEdit_Equivalent_Length_Input) |
276 |
self.label_Equivalent_Lenght_Input_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
276 |
self.label_Equivalent_Lenght_Input_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
277 | 277 |
font = QtGui.QFont() |
278 | 278 |
font.setBold(False) |
279 | 279 |
font.setWeight(50) |
... | ... | |
285 | 285 |
self.horizontalLayout_16.setObjectName("horizontalLayout_16") |
286 | 286 |
spacerItem2 = QtWidgets.QSpacerItem(54, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
287 | 287 |
self.horizontalLayout_16.addItem(spacerItem2) |
288 |
self.pushButton_Fitting = QtWidgets.QPushButton(self.groupBox_Geometry_Data)
|
|
288 |
self.pushButton_Fitting = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
289 | 289 |
self.pushButton_Fitting.setEnabled(False) |
290 | 290 |
self.pushButton_Fitting.setMinimumSize(QtCore.QSize(75, 0)) |
291 | 291 |
self.pushButton_Fitting.setMaximumSize(QtCore.QSize(75, 16777215)) |
... | ... | |
295 | 295 |
self.pushButton_Fitting.setFont(font) |
296 | 296 |
self.pushButton_Fitting.setObjectName("pushButton_Fitting") |
297 | 297 |
self.horizontalLayout_16.addWidget(self.pushButton_Fitting) |
298 |
self.lineEdit_Fitting_Length = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
298 |
self.lineEdit_Fitting_Length = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
299 | 299 |
self.lineEdit_Fitting_Length.setEnabled(False) |
300 | 300 |
self.lineEdit_Fitting_Length.setMinimumSize(QtCore.QSize(80, 0)) |
301 | 301 |
self.lineEdit_Fitting_Length.setMaximumSize(QtCore.QSize(80, 16777215)) |
... | ... | |
306 | 306 |
self.lineEdit_Fitting_Length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
307 | 307 |
self.lineEdit_Fitting_Length.setObjectName("lineEdit_Fitting_Length") |
308 | 308 |
self.horizontalLayout_16.addWidget(self.lineEdit_Fitting_Length) |
309 |
self.label_Fitting_Length_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
309 |
self.label_Fitting_Length_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
310 | 310 |
font = QtGui.QFont() |
311 | 311 |
font.setBold(False) |
312 | 312 |
font.setWeight(50) |
313 | 313 |
self.label_Fitting_Length_Unit.setFont(font) |
314 | 314 |
self.label_Fitting_Length_Unit.setObjectName("label_Fitting_Length_Unit") |
315 | 315 |
self.horizontalLayout_16.addWidget(self.label_Fitting_Length_Unit) |
316 |
self.lineEdit_Fitting_K = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
316 |
self.lineEdit_Fitting_K = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
317 | 317 |
self.lineEdit_Fitting_K.setEnabled(False) |
318 | 318 |
self.lineEdit_Fitting_K.setMinimumSize(QtCore.QSize(30, 0)) |
319 | 319 |
self.lineEdit_Fitting_K.setMaximumSize(QtCore.QSize(30, 16777215)) |
... | ... | |
327 | 327 |
self.verticalLayout_4.addLayout(self.horizontalLayout_16) |
328 | 328 |
self.horizontalLayout_9 = QtWidgets.QHBoxLayout() |
329 | 329 |
self.horizontalLayout_9.setObjectName("horizontalLayout_9") |
330 |
self.label_9 = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
330 |
self.label_9 = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
331 | 331 |
self.label_9.setMinimumSize(QtCore.QSize(129, 0)) |
332 | 332 |
self.label_9.setMaximumSize(QtCore.QSize(129, 16777215)) |
333 | 333 |
font = QtGui.QFont() |
... | ... | |
337 | 337 |
self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
338 | 338 |
self.label_9.setObjectName("label_9") |
339 | 339 |
self.horizontalLayout_9.addWidget(self.label_9) |
340 |
self.lineEdit_Equivalent_Length_Cal = QtWidgets.QLineEdit(self.groupBox_Geometry_Data)
|
|
340 |
self.lineEdit_Equivalent_Length_Cal = QtWidgets.QLineEdit(self.groupBox_GeometryData) |
|
341 | 341 |
self.lineEdit_Equivalent_Length_Cal.setEnabled(False) |
342 | 342 |
self.lineEdit_Equivalent_Length_Cal.setMinimumSize(QtCore.QSize(80, 0)) |
343 | 343 |
self.lineEdit_Equivalent_Length_Cal.setMaximumSize(QtCore.QSize(80, 16777215)) |
... | ... | |
348 | 348 |
self.lineEdit_Equivalent_Length_Cal.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
349 | 349 |
self.lineEdit_Equivalent_Length_Cal.setObjectName("lineEdit_Equivalent_Length_Cal") |
350 | 350 |
self.horizontalLayout_9.addWidget(self.lineEdit_Equivalent_Length_Cal) |
351 |
self.label_Equivalent_Lenght_Cal_Unit = QtWidgets.QLabel(self.groupBox_Geometry_Data)
|
|
351 |
self.label_Equivalent_Lenght_Cal_Unit = QtWidgets.QLabel(self.groupBox_GeometryData) |
|
352 | 352 |
self.label_Equivalent_Lenght_Cal_Unit.setMinimumSize(QtCore.QSize(0, 0)) |
353 | 353 |
font = QtGui.QFont() |
354 | 354 |
font.setBold(False) |
... | ... | |
359 | 359 |
self.verticalLayout_4.addLayout(self.horizontalLayout_9) |
360 | 360 |
self.horizontalLayout = QtWidgets.QHBoxLayout() |
361 | 361 |
self.horizontalLayout.setObjectName("horizontalLayout") |
362 |
self.pushButton = QtWidgets.QPushButton(self.groupBox_Geometry_Data)
|
|
362 |
self.pushButton = QtWidgets.QPushButton(self.groupBox_GeometryData) |
|
363 | 363 |
font = QtGui.QFont() |
364 | 364 |
font.setBold(False) |
365 | 365 |
font.setWeight(50) |
... | ... | |
778 | 778 |
self.pushButton_Line_Sizing = QtWidgets.QPushButton(Dialog) |
779 | 779 |
self.pushButton_Line_Sizing.setGeometry(QtCore.QRect(8, 420, 149, 23)) |
780 | 780 |
self.pushButton_Line_Sizing.setObjectName("pushButton_Line_Sizing") |
781 |
self.groupBox_ProcessData_Mixed = QtWidgets.QGroupBox(Dialog) |
|
782 |
self.groupBox_ProcessData_Mixed.setGeometry(QtCore.QRect(8, 80, 669, 141)) |
|
783 |
font = QtGui.QFont() |
|
784 |
font.setBold(True) |
|
785 |
font.setWeight(75) |
|
786 |
self.groupBox_ProcessData_Mixed.setFont(font) |
|
787 |
self.groupBox_ProcessData_Mixed.setObjectName("groupBox_ProcessData_Mixed") |
|
788 |
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_ProcessData_Mixed) |
|
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 |
self.verticalLayout = QtWidgets.QVBoxLayout() |
|
846 |
self.verticalLayout.setObjectName("verticalLayout") |
|
847 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
848 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
849 |
self.label = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
850 |
font = QtGui.QFont() |
|
851 |
font.setBold(False) |
|
852 |
font.setWeight(50) |
|
853 |
self.label.setFont(font) |
|
854 |
self.label.setText("") |
|
855 |
self.label.setAlignment(QtCore.Qt.AlignCenter) |
|
856 |
self.label.setObjectName("label") |
|
857 |
self.horizontalLayout_2.addWidget(self.label) |
|
858 |
self.label_2 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
859 |
self.label_2.setMinimumSize(QtCore.QSize(80, 0)) |
|
860 |
self.label_2.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
861 |
font = QtGui.QFont() |
|
862 |
font.setBold(False) |
|
863 |
font.setWeight(50) |
|
864 |
self.label_2.setFont(font) |
|
865 |
self.label_2.setAlignment(QtCore.Qt.AlignCenter) |
|
866 |
self.label_2.setObjectName("label_2") |
|
867 |
self.horizontalLayout_2.addWidget(self.label_2) |
|
868 |
self.label_11 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
869 |
self.label_11.setMinimumSize(QtCore.QSize(80, 0)) |
|
870 |
self.label_11.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
871 |
font = QtGui.QFont() |
|
872 |
font.setBold(False) |
|
873 |
font.setWeight(50) |
|
874 |
self.label_11.setFont(font) |
|
875 |
self.label_11.setAlignment(QtCore.Qt.AlignCenter) |
|
876 |
self.label_11.setObjectName("label_11") |
|
877 |
self.horizontalLayout_2.addWidget(self.label_11) |
|
878 |
self.label_15 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
879 |
self.label_15.setMinimumSize(QtCore.QSize(80, 0)) |
|
880 |
self.label_15.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
881 |
font = QtGui.QFont() |
|
882 |
font.setBold(False) |
|
883 |
font.setWeight(50) |
|
884 |
self.label_15.setFont(font) |
|
885 |
self.label_15.setAlignment(QtCore.Qt.AlignCenter) |
|
886 |
self.label_15.setObjectName("label_15") |
|
887 |
self.horizontalLayout_2.addWidget(self.label_15) |
|
888 |
self.label_17 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
889 |
self.label_17.setMinimumSize(QtCore.QSize(80, 0)) |
|
890 |
self.label_17.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
891 |
font = QtGui.QFont() |
|
892 |
font.setBold(False) |
|
893 |
font.setWeight(50) |
|
894 |
self.label_17.setFont(font) |
|
895 |
self.label_17.setAlignment(QtCore.Qt.AlignCenter) |
|
896 |
self.label_17.setObjectName("label_17") |
|
897 |
self.horizontalLayout_2.addWidget(self.label_17) |
|
898 |
self.label_24 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
899 |
self.label_24.setMinimumSize(QtCore.QSize(80, 0)) |
|
900 |
self.label_24.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
901 |
font = QtGui.QFont() |
|
902 |
font.setBold(False) |
|
903 |
font.setWeight(50) |
|
904 |
self.label_24.setFont(font) |
|
905 |
self.label_24.setAlignment(QtCore.Qt.AlignCenter) |
|
906 |
self.label_24.setObjectName("label_24") |
|
907 |
self.horizontalLayout_2.addWidget(self.label_24) |
|
908 |
self.label_25 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
909 |
self.label_25.setMinimumSize(QtCore.QSize(80, 0)) |
|
910 |
self.label_25.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
911 |
font = QtGui.QFont() |
|
912 |
font.setBold(False) |
|
913 |
font.setWeight(50) |
|
914 |
self.label_25.setFont(font) |
|
915 |
self.label_25.setAlignment(QtCore.Qt.AlignCenter) |
|
916 |
self.label_25.setObjectName("label_25") |
|
917 |
self.horizontalLayout_2.addWidget(self.label_25) |
|
918 |
self.label_26 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
919 |
self.label_26.setMinimumSize(QtCore.QSize(80, 0)) |
|
920 |
self.label_26.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
921 |
font = QtGui.QFont() |
|
922 |
font.setBold(False) |
|
923 |
font.setWeight(50) |
|
924 |
self.label_26.setFont(font) |
|
925 |
self.label_26.setAlignment(QtCore.Qt.AlignCenter) |
|
926 |
self.label_26.setObjectName("label_26") |
|
927 |
self.horizontalLayout_2.addWidget(self.label_26) |
|
928 |
self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
929 |
self.horizontalLayout_14 = QtWidgets.QHBoxLayout() |
|
930 |
self.horizontalLayout_14.setObjectName("horizontalLayout_14") |
|
931 |
self.label_35 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
932 |
font = QtGui.QFont() |
|
933 |
font.setBold(False) |
|
934 |
font.setWeight(50) |
|
935 |
self.label_35.setFont(font) |
|
936 |
self.label_35.setText("") |
|
937 |
self.label_35.setAlignment(QtCore.Qt.AlignCenter) |
|
938 |
self.label_35.setObjectName("label_35") |
|
939 |
self.horizontalLayout_14.addWidget(self.label_35) |
|
940 |
self.label_Flowrate_Mass_Unit_Mixed = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
941 |
self.label_Flowrate_Mass_Unit_Mixed.setMinimumSize(QtCore.QSize(80, 0)) |
|
942 |
self.label_Flowrate_Mass_Unit_Mixed.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
943 |
font = QtGui.QFont() |
|
944 |
font.setBold(False) |
|
945 |
font.setWeight(50) |
|
946 |
self.label_Flowrate_Mass_Unit_Mixed.setFont(font) |
|
947 |
self.label_Flowrate_Mass_Unit_Mixed.setAlignment(QtCore.Qt.AlignCenter) |
|
948 |
self.label_Flowrate_Mass_Unit_Mixed.setObjectName("label_Flowrate_Mass_Unit_Mixed") |
|
949 |
self.horizontalLayout_14.addWidget(self.label_Flowrate_Mass_Unit_Mixed) |
|
950 |
self.label_Density_Unit_Mixed = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
951 |
self.label_Density_Unit_Mixed.setMinimumSize(QtCore.QSize(80, 0)) |
|
952 |
self.label_Density_Unit_Mixed.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
953 |
font = QtGui.QFont() |
|
954 |
font.setBold(False) |
|
955 |
font.setWeight(50) |
|
956 |
self.label_Density_Unit_Mixed.setFont(font) |
|
957 |
self.label_Density_Unit_Mixed.setAlignment(QtCore.Qt.AlignCenter) |
|
958 |
self.label_Density_Unit_Mixed.setObjectName("label_Density_Unit_Mixed") |
|
959 |
self.horizontalLayout_14.addWidget(self.label_Density_Unit_Mixed) |
|
960 |
self.label_Viscosity_Unit_Mixed = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
961 |
self.label_Viscosity_Unit_Mixed.setMinimumSize(QtCore.QSize(80, 0)) |
|
962 |
self.label_Viscosity_Unit_Mixed.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
963 |
font = QtGui.QFont() |
|
964 |
font.setBold(False) |
|
965 |
font.setWeight(50) |
|
966 |
self.label_Viscosity_Unit_Mixed.setFont(font) |
|
967 |
self.label_Viscosity_Unit_Mixed.setAlignment(QtCore.Qt.AlignCenter) |
|
968 |
self.label_Viscosity_Unit_Mixed.setObjectName("label_Viscosity_Unit_Mixed") |
|
969 |
self.horizontalLayout_14.addWidget(self.label_Viscosity_Unit_Mixed) |
|
970 |
self.label_Pressure_Unit_Mixed = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
971 |
self.label_Pressure_Unit_Mixed.setMinimumSize(QtCore.QSize(80, 0)) |
|
972 |
self.label_Pressure_Unit_Mixed.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
973 |
font = QtGui.QFont() |
|
974 |
font.setBold(False) |
|
975 |
font.setWeight(50) |
|
976 |
self.label_Pressure_Unit_Mixed.setFont(font) |
|
977 |
self.label_Pressure_Unit_Mixed.setAlignment(QtCore.Qt.AlignCenter) |
|
978 |
self.label_Pressure_Unit_Mixed.setObjectName("label_Pressure_Unit_Mixed") |
|
979 |
self.horizontalLayout_14.addWidget(self.label_Pressure_Unit_Mixed) |
|
980 |
self.label_Temperature_Unit_Mixed = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
981 |
self.label_Temperature_Unit_Mixed.setMinimumSize(QtCore.QSize(80, 0)) |
|
982 |
self.label_Temperature_Unit_Mixed.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
983 |
font = QtGui.QFont() |
|
984 |
font.setBold(False) |
|
985 |
font.setWeight(50) |
|
986 |
self.label_Temperature_Unit_Mixed.setFont(font) |
|
987 |
self.label_Temperature_Unit_Mixed.setAlignment(QtCore.Qt.AlignCenter) |
|
988 |
self.label_Temperature_Unit_Mixed.setObjectName("label_Temperature_Unit_Mixed") |
|
989 |
self.horizontalLayout_14.addWidget(self.label_Temperature_Unit_Mixed) |
|
990 |
self.label_29 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
991 |
self.label_29.setMinimumSize(QtCore.QSize(80, 0)) |
|
992 |
self.label_29.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
993 |
font = QtGui.QFont() |
|
994 |
font.setBold(False) |
|
995 |
font.setWeight(50) |
|
996 |
self.label_29.setFont(font) |
|
997 |
self.label_29.setText("") |
|
998 |
self.label_29.setAlignment(QtCore.Qt.AlignCenter) |
|
999 |
self.label_29.setObjectName("label_29") |
|
1000 |
self.horizontalLayout_14.addWidget(self.label_29) |
|
1001 |
self.label_28 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
1002 |
self.label_28.setMinimumSize(QtCore.QSize(80, 0)) |
|
1003 |
self.label_28.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1004 |
font = QtGui.QFont() |
|
1005 |
font.setBold(False) |
|
1006 |
font.setWeight(50) |
|
1007 |
self.label_28.setFont(font) |
|
1008 |
self.label_28.setText("") |
|
1009 |
self.label_28.setAlignment(QtCore.Qt.AlignCenter) |
|
1010 |
self.label_28.setObjectName("label_28") |
|
1011 |
self.horizontalLayout_14.addWidget(self.label_28) |
|
1012 |
self.verticalLayout.addLayout(self.horizontalLayout_14) |
|
1013 |
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) |
|
1014 |
self.horizontalLayout_26 = QtWidgets.QHBoxLayout() |
|
1015 |
self.horizontalLayout_26.setObjectName("horizontalLayout_26") |
|
1016 |
self.label_37 = QtWidgets.QLabel(self.groupBox_ProcessData_Mixed) |
|
1017 |
self.label_37.setMinimumSize(QtCore.QSize(0, 0)) |
|
1018 |
self.label_37.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
1019 |
font = QtGui.QFont() |
|
1020 |
font.setBold(False) |
|
1021 |
font.setWeight(50) |
|
1022 |
self.label_37.setFont(font) |
|
1023 |
self.label_37.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
1024 |
self.label_37.setObjectName("label_37") |
|
1025 |
self.horizontalLayout_26.addWidget(self.label_37) |
|
1026 |
self.lineEdit_14 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1027 |
self.lineEdit_14.setMinimumSize(QtCore.QSize(80, 0)) |
|
1028 |
self.lineEdit_14.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1029 |
self.lineEdit_14.setAlignment(QtCore.Qt.AlignCenter) |
|
1030 |
self.lineEdit_14.setObjectName("lineEdit_14") |
|
1031 |
self.horizontalLayout_26.addWidget(self.lineEdit_14) |
|
1032 |
self.lineEdit_13 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1033 |
self.lineEdit_13.setMinimumSize(QtCore.QSize(80, 0)) |
|
1034 |
self.lineEdit_13.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1035 |
self.lineEdit_13.setAlignment(QtCore.Qt.AlignCenter) |
|
1036 |
self.lineEdit_13.setObjectName("lineEdit_13") |
|
1037 |
self.horizontalLayout_26.addWidget(self.lineEdit_13) |
|
1038 |
self.lineEdit_12 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1039 |
self.lineEdit_12.setMinimumSize(QtCore.QSize(80, 0)) |
|
1040 |
self.lineEdit_12.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1041 |
self.lineEdit_12.setAlignment(QtCore.Qt.AlignCenter) |
|
1042 |
self.lineEdit_12.setObjectName("lineEdit_12") |
|
1043 |
self.horizontalLayout_26.addWidget(self.lineEdit_12) |
|
1044 |
self.lineEdit_11 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1045 |
self.lineEdit_11.setEnabled(False) |
|
1046 |
self.lineEdit_11.setMinimumSize(QtCore.QSize(80, 0)) |
|
1047 |
self.lineEdit_11.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1048 |
self.lineEdit_11.setAlignment(QtCore.Qt.AlignCenter) |
|
1049 |
self.lineEdit_11.setObjectName("lineEdit_11") |
|
1050 |
self.horizontalLayout_26.addWidget(self.lineEdit_11) |
|
1051 |
self.lineEdit_10 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1052 |
self.lineEdit_10.setEnabled(False) |
|
1053 |
self.lineEdit_10.setMinimumSize(QtCore.QSize(80, 0)) |
|
1054 |
self.lineEdit_10.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1055 |
self.lineEdit_10.setAlignment(QtCore.Qt.AlignCenter) |
|
1056 |
self.lineEdit_10.setObjectName("lineEdit_10") |
|
1057 |
self.horizontalLayout_26.addWidget(self.lineEdit_10) |
|
1058 |
self.lineEdit_9 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1059 |
self.lineEdit_9.setEnabled(False) |
|
1060 |
self.lineEdit_9.setMinimumSize(QtCore.QSize(80, 0)) |
|
1061 |
self.lineEdit_9.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1062 |
self.lineEdit_9.setAlignment(QtCore.Qt.AlignCenter) |
|
1063 |
self.lineEdit_9.setObjectName("lineEdit_9") |
|
1064 |
self.horizontalLayout_26.addWidget(self.lineEdit_9) |
|
1065 |
self.lineEdit_8 = QtWidgets.QLineEdit(self.groupBox_ProcessData_Mixed) |
|
1066 |
self.lineEdit_8.setEnabled(False) |
|
1067 |
self.lineEdit_8.setMinimumSize(QtCore.QSize(80, 0)) |
|
1068 |
self.lineEdit_8.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
1069 |
self.lineEdit_8.setAlignment(QtCore.Qt.AlignCenter) |
|
1070 |
self.lineEdit_8.setObjectName("lineEdit_8") |
|
1071 |
self.horizontalLayout_26.addWidget(self.lineEdit_8) |
|
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 |
self.groupBox_GeometryData_Mixed = QtWidgets.QGroupBox(Dialog) |
|
1076 |
self.groupBox_GeometryData_Mixed.setGeometry(QtCore.QRect(8, 232, 669, 209)) |
|
1077 |
font = QtGui.QFont() |
|
1078 |
font.setBold(True) |
|
1079 |
font.setWeight(75) |
|
1080 |
self.groupBox_GeometryData_Mixed.setFont(font) |
|
1081 |
self.groupBox_GeometryData_Mixed.setObjectName("groupBox_GeometryData_Mixed") |
|
781 | 1082 |
|
782 | 1083 |
self.retranslateUi(Dialog) |
783 | 1084 |
self.buttonBox.accepted.connect(Dialog.accept) |
... | ... | |
818 | 1119 |
self.groupBox_StreamNo.setTitle(_translate("Dialog", "Stream No : ????")) |
819 | 1120 |
self.label_14.setText(_translate("Dialog", "Phase Type : ")) |
820 | 1121 |
self.label_5.setText(_translate("Dialog", "Display No. : ")) |
821 |
self.groupBox_Geometry_Data.setTitle(_translate("Dialog", "Geometry Data"))
|
|
1122 |
self.groupBox_GeometryData.setTitle(_translate("Dialog", "Geometry Data")) |
|
822 | 1123 |
self.label_13.setText(_translate("Dialog", "Use Equiv. Length :")) |
823 | 1124 |
self.radioButton_Equivalent_Length_Input.setText(_translate("Dialog", "Input")) |
824 | 1125 |
self.radioButton_Equivalent_Length_Cal.setText(_translate("Dialog", "Cal\'d")) |
... | ... | |
863 | 1164 |
self.label_Temperature_Unit.setText(_translate("Dialog", "-")) |
864 | 1165 |
self.label_23.setText(_translate("Dialog", "Z factor :")) |
865 | 1166 |
self.pushButton_Line_Sizing.setText(_translate("Dialog", "Line Sizing Criteria")) |
1167 |
self.groupBox_ProcessData_Mixed.setTitle(_translate("Dialog", "Process Data (at Start Point)")) |
|
1168 |
self.label_36.setText(_translate("Dialog", "Vapor :")) |
|
1169 |
self.label_2.setText(_translate("Dialog", "Flowrate")) |
|
1170 |
self.label_11.setText(_translate("Dialog", "Density")) |
|
1171 |
self.label_15.setText(_translate("Dialog", "Viscosity")) |
|
1172 |
self.label_17.setText(_translate("Dialog", "Pressure")) |
|
1173 |
self.label_24.setText(_translate("Dialog", "Temperature")) |
|
1174 |
self.label_25.setText(_translate("Dialog", "Mol. Weight ")) |
|
1175 |
self.label_26.setText(_translate("Dialog", "Z factor")) |
|
1176 |
self.label_Flowrate_Mass_Unit_Mixed.setText(_translate("Dialog", "-")) |
|
1177 |
self.label_Density_Unit_Mixed.setText(_translate("Dialog", "-")) |
|
1178 |
self.label_Viscosity_Unit_Mixed.setText(_translate("Dialog", "-")) |
|
1179 |
self.label_Pressure_Unit_Mixed.setText(_translate("Dialog", "-")) |
|
1180 |
self.label_Temperature_Unit_Mixed.setText(_translate("Dialog", "-")) |
|
1181 |
self.label_37.setText(_translate("Dialog", "Liquid :")) |
|
1182 |
self.lineEdit_11.setText(_translate("Dialog", "-")) |
|
1183 |
self.lineEdit_10.setText(_translate("Dialog", "-")) |
|
1184 |
self.lineEdit_9.setText(_translate("Dialog", "-")) |
|
1185 |
self.lineEdit_8.setText(_translate("Dialog", "-")) |
|
1186 |
self.groupBox_GeometryData_Mixed.setTitle(_translate("Dialog", "Geometry Data")) |
|
866 | 1187 |
import Resource_rc |
HYTOS/HYTOS/UI/Roughness.ui | ||
---|---|---|
6 | 6 |
<rect> |
7 | 7 |
<x>0</x> |
8 | 8 |
<y>0</y> |
9 |
<width>613</width>
|
|
10 |
<height>284</height>
|
|
9 |
<width>579</width>
|
|
10 |
<height>305</height>
|
|
11 | 11 |
</rect> |
12 | 12 |
</property> |
13 | 13 |
<property name="font"> |
... | ... | |
23 | 23 |
<normaloff>:/images/HYTOS.png</normaloff>:/images/HYTOS.png</iconset> |
24 | 24 |
</property> |
25 | 25 |
<layout class="QGridLayout" name="gridLayout_2"> |
26 |
<item row="0" column="0">
|
|
26 |
<item row="1" column="0">
|
|
27 | 27 |
<layout class="QGridLayout" name="gridLayout"> |
28 |
<item row="2" column="0">
|
|
28 |
<item row="1" column="0">
|
|
29 | 29 |
<widget class="QTableWidget" name="tableWidget_Roughness"> |
30 | 30 |
<property name="selectionMode"> |
31 | 31 |
<enum>QAbstractItemView::ExtendedSelection</enum> |
... | ... | |
35 | 35 |
</property> |
36 | 36 |
</widget> |
37 | 37 |
</item> |
38 |
<item row="1" column="0"> |
|
39 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
40 |
<item> |
|
41 |
<widget class="QLabel" name="label"> |
|
42 |
<property name="minimumSize"> |
|
43 |
<size> |
|
44 |
<width>0</width> |
|
45 |
<height>0</height> |
|
46 |
</size> |
|
47 |
</property> |
|
48 |
<property name="maximumSize"> |
|
49 |
<size> |
|
50 |
<width>16777215</width> |
|
51 |
<height>16777215</height> |
|
52 |
</size> |
|
53 |
</property> |
|
54 |
<property name="text"> |
|
55 |
<string>Selected Material :</string> |
|
56 |
</property> |
|
57 |
<property name="alignment"> |
|
58 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
|
59 |
</property> |
|
60 |
</widget> |
|
61 |
</item> |
|
62 |
<item> |
|
63 |
<widget class="QLineEdit" name="lineEdit_SelectedMaterial"> |
|
64 |
<property name="enabled"> |
|
65 |
<bool>false</bool> |
|
66 |
</property> |
|
67 |
<property name="minimumSize"> |
|
68 |
<size> |
|
69 |
<width>160</width> |
|
70 |
<height>0</height> |
|
71 |
</size> |
|
72 |
</property> |
|
73 |
<property name="maximumSize"> |
|
74 |
<size> |
|
75 |
<width>160</width> |
|
76 |
<height>16777215</height> |
|
77 |
</size> |
|
78 |
</property> |
|
79 |
<property name="alignment"> |
|
80 |
<set>Qt::AlignCenter</set> |
|
81 |
</property> |
|
82 |
</widget> |
|
83 |
</item> |
|
84 |
<item> |
|
85 |
<widget class="QLabel" name="label_2"> |
|
86 |
<property name="text"> |
|
87 |
<string>Selected Value :</string> |
|
88 |
</property> |
|
89 |
</widget> |
|
90 |
</item> |
|
91 |
<item> |
|
92 |
<widget class="QLineEdit" name="lineEdit_SelectedValue"> |
|
93 |
<property name="enabled"> |
|
94 |
<bool>false</bool> |
|
95 |
</property> |
|
96 |
<property name="alignment"> |
|
97 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
98 |
</property> |
|
99 |
</widget> |
|
100 |
</item> |
|
101 |
<item> |
|
102 |
<widget class="QLabel" name="label_Unit"> |
|
103 |
<property name="minimumSize"> |
|
104 |
<size> |
|
105 |
<width>30</width> |
|
106 |
<height>0</height> |
|
107 |
</size> |
|
108 |
</property> |
|
109 |
<property name="maximumSize"> |
|
110 |
<size> |
|
111 |
<width>30</width> |
|
112 |
<height>16777215</height> |
|
113 |
</size> |
|
114 |
</property> |
|
115 |
<property name="text"> |
|
116 |
<string>in</string> |
|
117 |
</property> |
|
118 |
</widget> |
|
119 |
</item> |
|
120 |
<item> |
|
121 |
<spacer name="horizontalSpacer"> |
|
122 |
<property name="orientation"> |
|
123 |
<enum>Qt::Horizontal</enum> |
|
124 |
</property> |
|
125 |
<property name="sizeHint" stdset="0"> |
|
126 |
<size> |
|
127 |
<width>40</width> |
|
128 |
<height>20</height> |
|
129 |
</size> |
|
130 |
</property> |
|
131 |
</spacer> |
|
132 |
</item> |
|
133 |
</layout> |
|
134 |
</item> |
|
135 | 38 |
</layout> |
136 | 39 |
</item> |
137 |
<item row="1" column="0"> |
|
138 |
<widget class="QDialogButtonBox" name="buttonBox"> |
|
139 |
<property name="orientation"> |
|
140 |
<enum>Qt::Horizontal</enum> |
|
141 |
</property> |
|
142 |
<property name="standardButtons"> |
|
143 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
144 |
</property> |
|
145 |
</widget> |
|
40 |
<item row="3" column="0"> |
|
41 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
42 |
<item> |
|
43 |
<widget class="QLabel" name="label_current_unit"> |
|
44 |
<property name="text"> |
|
45 |
<string/> |
|
46 |
</property> |
|
47 |
</widget> |
|
48 |
</item> |
|
49 |
<item> |
|
50 |
<widget class="QDialogButtonBox" name="buttonBox"> |
|
51 |
<property name="orientation"> |
|
52 |
<enum>Qt::Horizontal</enum> |
|
53 |
</property> |
|
54 |
<property name="standardButtons"> |
|
55 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
56 |
</property> |
|
57 |
</widget> |
|
58 |
</item> |
|
59 |
</layout> |
|
146 | 60 |
</item> |
147 | 61 |
</layout> |
148 | 62 |
</widget> |
149 | 63 |
<tabstops> |
150 |
<tabstop>lineEdit_SelectedMaterial</tabstop> |
|
151 |
<tabstop>lineEdit_SelectedValue</tabstop> |
|
152 | 64 |
<tabstop>tableWidget_Roughness</tabstop> |
153 | 65 |
</tabstops> |
154 | 66 |
<resources> |
HYTOS/HYTOS/UI/StreamData.ui | ||
---|---|---|
150 | 150 |
</property> |
151 | 151 |
</widget> |
152 | 152 |
</widget> |
153 |
<widget class="QGroupBox" name="groupBox_Geometry_Data">
|
|
153 |
<widget class="QGroupBox" name="groupBox_GeometryData"> |
|
154 | 154 |
<property name="geometry"> |
155 | 155 |
<rect> |
156 | 156 |
<x>348</x> |
... | ... | |
1898 | 1898 |
<string>Line Sizing Criteria</string> |
1899 | 1899 |
</property> |
1900 | 1900 |
</widget> |
1901 |
<widget class="QGroupBox" name="groupBox_ProcessData_Mixed"> |
|
1902 |
<property name="geometry"> |
|
1903 |
<rect> |
|
1904 |
<x>8</x> |
|
1905 |
<y>80</y> |
|
1906 |
<width>669</width> |
|
1907 |
<height>141</height> |
|
1908 |
</rect> |
|
1909 |
</property> |
|
1910 |
<property name="font"> |
|
1911 |
<font> |
|
1912 |
<weight>75</weight> |
|
1913 |
<bold>true</bold> |
|
1914 |
</font> |
|
1915 |
</property> |
|
1916 |
<property name="title"> |
|
1917 |
<string>Process Data (at Start Point)</string> |
|
1918 |
</property> |
|
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 |
<item row="0" column="0"> |
|
2086 |
<layout class="QVBoxLayout" name="verticalLayout"> |
|
2087 |
<item> |
|
2088 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
2089 |
<item> |
|
2090 |
<widget class="QLabel" name="label"> |
|
2091 |
<property name="font"> |
|
2092 |
<font> |
|
2093 |
<weight>50</weight> |
|
2094 |
<bold>false</bold> |
|
2095 |
</font> |
|
2096 |
</property> |
|
2097 |
<property name="text"> |
|
2098 |
<string/> |
|
2099 |
</property> |
|
2100 |
<property name="alignment"> |
|
2101 |
<set>Qt::AlignCenter</set> |
|
2102 |
</property> |
|
2103 |
</widget> |
|
2104 |
</item> |
|
2105 |
<item> |
|
2106 |
<widget class="QLabel" name="label_2"> |
|
2107 |
<property name="minimumSize"> |
|
2108 |
<size> |
|
2109 |
<width>80</width> |
|
2110 |
<height>0</height> |
|
2111 |
</size> |
|
2112 |
</property> |
|
2113 |
<property name="maximumSize"> |
|
2114 |
<size> |
|
2115 |
<width>80</width> |
|
2116 |
<height>16777215</height> |
|
2117 |
</size> |
|
2118 |
</property> |
|
2119 |
<property name="font"> |
|
2120 |
<font> |
|
2121 |
<weight>50</weight> |
|
2122 |
<bold>false</bold> |
|
2123 |
</font> |
|
2124 |
</property> |
|
2125 |
<property name="text"> |
|
2126 |
<string>Flowrate</string> |
|
2127 |
</property> |
|
2128 |
<property name="alignment"> |
|
2129 |
<set>Qt::AlignCenter</set> |
|
2130 |
</property> |
|
2131 |
</widget> |
|
2132 |
</item> |
|
2133 |
<item> |
|
2134 |
<widget class="QLabel" name="label_11"> |
|
2135 |
<property name="minimumSize"> |
|
2136 |
<size> |
|
2137 |
<width>80</width> |
|
2138 |
<height>0</height> |
|
2139 |
</size> |
|
2140 |
</property> |
|
2141 |
<property name="maximumSize"> |
|
2142 |
<size> |
|
2143 |
<width>80</width> |
|
2144 |
<height>16777215</height> |
|
2145 |
</size> |
|
2146 |
</property> |
|
2147 |
<property name="font"> |
|
2148 |
<font> |
|
2149 |
<weight>50</weight> |
|
2150 |
<bold>false</bold> |
|
2151 |
</font> |
|
2152 |
</property> |
|
2153 |
<property name="text"> |
|
2154 |
<string>Density</string> |
|
2155 |
</property> |
|
2156 |
<property name="alignment"> |
|
2157 |
<set>Qt::AlignCenter</set> |
|
2158 |
</property> |
|
2159 |
</widget> |
|
2160 |
</item> |
|
2161 |
<item> |
|
2162 |
<widget class="QLabel" name="label_15"> |
|
2163 |
<property name="minimumSize"> |
|
2164 |
<size> |
|
2165 |
<width>80</width> |
|
2166 |
<height>0</height> |
|
2167 |
</size> |
|
2168 |
</property> |
|
2169 |
<property name="maximumSize"> |
|
2170 |
<size> |
|
2171 |
<width>80</width> |
|
2172 |
<height>16777215</height> |
|
2173 |
</size> |
|
2174 |
</property> |
|
2175 |
<property name="font"> |
|
2176 |
<font> |
|
2177 |
<weight>50</weight> |
|
2178 |
<bold>false</bold> |
|
2179 |
</font> |
|
2180 |
</property> |
|
2181 |
<property name="text"> |
|
2182 |
<string>Viscosity</string> |
|
2183 |
</property> |
|
2184 |
<property name="alignment"> |
|
2185 |
<set>Qt::AlignCenter</set> |
|
2186 |
</property> |
|
2187 |
</widget> |
|
2188 |
</item> |
|
2189 |
<item> |
|
2190 |
<widget class="QLabel" name="label_17"> |
|
2191 |
<property name="minimumSize"> |
|
2192 |
<size> |
|
2193 |
<width>80</width> |
|
2194 |
<height>0</height> |
|
2195 |
</size> |
|
2196 |
</property> |
|
2197 |
<property name="maximumSize"> |
|
2198 |
<size> |
|
2199 |
<width>80</width> |
|
2200 |
<height>16777215</height> |
|
2201 |
</size> |
|
2202 |
</property> |
|
2203 |
<property name="font"> |
|
2204 |
<font> |
|
2205 |
<weight>50</weight> |
|
2206 |
<bold>false</bold> |
|
2207 |
</font> |
|
2208 |
</property> |
|
2209 |
<property name="text"> |
|
2210 |
<string>Pressure</string> |
|
2211 |
</property> |
|
2212 |
<property name="alignment"> |
|
2213 |
<set>Qt::AlignCenter</set> |
|
2214 |
</property> |
|
2215 |
</widget> |
|
2216 |
</item> |
|
2217 |
<item> |
|
2218 |
<widget class="QLabel" name="label_24"> |
|
2219 |
<property name="minimumSize"> |
|
2220 |
<size> |
|
2221 |
<width>80</width> |
|
2222 |
<height>0</height> |
|
2223 |
</size> |
|
2224 |
</property> |
|
2225 |
<property name="maximumSize"> |
|
2226 |
<size> |
|
2227 |
<width>80</width> |
|
2228 |
<height>16777215</height> |
|
2229 |
</size> |
|
2230 |
</property> |
|
2231 |
<property name="font"> |
|
2232 |
<font> |
|
2233 |
<weight>50</weight> |
|
2234 |
<bold>false</bold> |
|
2235 |
</font> |
|
2236 |
</property> |
|
2237 |
<property name="text"> |
|
2238 |
<string>Temperature</string> |
|
2239 |
</property> |
|
2240 |
<property name="alignment"> |
|
2241 |
<set>Qt::AlignCenter</set> |
|
2242 |
</property> |
|
2243 |
</widget> |
|
2244 |
</item> |
|
2245 |
<item> |
|
2246 |
<widget class="QLabel" name="label_25"> |
|
2247 |
<property name="minimumSize"> |
|
2248 |
<size> |
|
2249 |
<width>80</width> |
|
2250 |
<height>0</height> |
|
2251 |
</size> |
|
2252 |
</property> |
|
2253 |
<property name="maximumSize"> |
|
2254 |
<size> |
|
2255 |
<width>80</width> |
|
2256 |
<height>16777215</height> |
|
2257 |
</size> |
|
2258 |
</property> |
|
2259 |
<property name="font"> |
|
2260 |
<font> |
|
2261 |
<weight>50</weight> |
|
2262 |
<bold>false</bold> |
|
2263 |
</font> |
|
2264 |
</property> |
|
2265 |
<property name="text"> |
|
2266 |
<string>Mol. Weight </string> |
|
2267 |
</property> |
|
2268 |
<property name="alignment"> |
|
2269 |
<set>Qt::AlignCenter</set> |
|
2270 |
</property> |
|
2271 |
</widget> |
|
2272 |
</item> |
|
2273 |
<item> |
|
2274 |
<widget class="QLabel" name="label_26"> |
내보내기 Unified diff