프로젝트

일반

사용자정보

개정판 2f9c43ee

ID2f9c43eeb0b17be61de62acdce9bfca0b5d724f7
상위 a19699f0
하위 1deb99ec

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

issue #1212 : 스트림 데이터 (Mixed) Form 추가

Change-Id: I9b503028c76b03424e1e8f36a78481a4adc1b7f7

차이점 보기:

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

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

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

  
17

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

  
22
        self.ui = GeometryData_Help_UI.Ui_Dialog()
23
        self.ui.setupUi(self)
24

  
25
    def show_dialog(self):
26
        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
27
        self.exec_()
28

  
29
    def accept(self):
30
        QDialog.accept(self)
31

  
32
    def reject(self):
33
        QDialog.reject(self)
HYTOS/HYTOS/GeometryData_Help_UI.py
1
# -*- coding: utf-8 -*-
2

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

  
9

  
10
from PyQt5 import QtCore, QtGui, QtWidgets
11

  
12

  
13
class Ui_Dialog(object):
14
    def setupUi(self, Dialog):
15
        Dialog.setObjectName("Dialog")
16
        Dialog.resize(390, 474)
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        Dialog.setFont(font)
20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22
        Dialog.setWindowIcon(icon)
23
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
24
        self.buttonBox.setGeometry(QtCore.QRect(224, 440, 156, 23))
25
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
26
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
27
        self.buttonBox.setObjectName("buttonBox")
28
        self.groupBox = QtWidgets.QGroupBox(Dialog)
29
        self.groupBox.setGeometry(QtCore.QRect(12, 16, 365, 413))
30
        font = QtGui.QFont()
31
        font.setFamily("맑은 고딕")
32
        font.setBold(True)
33
        font.setWeight(75)
34
        self.groupBox.setFont(font)
35
        self.groupBox.setObjectName("groupBox")
36
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
37
        self.gridLayout.setObjectName("gridLayout")
38
        self.tabWidget = QtWidgets.QTabWidget(self.groupBox)
39
        font = QtGui.QFont()
40
        font.setBold(False)
41
        font.setWeight(50)
42
        self.tabWidget.setFont(font)
43
        self.tabWidget.setObjectName("tabWidget")
44
        self.tab = QtWidgets.QWidget()
45
        self.tab.setObjectName("tab")
46
        self.label = QtWidgets.QLabel(self.tab)
47
        self.label.setGeometry(QtCore.QRect(16, 16, 129, 16))
48
        self.label.setObjectName("label")
49
        self.label_2 = QtWidgets.QLabel(self.tab)
50
        self.label_2.setGeometry(QtCore.QRect(16, 36, 153, 16))
51
        self.label_2.setObjectName("label_2")
52
        self.label_3 = QtWidgets.QLabel(self.tab)
53
        self.label_3.setGeometry(QtCore.QRect(16, 56, 153, 16))
54
        self.label_3.setObjectName("label_3")
55
        self.label_4 = QtWidgets.QLabel(self.tab)
56
        self.label_4.setGeometry(QtCore.QRect(16, 76, 153, 16))
57
        self.label_4.setObjectName("label_4")
58
        self.label_5 = QtWidgets.QLabel(self.tab)
59
        self.label_5.setGeometry(QtCore.QRect(16, 100, 309, 241))
60
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
61
        self.label_5.setObjectName("label_5")
62
        self.tabWidget.addTab(self.tab, "")
63
        self.tab_2 = QtWidgets.QWidget()
64
        self.tab_2.setObjectName("tab_2")
65
        self.label_6 = QtWidgets.QLabel(self.tab_2)
66
        self.label_6.setGeometry(QtCore.QRect(16, 16, 121, 16))
67
        self.label_6.setObjectName("label_6")
68
        self.label_7 = QtWidgets.QLabel(self.tab_2)
69
        self.label_7.setGeometry(QtCore.QRect(16, 36, 181, 16))
70
        self.label_7.setObjectName("label_7")
71
        self.label_8 = QtWidgets.QLabel(self.tab_2)
72
        self.label_8.setGeometry(QtCore.QRect(16, 100, 309, 241))
73
        self.label_8.setAlignment(QtCore.Qt.AlignCenter)
74
        self.label_8.setObjectName("label_8")
75
        self.tabWidget.addTab(self.tab_2, "")
76
        self.tab_3 = QtWidgets.QWidget()
77
        self.tab_3.setObjectName("tab_3")
78
        self.label_9 = QtWidgets.QLabel(self.tab_3)
79
        self.label_9.setGeometry(QtCore.QRect(16, 56, 245, 16))
80
        self.label_9.setObjectName("label_9")
81
        self.label_10 = QtWidgets.QLabel(self.tab_3)
82
        self.label_10.setGeometry(QtCore.QRect(16, 36, 257, 16))
83
        self.label_10.setObjectName("label_10")
84
        self.label_11 = QtWidgets.QLabel(self.tab_3)
85
        self.label_11.setGeometry(QtCore.QRect(16, 16, 129, 16))
86
        self.label_11.setObjectName("label_11")
87
        self.label_12 = QtWidgets.QLabel(self.tab_3)
88
        self.label_12.setGeometry(QtCore.QRect(16, 100, 309, 241))
89
        self.label_12.setObjectName("label_12")
90
        self.tabWidget.addTab(self.tab_3, "")
91
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
92

  
93
        self.retranslateUi(Dialog)
94
        self.tabWidget.setCurrentIndex(0)
95
        self.buttonBox.accepted.connect(Dialog.accept)
96
        self.buttonBox.rejected.connect(Dialog.reject)
97
        QtCore.QMetaObject.connectSlotsByName(Dialog)
98

  
99
    def retranslateUi(self, Dialog):
100
        _translate = QtCore.QCoreApplication.translate
101
        Dialog.setWindowTitle(_translate("Dialog", "Geometry Data Help"))
102
        self.groupBox.setTitle(_translate("Dialog", "What is Angle ?"))
103
        self.label.setText(_translate("Dialog", "- Pipe의 경우 - "))
104
        self.label_2.setText(_translate("Dialog", "(1) 수직상향(↑)이면 : 90"))
105
        self.label_3.setText(_translate("Dialog", "(2) 수직하향(↓)이면 : -90"))
106
        self.label_4.setText(_translate("Dialog", "(3) 수평(→)이면       : 0"))
107
        self.label_5.setText(_translate("Dialog", "<html><head/><body><p><img src=\":/images/Geometry_Data_Pipe.png\"/></p></body></html>"))
108
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Dialog", "Pipe"))
109
        self.label_6.setText(_translate("Dialog", "- Bend의 경우 -"))
110
        self.label_7.setText(_translate("Dialog", ": 구부러진 각도 만큼의 θ"))
111
        self.label_8.setText(_translate("Dialog", "<html><head/><body><p><img src=\":/images/Geometry_Data_Bend.png\"/></p></body></html>"))
112
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Dialog", "Bend"))
113
        self.label_9.setText(_translate("Dialog", "(2-Phase에서 기본값 : 90 deg)"))
114
        self.label_10.setText(_translate("Dialog", ": 좁아지는 / 넓어지는 각도만큼의 θ"))
115
        self.label_11.setText(_translate("Dialog", "- Reducer / Expander - "))
116
        self.label_12.setText(_translate("Dialog", "<html><head/><body><p><img src=\":/images/Geometry_Data_RE.png\"/></p></body></html>"))
117
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("Dialog", "Reducer / Expander"))
118
import Resource_rc
HYTOS/HYTOS/GeometryData_MixedDialog.py
1
# -*- coding: utf-8 -*-
2

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

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

  
17

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

  
22
        self.ui = GeometryData_Mixed_UI.Ui_Dialog()
23
        self.ui.setupUi(self)
24
        self.units = {}
25
        self.isAccepted = False
26

  
27
        self.ui.pushButton_Roughness.clicked.connect(self.roughness_clicked_event)
28
        self.ui.comboBox_Nominal_Pipe_Size.currentIndexChanged.connect(self.getInsideDiameter)
29
        self.ui.comboBox_Schedule_No.currentIndexChanged.connect(self.getInsideDiameter)
30

  
31
        self.ui.pushButton_Angle_Help.clicked.connect(self.show_help_dialog)
32
        self.ui.pushButton_d1_d2_Help.clicked.connect(self.show_help_dialog)
33
        self.ui.pushButton_rpd_Help.clicked.connect(self.show_help_dialog)
34
        self.ui.pushButton_K_Help.clicked.connect(self.show_help_dialog)
35

  
36
        self.initialize()
37
        self.init_units()
38
        self.init_nominal_diameter()
39
        self.init_schedule()
40

  
41

  
42

  
43
    def show_dialog(self):
44
        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
45

  
46
        self.exec_()
47

  
48
        return self.isAccepted
49

  
50
    def show_help_dialog(self):
51

  
52
        if self.sender() == self.ui.pushButton_Angle_Help:
53
            type = 'angle'
54
        elif self.sender() == self.ui.pushButton_d1_d2_Help:
55
            type = 'd1_d2'
56
        elif self.sender() == self.ui.pushButton_rpd_Help:
57
            type = 'rpd'
58
        elif self.sender() == self.ui.pushButton_K_Help:
59
            type = 'k'
60

  
61
        from GeometryData_HelpDialog import QGeometryData_HelpDialog
62

  
63
        dialog = QGeometryData_HelpDialog()
64
        dialog.show_dialog()
65

  
66

  
67
    def init_nominal_diameter(self):
68
        from AppDocData import AppDocData
69

  
70
        self.ui.comboBox_Nominal_Pipe_Size.clear()
71

  
72
        nominal_diameter_list = AppDocData.instance().getNominalDiameter()
73
        for nominalDiameter in nominal_diameter_list:
74
            if self.ui.label_Nominal_Pipe_Size_Unit.text() == 'mm':
75
                self.ui.comboBox_Nominal_Pipe_Size.addItem(str(nominalDiameter[1]), nominalDiameter[0])
76
            else:
77
                self.ui.comboBox_Nominal_Pipe_Size.addItem(str(nominalDiameter[2]), nominalDiameter[0])
78
        self.ui.comboBox_Nominal_Pipe_Size.setCurrentIndex(-1)
79

  
80
    def init_schedule(self):
81
        from AppDocData import AppDocData
82

  
83
        self.ui.comboBox_Schedule_No.clear()
84

  
85
        schedule_list = AppDocData.instance().getSchedule()
86
        for schedule in schedule_list:
87
            self.ui.comboBox_Schedule_No.addItem(schedule[1], schedule[0])
88

  
89
        self.ui.comboBox_Schedule_No.setCurrentIndex(-1)
90

  
91
    def roughness_clicked_event(self):
92
        from RoughnessDialog import QRoughnessDialog
93

  
94
        dialog = QRoughnessDialog()
95
        selectedvalue = dialog.show_dialog(self.ui.label_Roughness_Unit.text())
96

  
97
        self.ui.lineEdit_Roughness.setText(str(selectedvalue))
98

  
99
    def getInsideDiameter(self):
100
        from AppDocData import AppDocData
101

  
102
        self.ui.lineEdit_Inside_Pipe_Size.clear()
103

  
104
        nominal_diameter_uid = self.ui.comboBox_Nominal_Pipe_Size.currentData()
105
        schedule_uid = self.ui.comboBox_Schedule_No.currentData()
106

  
107
        if nominal_diameter_uid and schedule_uid:
108
            inside_diameter = AppDocData.instance().getInsideDiameter(nominal_diameter_uid, schedule_uid)
109
            if len(inside_diameter) > 0:
110
                if self.ui.label_Inside_Pipe_Size_Unit.text() == 'mm':
111
                    self.ui.lineEdit_Inside_Pipe_Size.setText(str(inside_diameter[0][1]))
112
                else:
113
                    self.ui.lineEdit_Inside_Pipe_Size.setText(str(inside_diameter[0][2]))
114

  
115
    def init_units(self):
116
        app_doc_data = AppDocData.instance()
117
        active_drawing = app_doc_data.activeDrawing
118

  
119
        for attr in active_drawing.attrs:
120
            if attr[0] == 'Units':
121
                self.units = attr[1]
122

  
123
        self.ui.label_Nominal_Pipe_Size_Unit.setText(self.units['Pipe_Diameter'])
124
        self.ui.label_Inside_Pipe_Size_Unit.setText(self.units['Pipe_Diameter'])
125
        self.ui.label_Roughness_Unit.setText(self.units['Roughness'])
126
        self.ui.label_Lengh_Unit.setText(self.units['Length'])
127

  
128
    def initialize(self):
129
        try:
130
            dev = 1
131
        except Exception as ex:
132
            from App import App
133
            from AppDocData import MessageType
134

  
135
            message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename,
136
                                                           sys.exc_info()[-1].tb_lineno)
137
            App.mainWnd().addMessage.emit(MessageType.Error, message)
138

  
139
    def accept(self):
140

  
141
        self.isAccepted = False
142
        QDialog.accept(self)
143

  
144
    def reject(self):
145
        QDialog.reject(self)
HYTOS/HYTOS/GeometryData_Mixed_UI.py
1
# -*- coding: utf-8 -*-
2

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

  
9

  
10
from PyQt5 import QtCore, QtGui, QtWidgets
11

  
12

  
13
class Ui_Dialog(object):
14
    def setupUi(self, Dialog):
15
        Dialog.setObjectName("Dialog")
16
        Dialog.resize(321, 347)
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        Dialog.setFont(font)
20
        icon = QtGui.QIcon()
21
        icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
22
        Dialog.setWindowIcon(icon)
23
        self.gridLayout = QtWidgets.QGridLayout(Dialog)
24
        self.gridLayout.setObjectName("gridLayout")
25
        self.verticalLayout = QtWidgets.QVBoxLayout()
26
        self.verticalLayout.setObjectName("verticalLayout")
27
        self.horizontalLayout = QtWidgets.QHBoxLayout()
28
        self.horizontalLayout.setObjectName("horizontalLayout")
29
        self.label = QtWidgets.QLabel(Dialog)
30
        self.label.setMinimumSize(QtCore.QSize(80, 0))
31
        self.label.setMaximumSize(QtCore.QSize(80, 16777215))
32
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
33
        self.label.setObjectName("label")
34
        self.horizontalLayout.addWidget(self.label)
35
        self.comboBox_Element = QtWidgets.QComboBox(Dialog)
36
        self.comboBox_Element.setObjectName("comboBox_Element")
37
        self.horizontalLayout.addWidget(self.comboBox_Element)
38
        self.verticalLayout.addLayout(self.horizontalLayout)
39
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
40
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
41
        self.label_2 = QtWidgets.QLabel(Dialog)
42
        self.label_2.setMinimumSize(QtCore.QSize(80, 0))
43
        self.label_2.setMaximumSize(QtCore.QSize(80, 16777215))
44
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
45
        self.label_2.setObjectName("label_2")
46
        self.horizontalLayout_5.addWidget(self.label_2)
47
        self.comboBox_Nominal_Pipe_Size = QtWidgets.QComboBox(Dialog)
48
        self.comboBox_Nominal_Pipe_Size.setMinimumSize(QtCore.QSize(0, 0))
49
        self.comboBox_Nominal_Pipe_Size.setMaximumSize(QtCore.QSize(16777215, 16777215))
50
        self.comboBox_Nominal_Pipe_Size.setObjectName("comboBox_Nominal_Pipe_Size")
51
        self.horizontalLayout_5.addWidget(self.comboBox_Nominal_Pipe_Size)
52
        self.label_Nominal_Pipe_Size_Unit = QtWidgets.QLabel(Dialog)
53
        self.label_Nominal_Pipe_Size_Unit.setMinimumSize(QtCore.QSize(60, 0))
54
        self.label_Nominal_Pipe_Size_Unit.setMaximumSize(QtCore.QSize(60, 16777215))
55
        self.label_Nominal_Pipe_Size_Unit.setObjectName("label_Nominal_Pipe_Size_Unit")
56
        self.horizontalLayout_5.addWidget(self.label_Nominal_Pipe_Size_Unit)
57
        self.verticalLayout.addLayout(self.horizontalLayout_5)
58
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
59
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
60
        self.label_3 = QtWidgets.QLabel(Dialog)
61
        self.label_3.setMinimumSize(QtCore.QSize(80, 0))
62
        self.label_3.setMaximumSize(QtCore.QSize(80, 16777215))
63
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
64
        self.label_3.setObjectName("label_3")
65
        self.horizontalLayout_8.addWidget(self.label_3)
66
        self.comboBox_Schedule_No = QtWidgets.QComboBox(Dialog)
67
        self.comboBox_Schedule_No.setMinimumSize(QtCore.QSize(0, 0))
68
        self.comboBox_Schedule_No.setMaximumSize(QtCore.QSize(16777215, 16777215))
69
        self.comboBox_Schedule_No.setObjectName("comboBox_Schedule_No")
70
        self.horizontalLayout_8.addWidget(self.comboBox_Schedule_No)
71
        self.label_5 = QtWidgets.QLabel(Dialog)
72
        self.label_5.setMinimumSize(QtCore.QSize(60, 0))
73
        self.label_5.setMaximumSize(QtCore.QSize(60, 16777215))
74
        self.label_5.setText("")
75
        self.label_5.setObjectName("label_5")
76
        self.horizontalLayout_8.addWidget(self.label_5)
77
        self.verticalLayout.addLayout(self.horizontalLayout_8)
78
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
79
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
80
        self.label_4 = QtWidgets.QLabel(Dialog)
81
        self.label_4.setMinimumSize(QtCore.QSize(80, 0))
82
        self.label_4.setMaximumSize(QtCore.QSize(80, 16777215))
83
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
84
        self.label_4.setObjectName("label_4")
85
        self.horizontalLayout_9.addWidget(self.label_4)
86
        self.lineEdit_Inside_Pipe_Size = QtWidgets.QLineEdit(Dialog)
87
        self.lineEdit_Inside_Pipe_Size.setMinimumSize(QtCore.QSize(0, 0))
88
        self.lineEdit_Inside_Pipe_Size.setMaximumSize(QtCore.QSize(16777215, 16777215))
89
        self.lineEdit_Inside_Pipe_Size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
90
        self.lineEdit_Inside_Pipe_Size.setObjectName("lineEdit_Inside_Pipe_Size")
91
        self.horizontalLayout_9.addWidget(self.lineEdit_Inside_Pipe_Size)
92
        self.label_Inside_Pipe_Size_Unit = QtWidgets.QLabel(Dialog)
93
        self.label_Inside_Pipe_Size_Unit.setMinimumSize(QtCore.QSize(60, 0))
94
        self.label_Inside_Pipe_Size_Unit.setMaximumSize(QtCore.QSize(60, 16777215))
95
        self.label_Inside_Pipe_Size_Unit.setObjectName("label_Inside_Pipe_Size_Unit")
96
        self.horizontalLayout_9.addWidget(self.label_Inside_Pipe_Size_Unit)
97
        self.verticalLayout.addLayout(self.horizontalLayout_9)
98
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
99
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
100
        self.pushButton_Roughness = QtWidgets.QPushButton(Dialog)
101
        self.pushButton_Roughness.setMinimumSize(QtCore.QSize(80, 0))
102
        self.pushButton_Roughness.setMaximumSize(QtCore.QSize(80, 16777215))
103
        self.pushButton_Roughness.setObjectName("pushButton_Roughness")
104
        self.horizontalLayout_10.addWidget(self.pushButton_Roughness)
105
        self.lineEdit_Roughness = QtWidgets.QLineEdit(Dialog)
106
        self.lineEdit_Roughness.setMinimumSize(QtCore.QSize(0, 0))
107
        self.lineEdit_Roughness.setMaximumSize(QtCore.QSize(16777215, 16777215))
108
        self.lineEdit_Roughness.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
109
        self.lineEdit_Roughness.setObjectName("lineEdit_Roughness")
110
        self.horizontalLayout_10.addWidget(self.lineEdit_Roughness)
111
        self.label_Roughness_Unit = QtWidgets.QLabel(Dialog)
112
        self.label_Roughness_Unit.setMinimumSize(QtCore.QSize(60, 0))
113
        self.label_Roughness_Unit.setMaximumSize(QtCore.QSize(60, 16777215))
114
        self.label_Roughness_Unit.setObjectName("label_Roughness_Unit")
115
        self.horizontalLayout_10.addWidget(self.label_Roughness_Unit)
116
        self.verticalLayout.addLayout(self.horizontalLayout_10)
117
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
118
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
119
        self.label_6 = QtWidgets.QLabel(Dialog)
120
        self.label_6.setMinimumSize(QtCore.QSize(80, 0))
121
        self.label_6.setMaximumSize(QtCore.QSize(80, 16777215))
122
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
123
        self.label_6.setObjectName("label_6")
124
        self.horizontalLayout_7.addWidget(self.label_6)
125
        self.lineEdit_Length = QtWidgets.QLineEdit(Dialog)
126
        self.lineEdit_Length.setMinimumSize(QtCore.QSize(0, 0))
127
        self.lineEdit_Length.setMaximumSize(QtCore.QSize(16777215, 16777215))
128
        self.lineEdit_Length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
129
        self.lineEdit_Length.setObjectName("lineEdit_Length")
130
        self.horizontalLayout_7.addWidget(self.lineEdit_Length)
131
        self.label_Lengh_Unit = QtWidgets.QLabel(Dialog)
132
        self.label_Lengh_Unit.setMinimumSize(QtCore.QSize(60, 0))
133
        self.label_Lengh_Unit.setMaximumSize(QtCore.QSize(60, 16777215))
134
        self.label_Lengh_Unit.setObjectName("label_Lengh_Unit")
135
        self.horizontalLayout_7.addWidget(self.label_Lengh_Unit)
136
        self.verticalLayout.addLayout(self.horizontalLayout_7)
137
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
138
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
139
        self.label_7 = QtWidgets.QLabel(Dialog)
140
        self.label_7.setMinimumSize(QtCore.QSize(80, 0))
141
        self.label_7.setMaximumSize(QtCore.QSize(80, 16777215))
142
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
143
        self.label_7.setObjectName("label_7")
144
        self.horizontalLayout_6.addWidget(self.label_7)
145
        self.lineEdit_Angle = QtWidgets.QLineEdit(Dialog)
146
        self.lineEdit_Angle.setMinimumSize(QtCore.QSize(0, 0))
147
        self.lineEdit_Angle.setMaximumSize(QtCore.QSize(16777215, 16777215))
148
        self.lineEdit_Angle.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
149
        self.lineEdit_Angle.setObjectName("lineEdit_Angle")
150
        self.horizontalLayout_6.addWidget(self.lineEdit_Angle)
151
        self.pushButton_Angle_Help = QtWidgets.QPushButton(Dialog)
152
        self.pushButton_Angle_Help.setMinimumSize(QtCore.QSize(60, 24))
153
        self.pushButton_Angle_Help.setMaximumSize(QtCore.QSize(60, 24))
154
        self.pushButton_Angle_Help.setText("")
155
        icon1 = QtGui.QIcon()
156
        icon1.addPixmap(QtGui.QPixmap(":/images/Question.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
157
        self.pushButton_Angle_Help.setIcon(icon1)
158
        self.pushButton_Angle_Help.setObjectName("pushButton_Angle_Help")
159
        self.horizontalLayout_6.addWidget(self.pushButton_Angle_Help)
160
        self.verticalLayout.addLayout(self.horizontalLayout_6)
161
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
162
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
163
        self.label_8 = QtWidgets.QLabel(Dialog)
164
        self.label_8.setMinimumSize(QtCore.QSize(80, 0))
165
        self.label_8.setMaximumSize(QtCore.QSize(80, 16777215))
166
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
167
        self.label_8.setObjectName("label_8")
168
        self.horizontalLayout_4.addWidget(self.label_8)
169
        self.lineEdit_rpd = QtWidgets.QLineEdit(Dialog)
170
        self.lineEdit_rpd.setMinimumSize(QtCore.QSize(0, 0))
171
        self.lineEdit_rpd.setMaximumSize(QtCore.QSize(16777215, 16777215))
172
        self.lineEdit_rpd.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
173
        self.lineEdit_rpd.setObjectName("lineEdit_rpd")
174
        self.horizontalLayout_4.addWidget(self.lineEdit_rpd)
175
        self.pushButton_rpd_Help = QtWidgets.QPushButton(Dialog)
176
        self.pushButton_rpd_Help.setMinimumSize(QtCore.QSize(60, 24))
177
        self.pushButton_rpd_Help.setMaximumSize(QtCore.QSize(60, 24))
178
        self.pushButton_rpd_Help.setText("")
179
        self.pushButton_rpd_Help.setIcon(icon1)
180
        self.pushButton_rpd_Help.setObjectName("pushButton_rpd_Help")
181
        self.horizontalLayout_4.addWidget(self.pushButton_rpd_Help)
182
        self.verticalLayout.addLayout(self.horizontalLayout_4)
183
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
184
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
185
        self.label_9 = QtWidgets.QLabel(Dialog)
186
        self.label_9.setMinimumSize(QtCore.QSize(80, 0))
187
        self.label_9.setMaximumSize(QtCore.QSize(80, 16777215))
188
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
189
        self.label_9.setObjectName("label_9")
190
        self.horizontalLayout_3.addWidget(self.label_9)
191
        self.lineEdit_d1_d2 = QtWidgets.QLineEdit(Dialog)
192
        self.lineEdit_d1_d2.setMinimumSize(QtCore.QSize(0, 0))
193
        self.lineEdit_d1_d2.setMaximumSize(QtCore.QSize(16777215, 16777215))
194
        self.lineEdit_d1_d2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
195
        self.lineEdit_d1_d2.setObjectName("lineEdit_d1_d2")
196
        self.horizontalLayout_3.addWidget(self.lineEdit_d1_d2)
197
        self.pushButton_d1_d2_Help = QtWidgets.QPushButton(Dialog)
198
        self.pushButton_d1_d2_Help.setMinimumSize(QtCore.QSize(60, 24))
199
        self.pushButton_d1_d2_Help.setMaximumSize(QtCore.QSize(60, 24))
200
        self.pushButton_d1_d2_Help.setText("")
201
        self.pushButton_d1_d2_Help.setIcon(icon1)
202
        self.pushButton_d1_d2_Help.setObjectName("pushButton_d1_d2_Help")
203
        self.horizontalLayout_3.addWidget(self.pushButton_d1_d2_Help)
204
        self.verticalLayout.addLayout(self.horizontalLayout_3)
205
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
206
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
207
        self.label_10 = QtWidgets.QLabel(Dialog)
208
        self.label_10.setMinimumSize(QtCore.QSize(80, 0))
209
        self.label_10.setMaximumSize(QtCore.QSize(80, 16777215))
210
        self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
211
        self.label_10.setObjectName("label_10")
212
        self.horizontalLayout_2.addWidget(self.label_10)
213
        self.lineEdit_k = QtWidgets.QLineEdit(Dialog)
214
        self.lineEdit_k.setMinimumSize(QtCore.QSize(0, 0))
215
        self.lineEdit_k.setMaximumSize(QtCore.QSize(16777215, 16777215))
216
        self.lineEdit_k.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
217
        self.lineEdit_k.setObjectName("lineEdit_k")
218
        self.horizontalLayout_2.addWidget(self.lineEdit_k)
219
        self.pushButton_K_Help = QtWidgets.QPushButton(Dialog)
220
        self.pushButton_K_Help.setMinimumSize(QtCore.QSize(60, 24))
221
        self.pushButton_K_Help.setMaximumSize(QtCore.QSize(60, 24))
222
        self.pushButton_K_Help.setText("")
223
        self.pushButton_K_Help.setIcon(icon1)
224
        self.pushButton_K_Help.setObjectName("pushButton_K_Help")
225
        self.horizontalLayout_2.addWidget(self.pushButton_K_Help)
226
        self.verticalLayout.addLayout(self.horizontalLayout_2)
227
        self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
228
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
229
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
230
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
231
        self.buttonBox.setObjectName("buttonBox")
232
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)
233

  
234
        self.retranslateUi(Dialog)
235
        self.buttonBox.accepted.connect(Dialog.accept)
236
        self.buttonBox.rejected.connect(Dialog.reject)
237
        QtCore.QMetaObject.connectSlotsByName(Dialog)
238

  
239
    def retranslateUi(self, Dialog):
240
        _translate = QtCore.QCoreApplication.translate
241
        Dialog.setWindowTitle(_translate("Dialog", "Geometry Data"))
242
        self.label.setText(_translate("Dialog", "Element :"))
243
        self.label_2.setText(_translate("Dialog", "ND :"))
244
        self.label_Nominal_Pipe_Size_Unit.setText(_translate("Dialog", "-"))
245
        self.label_3.setText(_translate("Dialog", "Sch. :"))
246
        self.label_4.setText(_translate("Dialog", "ID :"))
247
        self.label_Inside_Pipe_Size_Unit.setText(_translate("Dialog", "-"))
248
        self.pushButton_Roughness.setText(_translate("Dialog", "Roughness"))
249
        self.label_Roughness_Unit.setText(_translate("Dialog", "-"))
250
        self.label_6.setText(_translate("Dialog", "Length :"))
251
        self.label_Lengh_Unit.setText(_translate("Dialog", "-"))
252
        self.label_7.setText(_translate("Dialog", "Angle :"))
253
        self.label_8.setText(_translate("Dialog", "r/D :"))
254
        self.label_9.setText(_translate("Dialog", "D1/D2 :"))
255
        self.label_10.setText(_translate("Dialog", "K :"))
256
import Resource_rc
HYTOS/HYTOS/UI/GeometryData_Help.ui
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Dialog</class>
4
 <widget class="QDialog" name="Dialog">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>390</width>
10
    <height>474</height>
11
   </rect>
12
  </property>
13
  <property name="font">
14
   <font>
15
    <family>맑은 고딕</family>
16
   </font>
17
  </property>
18
  <property name="windowTitle">
19
   <string>Geometry Data Help</string>
20
  </property>
21
  <property name="windowIcon">
22
   <iconset resource="../res/Resource.qrc">
23
    <normaloff>:/images/HYTOS.png</normaloff>:/images/HYTOS.png</iconset>
24
  </property>
25
  <widget class="QDialogButtonBox" name="buttonBox">
26
   <property name="geometry">
27
    <rect>
28
     <x>224</x>
29
     <y>440</y>
30
     <width>156</width>
31
     <height>23</height>
32
    </rect>
33
   </property>
34
   <property name="orientation">
35
    <enum>Qt::Horizontal</enum>
36
   </property>
37
   <property name="standardButtons">
38
    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
39
   </property>
40
  </widget>
41
  <widget class="QGroupBox" name="groupBox">
42
   <property name="geometry">
43
    <rect>
44
     <x>12</x>
45
     <y>16</y>
46
     <width>365</width>
47
     <height>413</height>
48
    </rect>
49
   </property>
50
   <property name="font">
51
    <font>
52
     <family>맑은 고딕</family>
53
     <weight>75</weight>
54
     <bold>true</bold>
55
    </font>
56
   </property>
57
   <property name="title">
58
    <string>What is Angle ?</string>
59
   </property>
60
   <layout class="QGridLayout" name="gridLayout">
61
    <item row="0" column="0">
62
     <widget class="QTabWidget" name="tabWidget">
63
      <property name="font">
64
       <font>
65
        <weight>50</weight>
66
        <bold>false</bold>
67
       </font>
68
      </property>
69
      <property name="currentIndex">
70
       <number>0</number>
71
      </property>
72
      <widget class="QWidget" name="tab">
73
       <attribute name="title">
74
        <string>Pipe</string>
75
       </attribute>
76
       <widget class="QLabel" name="label">
77
        <property name="geometry">
78
         <rect>
79
          <x>16</x>
80
          <y>16</y>
81
          <width>129</width>
82
          <height>16</height>
83
         </rect>
84
        </property>
85
        <property name="text">
86
         <string>- Pipe의 경우 - </string>
87
        </property>
88
       </widget>
89
       <widget class="QLabel" name="label_2">
90
        <property name="geometry">
91
         <rect>
92
          <x>16</x>
93
          <y>36</y>
94
          <width>153</width>
95
          <height>16</height>
96
         </rect>
97
        </property>
98
        <property name="text">
99
         <string>(1) 수직상향(↑)이면 : 90</string>
100
        </property>
101
       </widget>
102
       <widget class="QLabel" name="label_3">
103
        <property name="geometry">
104
         <rect>
105
          <x>16</x>
106
          <y>56</y>
107
          <width>153</width>
108
          <height>16</height>
109
         </rect>
110
        </property>
111
        <property name="text">
112
         <string>(2) 수직하향(↓)이면 : -90</string>
113
        </property>
114
       </widget>
115
       <widget class="QLabel" name="label_4">
116
        <property name="geometry">
117
         <rect>
118
          <x>16</x>
119
          <y>76</y>
120
          <width>153</width>
121
          <height>16</height>
122
         </rect>
123
        </property>
124
        <property name="text">
125
         <string>(3) 수평(→)이면       : 0</string>
126
        </property>
127
       </widget>
128
       <widget class="QLabel" name="label_5">
129
        <property name="geometry">
130
         <rect>
131
          <x>16</x>
132
          <y>100</y>
133
          <width>309</width>
134
          <height>241</height>
135
         </rect>
136
        </property>
137
        <property name="text">
138
         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/images/Geometry_Data_Pipe.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
139
        </property>
140
        <property name="alignment">
141
         <set>Qt::AlignCenter</set>
142
        </property>
143
       </widget>
144
      </widget>
145
      <widget class="QWidget" name="tab_2">
146
       <attribute name="title">
147
        <string>Bend</string>
148
       </attribute>
149
       <widget class="QLabel" name="label_6">
150
        <property name="geometry">
151
         <rect>
152
          <x>16</x>
153
          <y>16</y>
154
          <width>121</width>
155
          <height>16</height>
156
         </rect>
157
        </property>
158
        <property name="text">
159
         <string>- Bend의 경우 -</string>
160
        </property>
161
       </widget>
162
       <widget class="QLabel" name="label_7">
163
        <property name="geometry">
164
         <rect>
165
          <x>16</x>
166
          <y>36</y>
167
          <width>181</width>
168
          <height>16</height>
169
         </rect>
170
        </property>
171
        <property name="text">
172
         <string>: 구부러진 각도 만큼의 θ</string>
173
        </property>
174
       </widget>
175
       <widget class="QLabel" name="label_8">
176
        <property name="geometry">
177
         <rect>
178
          <x>16</x>
179
          <y>100</y>
180
          <width>309</width>
181
          <height>241</height>
182
         </rect>
183
        </property>
184
        <property name="text">
185
         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/images/Geometry_Data_Bend.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
186
        </property>
187
        <property name="alignment">
188
         <set>Qt::AlignCenter</set>
189
        </property>
190
       </widget>
191
      </widget>
192
      <widget class="QWidget" name="tab_3">
193
       <attribute name="title">
194
        <string>Reducer / Expander</string>
195
       </attribute>
196
       <widget class="QLabel" name="label_9">
197
        <property name="geometry">
198
         <rect>
199
          <x>16</x>
200
          <y>56</y>
201
          <width>245</width>
202
          <height>16</height>
203
         </rect>
204
        </property>
205
        <property name="text">
206
         <string>(2-Phase에서 기본값 : 90 deg)</string>
207
        </property>
208
       </widget>
209
       <widget class="QLabel" name="label_10">
210
        <property name="geometry">
211
         <rect>
212
          <x>16</x>
213
          <y>36</y>
214
          <width>257</width>
215
          <height>16</height>
216
         </rect>
217
        </property>
218
        <property name="text">
219
         <string>: 좁아지는 / 넓어지는 각도만큼의 θ</string>
220
        </property>
221
       </widget>
222
       <widget class="QLabel" name="label_11">
223
        <property name="geometry">
224
         <rect>
225
          <x>16</x>
226
          <y>16</y>
227
          <width>129</width>
228
          <height>16</height>
229
         </rect>
230
        </property>
231
        <property name="text">
232
         <string>- Reducer / Expander - </string>
233
        </property>
234
       </widget>
235
       <widget class="QLabel" name="label_12">
236
        <property name="geometry">
237
         <rect>
238
          <x>16</x>
239
          <y>100</y>
240
          <width>309</width>
241
          <height>241</height>
242
         </rect>
243
        </property>
244
        <property name="text">
245
         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/images/Geometry_Data_RE.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
246
        </property>
247
       </widget>
248
      </widget>
249
     </widget>
250
    </item>
251
   </layout>
252
  </widget>
253
 </widget>
254
 <resources>
255
  <include location="../res/Resource.qrc"/>
256
 </resources>
257
 <connections>
258
  <connection>
259
   <sender>buttonBox</sender>
260
   <signal>accepted()</signal>
261
   <receiver>Dialog</receiver>
262
   <slot>accept()</slot>
263
   <hints>
264
    <hint type="sourcelabel">
265
     <x>248</x>
266
     <y>254</y>
267
    </hint>
268
    <hint type="destinationlabel">
269
     <x>157</x>
270
     <y>274</y>
271
    </hint>
272
   </hints>
273
  </connection>
274
  <connection>
275
   <sender>buttonBox</sender>
276
   <signal>rejected()</signal>
277
   <receiver>Dialog</receiver>
278
   <slot>reject()</slot>
279
   <hints>
280
    <hint type="sourcelabel">
281
     <x>316</x>
282
     <y>260</y>
283
    </hint>
284
    <hint type="destinationlabel">
285
     <x>286</x>
286
     <y>274</y>
287
    </hint>
288
   </hints>
289
  </connection>
290
 </connections>
291
</ui>
HYTOS/HYTOS/UI/GeometryData_Mixed.ui
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Dialog</class>
4
 <widget class="QDialog" name="Dialog">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>321</width>
10
    <height>347</height>
11
   </rect>
12
  </property>
13
  <property name="font">
14
   <font>
15
    <family>맑은 고딕</family>
16
   </font>
17
  </property>
18
  <property name="windowTitle">
19
   <string>Geometry Data</string>
20
  </property>
21
  <property name="windowIcon">
22
   <iconset resource="../res/Resource.qrc">
23
    <normaloff>:/images/HYTOS.png</normaloff>:/images/HYTOS.png</iconset>
24
  </property>
25
  <layout class="QGridLayout" name="gridLayout">
26
   <item row="0" column="0">
27
    <layout class="QVBoxLayout" name="verticalLayout">
28
     <item>
29
      <layout class="QHBoxLayout" name="horizontalLayout">
30
       <item>
31
        <widget class="QLabel" name="label">
32
         <property name="minimumSize">
33
          <size>
34
           <width>80</width>
35
           <height>0</height>
36
          </size>
37
         </property>
38
         <property name="maximumSize">
39
          <size>
40
           <width>80</width>
41
           <height>16777215</height>
42
          </size>
43
         </property>
44
         <property name="text">
45
          <string>Element :</string>
46
         </property>
47
         <property name="alignment">
48
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
49
         </property>
50
        </widget>
51
       </item>
52
       <item>
53
        <widget class="QComboBox" name="comboBox_Element"/>
54
       </item>
55
      </layout>
56
     </item>
57
     <item>
58
      <layout class="QHBoxLayout" name="horizontalLayout_5">
59
       <item>
60
        <widget class="QLabel" name="label_2">
61
         <property name="minimumSize">
62
          <size>
63
           <width>80</width>
64
           <height>0</height>
65
          </size>
66
         </property>
67
         <property name="maximumSize">
68
          <size>
69
           <width>80</width>
70
           <height>16777215</height>
71
          </size>
72
         </property>
73
         <property name="text">
74
          <string>ND :</string>
75
         </property>
76
         <property name="alignment">
77
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
78
         </property>
79
        </widget>
80
       </item>
81
       <item>
82
        <widget class="QComboBox" name="comboBox_Nominal_Pipe_Size">
83
         <property name="minimumSize">
84
          <size>
85
           <width>0</width>
86
           <height>0</height>
87
          </size>
88
         </property>
89
         <property name="maximumSize">
90
          <size>
91
           <width>16777215</width>
92
           <height>16777215</height>
93
          </size>
94
         </property>
95
        </widget>
96
       </item>
97
       <item>
98
        <widget class="QLabel" name="label_Nominal_Pipe_Size_Unit">
99
         <property name="minimumSize">
100
          <size>
101
           <width>60</width>
102
           <height>0</height>
103
          </size>
104
         </property>
105
         <property name="maximumSize">
106
          <size>
107
           <width>60</width>
108
           <height>16777215</height>
109
          </size>
110
         </property>
111
         <property name="text">
112
          <string>-</string>
113
         </property>
114
        </widget>
115
       </item>
116
      </layout>
117
     </item>
118
     <item>
119
      <layout class="QHBoxLayout" name="horizontalLayout_8">
120
       <item>
121
        <widget class="QLabel" name="label_3">
122
         <property name="minimumSize">
123
          <size>
124
           <width>80</width>
125
           <height>0</height>
126
          </size>
127
         </property>
128
         <property name="maximumSize">
129
          <size>
130
           <width>80</width>
131
           <height>16777215</height>
132
          </size>
133
         </property>
134
         <property name="text">
135
          <string>Sch. :</string>
136
         </property>
137
         <property name="alignment">
138
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
139
         </property>
140
        </widget>
141
       </item>
142
       <item>
143
        <widget class="QComboBox" name="comboBox_Schedule_No">
144
         <property name="minimumSize">
145
          <size>
146
           <width>0</width>
147
           <height>0</height>
148
          </size>
149
         </property>
150
         <property name="maximumSize">
151
          <size>
152
           <width>16777215</width>
153
           <height>16777215</height>
154
          </size>
155
         </property>
156
        </widget>
157
       </item>
158
       <item>
159
        <widget class="QLabel" name="label_5">
160
         <property name="minimumSize">
161
          <size>
162
           <width>60</width>
163
           <height>0</height>
164
          </size>
165
         </property>
166
         <property name="maximumSize">
167
          <size>
168
           <width>60</width>
169
           <height>16777215</height>
170
          </size>
171
         </property>
172
         <property name="text">
173
          <string/>
174
         </property>
175
        </widget>
176
       </item>
177
      </layout>
178
     </item>
179
     <item>
180
      <layout class="QHBoxLayout" name="horizontalLayout_9">
181
       <item>
182
        <widget class="QLabel" name="label_4">
183
         <property name="minimumSize">
184
          <size>
185
           <width>80</width>
186
           <height>0</height>
187
          </size>
188
         </property>
189
         <property name="maximumSize">
190
          <size>
191
           <width>80</width>
192
           <height>16777215</height>
193
          </size>
194
         </property>
195
         <property name="text">
196
          <string>ID :</string>
197
         </property>
198
         <property name="alignment">
199
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
200
         </property>
201
        </widget>
202
       </item>
203
       <item>
204
        <widget class="QLineEdit" name="lineEdit_Inside_Pipe_Size">
205
         <property name="minimumSize">
206
          <size>
207
           <width>0</width>
208
           <height>0</height>
209
          </size>
210
         </property>
211
         <property name="maximumSize">
212
          <size>
213
           <width>16777215</width>
214
           <height>16777215</height>
215
          </size>
216
         </property>
217
         <property name="alignment">
218
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
219
         </property>
220
        </widget>
221
       </item>
222
       <item>
223
        <widget class="QLabel" name="label_Inside_Pipe_Size_Unit">
224
         <property name="minimumSize">
225
          <size>
226
           <width>60</width>
227
           <height>0</height>
228
          </size>
229
         </property>
230
         <property name="maximumSize">
231
          <size>
232
           <width>60</width>
233
           <height>16777215</height>
234
          </size>
235
         </property>
236
         <property name="text">
237
          <string>-</string>
238
         </property>
239
        </widget>
240
       </item>
241
      </layout>
242
     </item>
243
     <item>
244
      <layout class="QHBoxLayout" name="horizontalLayout_10">
245
       <item>
246
        <widget class="QPushButton" name="pushButton_Roughness">
247
         <property name="minimumSize">
248
          <size>
249
           <width>80</width>
250
           <height>0</height>
251
          </size>
252
         </property>
253
         <property name="maximumSize">
254
          <size>
255
           <width>80</width>
256
           <height>16777215</height>
257
          </size>
258
         </property>
259
         <property name="text">
260
          <string>Roughness</string>
261
         </property>
262
        </widget>
263
       </item>
264
       <item>
265
        <widget class="QLineEdit" name="lineEdit_Roughness">
266
         <property name="minimumSize">
267
          <size>
268
           <width>0</width>
269
           <height>0</height>
270
          </size>
271
         </property>
272
         <property name="maximumSize">
273
          <size>
274
           <width>16777215</width>
275
           <height>16777215</height>
276
          </size>
277
         </property>
278
         <property name="alignment">
279
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
280
         </property>
281
        </widget>
282
       </item>
283
       <item>
284
        <widget class="QLabel" name="label_Roughness_Unit">
285
         <property name="minimumSize">
286
          <size>
287
           <width>60</width>
288
           <height>0</height>
289
          </size>
290
         </property>
291
         <property name="maximumSize">
292
          <size>
293
           <width>60</width>
294
           <height>16777215</height>
295
          </size>
296
         </property>
297
         <property name="text">
298
          <string>-</string>
299
         </property>
300
        </widget>
301
       </item>
302
      </layout>
303
     </item>
304
     <item>
305
      <layout class="QHBoxLayout" name="horizontalLayout_7">
306
       <item>
307
        <widget class="QLabel" name="label_6">
308
         <property name="minimumSize">
309
          <size>
310
           <width>80</width>
311
           <height>0</height>
312
          </size>
313
         </property>
314
         <property name="maximumSize">
315
          <size>
316
           <width>80</width>
317
           <height>16777215</height>
318
          </size>
319
         </property>
320
         <property name="text">
321
          <string>Length :</string>
322
         </property>
323
         <property name="alignment">
324
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
325
         </property>
326
        </widget>
327
       </item>
328
       <item>
329
        <widget class="QLineEdit" name="lineEdit_Length">
330
         <property name="minimumSize">
331
          <size>
332
           <width>0</width>
333
           <height>0</height>
334
          </size>
335
         </property>
336
         <property name="maximumSize">
337
          <size>
338
           <width>16777215</width>
339
           <height>16777215</height>
340
          </size>
341
         </property>
342
         <property name="alignment">
343
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
344
         </property>
345
        </widget>
346
       </item>
347
       <item>
348
        <widget class="QLabel" name="label_Lengh_Unit">
349
         <property name="minimumSize">
350
          <size>
351
           <width>60</width>
352
           <height>0</height>
353
          </size>
354
         </property>
355
         <property name="maximumSize">
356
          <size>
357
           <width>60</width>
358
           <height>16777215</height>
359
          </size>
360
         </property>
361
         <property name="text">
362
          <string>-</string>
363
         </property>
364
        </widget>
365
       </item>
366
      </layout>
367
     </item>
368
     <item>
369
      <layout class="QHBoxLayout" name="horizontalLayout_6">
370
       <item>
371
        <widget class="QLabel" name="label_7">
372
         <property name="minimumSize">
373
          <size>
374
           <width>80</width>
375
           <height>0</height>
376
          </size>
377
         </property>
378
         <property name="maximumSize">
379
          <size>
380
           <width>80</width>
381
           <height>16777215</height>
382
          </size>
383
         </property>
384
         <property name="text">
385
          <string>Angle :</string>
386
         </property>
387
         <property name="alignment">
388
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
389
         </property>
390
        </widget>
391
       </item>
392
       <item>
393
        <widget class="QLineEdit" name="lineEdit_Angle">
394
         <property name="minimumSize">
395
          <size>
396
           <width>0</width>
397
           <height>0</height>
398
          </size>
399
         </property>
400
         <property name="maximumSize">
401
          <size>
402
           <width>16777215</width>
403
           <height>16777215</height>
404
          </size>
405
         </property>
406
         <property name="alignment">
407
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
408
         </property>
409
        </widget>
410
       </item>
411
       <item>
412
        <widget class="QPushButton" name="pushButton_Angle_Help">
413
         <property name="minimumSize">
414
          <size>
415
           <width>60</width>
416
           <height>24</height>
417
          </size>
418
         </property>
419
         <property name="maximumSize">
420
          <size>
421
           <width>60</width>
422
           <height>24</height>
423
          </size>
424
         </property>
425
         <property name="text">
426
          <string/>
427
         </property>
428
         <property name="icon">
429
          <iconset resource="../res/Resource.qrc">
430
           <normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset>
431
         </property>
432
        </widget>
433
       </item>
434
      </layout>
435
     </item>
436
     <item>
437
      <layout class="QHBoxLayout" name="horizontalLayout_4">
438
       <item>
439
        <widget class="QLabel" name="label_8">
440
         <property name="minimumSize">
441
          <size>
442
           <width>80</width>
443
           <height>0</height>
444
          </size>
445
         </property>
446
         <property name="maximumSize">
447
          <size>
448
           <width>80</width>
449
           <height>16777215</height>
450
          </size>
451
         </property>
452
         <property name="text">
453
          <string>r/D :</string>
454
         </property>
455
         <property name="alignment">
456
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
457
         </property>
458
        </widget>
459
       </item>
460
       <item>
461
        <widget class="QLineEdit" name="lineEdit_rpd">
462
         <property name="minimumSize">
463
          <size>
464
           <width>0</width>
465
           <height>0</height>
466
          </size>
467
         </property>
468
         <property name="maximumSize">
469
          <size>
470
           <width>16777215</width>
471
           <height>16777215</height>
472
          </size>
473
         </property>
474
         <property name="alignment">
475
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
476
         </property>
477
        </widget>
478
       </item>
479
       <item>
480
        <widget class="QPushButton" name="pushButton_rpd_Help">
481
         <property name="minimumSize">
482
          <size>
483
           <width>60</width>
484
           <height>24</height>
485
          </size>
486
         </property>
487
         <property name="maximumSize">
488
          <size>
489
           <width>60</width>
490
           <height>24</height>
491
          </size>
492
         </property>
493
         <property name="text">
494
          <string/>
495
         </property>
496
         <property name="icon">
497
          <iconset resource="../res/Resource.qrc">
498
           <normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset>
499
         </property>
500
        </widget>
501
       </item>
502
      </layout>
503
     </item>
504
     <item>
505
      <layout class="QHBoxLayout" name="horizontalLayout_3">
506
       <item>
507
        <widget class="QLabel" name="label_9">
508
         <property name="minimumSize">
509
          <size>
510
           <width>80</width>
511
           <height>0</height>
512
          </size>
513
         </property>
514
         <property name="maximumSize">
515
          <size>
516
           <width>80</width>
517
           <height>16777215</height>
518
          </size>
519
         </property>
520
         <property name="text">
521
          <string>D1/D2 :</string>
522
         </property>
523
         <property name="alignment">
524
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
525
         </property>
526
        </widget>
527
       </item>
528
       <item>
529
        <widget class="QLineEdit" name="lineEdit_d1_d2">
530
         <property name="minimumSize">
531
          <size>
532
           <width>0</width>
533
           <height>0</height>
534
          </size>
535
         </property>
536
         <property name="maximumSize">
537
          <size>
538
           <width>16777215</width>
539
           <height>16777215</height>
540
          </size>
541
         </property>
542
         <property name="alignment">
543
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
544
         </property>
545
        </widget>
546
       </item>
547
       <item>
548
        <widget class="QPushButton" name="pushButton_d1_d2_Help">
549
         <property name="minimumSize">
550
          <size>
551
           <width>60</width>
552
           <height>24</height>
553
          </size>
554
         </property>
555
         <property name="maximumSize">
556
          <size>
557
           <width>60</width>
558
           <height>24</height>
559
          </size>
560
         </property>
561
         <property name="text">
562
          <string/>
563
         </property>
564
         <property name="icon">
565
          <iconset resource="../res/Resource.qrc">
566
           <normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset>
567
         </property>
568
        </widget>
569
       </item>
570
      </layout>
571
     </item>
572
     <item>
573
      <layout class="QHBoxLayout" name="horizontalLayout_2">
574
       <item>
575
        <widget class="QLabel" name="label_10">
576
         <property name="minimumSize">
577
          <size>
578
           <width>80</width>
579
           <height>0</height>
580
          </size>
581
         </property>
582
         <property name="maximumSize">
583
          <size>
584
           <width>80</width>
585
           <height>16777215</height>
586
          </size>
587
         </property>
588
         <property name="text">
589
          <string>K :</string>
590
         </property>
591
         <property name="alignment">
592
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
593
         </property>
594
        </widget>
595
       </item>
596
       <item>
597
        <widget class="QLineEdit" name="lineEdit_k">
598
         <property name="minimumSize">
599
          <size>
600
           <width>0</width>
601
           <height>0</height>
602
          </size>
603
         </property>
604
         <property name="maximumSize">
605
          <size>
606
           <width>16777215</width>
607
           <height>16777215</height>
608
          </size>
609
         </property>
610
         <property name="alignment">
611
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
612
         </property>
613
        </widget>
614
       </item>
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

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