개정판 8c027560
issue #1047: add angle combobox for geometry data for mixed type
Change-Id: I3425660e76d2799de3f1c32de56c85172cfa1e7e
HYTOS/HYTOS/GeometryData_MixedDialog.py | ||
---|---|---|
47 | 47 |
|
48 | 48 |
|
49 | 49 |
class QGeometryData_MixedDialog(QDialog): |
50 |
def __init__(self): |
|
51 |
QDialog.__init__(self) |
|
50 |
def __init__(self, parent):
|
|
51 |
QDialog.__init__(self, parent)
|
|
52 | 52 |
|
53 | 53 |
self.ui = GeometryData_Mixed_UI.Ui_Dialog() |
54 | 54 |
self.ui.setupUi(self) |
... | ... | |
64 | 64 |
self.ui.lineEdit_k.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_k)) |
65 | 65 |
|
66 | 66 |
self.ui.pushButton_Roughness.clicked.connect(self.roughness_clicked_event) |
67 |
self.ui.pushButton_Angle.clicked.connect(self.angle_clicked_event) |
|
68 | 67 |
self.ui.comboBox_Nominal_Pipe_Size.currentIndexChanged.connect(self.getInsideDiameter) |
69 | 68 |
self.ui.comboBox_Schedule_No.currentIndexChanged.connect(self.getInsideDiameter) |
70 | 69 |
|
70 |
# setup angle combobox |
|
71 |
model = QtGui.QStandardItemModel() |
|
72 |
items = [("Hosrizontal", '0'), ("Vertical Up", '90'), ("Vertical Down", '-90')] |
|
73 |
for label, value in items: |
|
74 |
label_item = QtGui.QStandardItem(label) |
|
75 |
value_item = QtGui.QStandardItem(value) |
|
76 |
model.appendRow([label_item, value_item]) |
|
77 |
|
|
78 |
view = QTreeView(self) |
|
79 |
view.header().hide() |
|
80 |
view.setRootIsDecorated(False) |
|
81 |
|
|
82 |
self.ui.comboBoxAngle.setModel(model) |
|
83 |
self.ui.comboBoxAngle.setView(view) |
|
84 |
# up to here |
|
85 |
|
|
86 |
self.ui.comboBoxAngle.currentIndexChanged.connect(self.on_current_index_changed) |
|
71 | 87 |
self.ui.pushButton_Angle_Help.clicked.connect(self.show_help_dialog) |
72 | 88 |
self.ui.pushButton_d1_d2_Help.clicked.connect(self.show_help_dialog) |
73 | 89 |
self.ui.pushButton_rpd_Help.clicked.connect(self.show_help_dialog) |
... | ... | |
253 | 269 |
|
254 | 270 |
self.ui.comboBox_Element.setCurrentIndex(-1) |
255 | 271 |
|
272 |
def on_current_index_changed(self, index): |
|
273 |
"""angle combobox's index is changed""" |
|
274 |
|
|
275 |
angle = self.ui.comboBoxAngle.model().item(index, 1).text() |
|
276 |
self.ui.lineEdit_Angle.setText(angle) |
|
277 |
|
|
256 | 278 |
def show_help_dialog(self): |
257 | 279 |
|
258 | 280 |
if self.sender() == self.ui.pushButton_Angle_Help: |
... | ... | |
295 | 317 |
|
296 | 318 |
self.ui.comboBox_Schedule_No.setCurrentIndex(-1) |
297 | 319 |
|
298 |
def angle_clicked_event(self): |
|
299 |
from GeometryData_AngleDialog import QGeometryData_AngleDialog |
|
300 |
|
|
301 |
element = self.ui.comboBox_Element.currentText() |
|
302 |
if is_blank(element): |
|
303 |
return |
|
304 |
|
|
305 |
dialog = QGeometryData_AngleDialog() |
|
306 |
angle = dialog.show_dialog(element) |
|
307 |
if angle is not None: |
|
308 |
self.ui.lineEdit_Angle.setText(str(angle)) |
|
309 |
|
|
310 | 320 |
def roughness_clicked_event(self): |
311 | 321 |
from RoughnessDialog import QRoughnessDialog |
312 | 322 |
|
HYTOS/HYTOS/GeometryData_Mixed_UI.py | ||
---|---|---|
13 | 13 |
class Ui_Dialog(object): |
14 | 14 |
def setupUi(self, Dialog): |
15 | 15 |
Dialog.setObjectName("Dialog") |
16 |
Dialog.resize(338, 354)
|
|
16 |
Dialog.resize(521, 354)
|
|
17 | 17 |
font = QtGui.QFont() |
18 | 18 |
font.setFamily("맑은 고딕") |
19 | 19 |
Dialog.setFont(font) |
... | ... | |
22 | 22 |
Dialog.setWindowIcon(icon) |
23 | 23 |
self.gridLayout = QtWidgets.QGridLayout(Dialog) |
24 | 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(129, 0)) |
|
31 |
self.label.setMaximumSize(QtCore.QSize(129, 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.setEditable(False) |
|
37 |
self.comboBox_Element.setObjectName("comboBox_Element") |
|
38 |
self.horizontalLayout.addWidget(self.comboBox_Element) |
|
39 |
self.label_11 = QtWidgets.QLabel(Dialog) |
|
40 |
self.label_11.setMinimumSize(QtCore.QSize(60, 0)) |
|
41 |
self.label_11.setMaximumSize(QtCore.QSize(60, 16777215)) |
|
42 |
self.label_11.setText("") |
|
43 |
self.label_11.setObjectName("label_11") |
|
44 |
self.horizontalLayout.addWidget(self.label_11) |
|
45 |
self.verticalLayout.addLayout(self.horizontalLayout) |
|
46 |
self.horizontalLayout_5 = QtWidgets.QHBoxLayout() |
|
47 |
self.horizontalLayout_5.setObjectName("horizontalLayout_5") |
|
25 |
self.gridLayout_2 = QtWidgets.QGridLayout() |
|
26 |
self.gridLayout_2.setObjectName("gridLayout_2") |
|
27 |
self.label_3 = QtWidgets.QLabel(Dialog) |
|
28 |
self.label_3.setMinimumSize(QtCore.QSize(129, 0)) |
|
29 |
self.label_3.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
30 |
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
31 |
self.label_3.setObjectName("label_3") |
|
32 |
self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1) |
|
48 | 33 |
self.label_2 = QtWidgets.QLabel(Dialog) |
49 | 34 |
self.label_2.setMinimumSize(QtCore.QSize(129, 0)) |
50 | 35 |
self.label_2.setMaximumSize(QtCore.QSize(129, 16777215)) |
51 | 36 |
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
52 | 37 |
self.label_2.setObjectName("label_2") |
53 |
self.horizontalLayout_5.addWidget(self.label_2) |
|
54 |
self.comboBox_Nominal_Pipe_Size = QtWidgets.QComboBox(Dialog) |
|
55 |
self.comboBox_Nominal_Pipe_Size.setMinimumSize(QtCore.QSize(0, 0)) |
|
56 |
self.comboBox_Nominal_Pipe_Size.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
57 |
self.comboBox_Nominal_Pipe_Size.setObjectName("comboBox_Nominal_Pipe_Size") |
|
58 |
self.horizontalLayout_5.addWidget(self.comboBox_Nominal_Pipe_Size) |
|
38 |
self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1) |
|
59 | 39 |
self.label_Nominal_Pipe_Size_Unit = QtWidgets.QLabel(Dialog) |
60 | 40 |
self.label_Nominal_Pipe_Size_Unit.setMinimumSize(QtCore.QSize(60, 0)) |
61 | 41 |
self.label_Nominal_Pipe_Size_Unit.setMaximumSize(QtCore.QSize(60, 16777215)) |
62 | 42 |
self.label_Nominal_Pipe_Size_Unit.setObjectName("label_Nominal_Pipe_Size_Unit") |
63 |
self.horizontalLayout_5.addWidget(self.label_Nominal_Pipe_Size_Unit) |
|
64 |
self.verticalLayout.addLayout(self.horizontalLayout_5) |
|
65 |
self.horizontalLayout_8 = QtWidgets.QHBoxLayout() |
|
66 |
self.horizontalLayout_8.setObjectName("horizontalLayout_8") |
|
67 |
self.label_3 = QtWidgets.QLabel(Dialog) |
|
68 |
self.label_3.setMinimumSize(QtCore.QSize(129, 0)) |
|
69 |
self.label_3.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
70 |
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
71 |
self.label_3.setObjectName("label_3") |
|
72 |
self.horizontalLayout_8.addWidget(self.label_3) |
|
43 |
self.gridLayout_2.addWidget(self.label_Nominal_Pipe_Size_Unit, 1, 2, 1, 1) |
|
44 |
self.comboBox_Element = QtWidgets.QComboBox(Dialog) |
|
45 |
self.comboBox_Element.setEditable(False) |
|
46 |
self.comboBox_Element.setObjectName("comboBox_Element") |
|
47 |
self.gridLayout_2.addWidget(self.comboBox_Element, 0, 1, 1, 1) |
|
73 | 48 |
self.comboBox_Schedule_No = QtWidgets.QComboBox(Dialog) |
74 | 49 |
self.comboBox_Schedule_No.setMinimumSize(QtCore.QSize(0, 0)) |
75 | 50 |
self.comboBox_Schedule_No.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
76 | 51 |
self.comboBox_Schedule_No.setObjectName("comboBox_Schedule_No") |
77 |
self.horizontalLayout_8.addWidget(self.comboBox_Schedule_No) |
|
78 |
self.label_5 = QtWidgets.QLabel(Dialog) |
|
79 |
self.label_5.setMinimumSize(QtCore.QSize(60, 0)) |
|
80 |
self.label_5.setMaximumSize(QtCore.QSize(60, 16777215)) |
|
81 |
self.label_5.setText("") |
|
82 |
self.label_5.setObjectName("label_5") |
|
83 |
self.horizontalLayout_8.addWidget(self.label_5) |
|
84 |
self.verticalLayout.addLayout(self.horizontalLayout_8) |
|
85 |
self.horizontalLayout_9 = QtWidgets.QHBoxLayout() |
|
86 |
self.horizontalLayout_9.setObjectName("horizontalLayout_9") |
|
87 |
self.label_4 = QtWidgets.QLabel(Dialog) |
|
88 |
self.label_4.setMinimumSize(QtCore.QSize(129, 0)) |
|
89 |
self.label_4.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
90 |
self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
91 |
self.label_4.setObjectName("label_4") |
|
92 |
self.horizontalLayout_9.addWidget(self.label_4) |
|
93 |
self.lineEdit_Inside_Pipe_Size = QtWidgets.QLineEdit(Dialog) |
|
94 |
self.lineEdit_Inside_Pipe_Size.setMinimumSize(QtCore.QSize(0, 0)) |
|
95 |
self.lineEdit_Inside_Pipe_Size.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
96 |
self.lineEdit_Inside_Pipe_Size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
97 |
self.lineEdit_Inside_Pipe_Size.setReadOnly(True) |
|
98 |
self.lineEdit_Inside_Pipe_Size.setObjectName("lineEdit_Inside_Pipe_Size") |
|
99 |
self.horizontalLayout_9.addWidget(self.lineEdit_Inside_Pipe_Size) |
|
100 |
self.label_Inside_Pipe_Size_Unit = QtWidgets.QLabel(Dialog) |
|
101 |
self.label_Inside_Pipe_Size_Unit.setMinimumSize(QtCore.QSize(60, 0)) |
|
102 |
self.label_Inside_Pipe_Size_Unit.setMaximumSize(QtCore.QSize(60, 16777215)) |
|
103 |
self.label_Inside_Pipe_Size_Unit.setObjectName("label_Inside_Pipe_Size_Unit") |
|
104 |
self.horizontalLayout_9.addWidget(self.label_Inside_Pipe_Size_Unit) |
|
105 |
self.verticalLayout.addLayout(self.horizontalLayout_9) |
|
106 |
self.horizontalLayout_10 = QtWidgets.QHBoxLayout() |
|
107 |
self.horizontalLayout_10.setObjectName("horizontalLayout_10") |
|
108 |
spacerItem = QtWidgets.QSpacerItem(54, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
109 |
self.horizontalLayout_10.addItem(spacerItem) |
|
52 |
self.gridLayout_2.addWidget(self.comboBox_Schedule_No, 2, 1, 1, 1) |
|
53 |
self.label_8 = QtWidgets.QLabel(Dialog) |
|
54 |
self.label_8.setMinimumSize(QtCore.QSize(129, 0)) |
|
55 |
self.label_8.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
56 |
self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
57 |
self.label_8.setObjectName("label_8") |
|
58 |
self.gridLayout_2.addWidget(self.label_8, 7, 0, 1, 1) |
|
59 |
self.comboBox_Nominal_Pipe_Size = QtWidgets.QComboBox(Dialog) |
|
60 |
self.comboBox_Nominal_Pipe_Size.setMinimumSize(QtCore.QSize(0, 0)) |
|
61 |
self.comboBox_Nominal_Pipe_Size.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
62 |
self.comboBox_Nominal_Pipe_Size.setObjectName("comboBox_Nominal_Pipe_Size") |
|
63 |
self.gridLayout_2.addWidget(self.comboBox_Nominal_Pipe_Size, 1, 1, 1, 1) |
|
64 |
self.pushButton_rpd_Help = QtWidgets.QPushButton(Dialog) |
|
65 |
self.pushButton_rpd_Help.setMinimumSize(QtCore.QSize(60, 24)) |
|
66 |
self.pushButton_rpd_Help.setMaximumSize(QtCore.QSize(60, 24)) |
|
67 |
self.pushButton_rpd_Help.setText("") |
|
68 |
icon1 = QtGui.QIcon() |
|
69 |
icon1.addPixmap(QtGui.QPixmap(":/images/Question.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
70 |
self.pushButton_rpd_Help.setIcon(icon1) |
|
71 |
self.pushButton_rpd_Help.setObjectName("pushButton_rpd_Help") |
|
72 |
self.gridLayout_2.addWidget(self.pushButton_rpd_Help, 7, 2, 1, 1) |
|
73 |
self.lineEdit_rpd = QtWidgets.QLineEdit(Dialog) |
|
74 |
self.lineEdit_rpd.setMinimumSize(QtCore.QSize(0, 0)) |
|
75 |
self.lineEdit_rpd.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
76 |
self.lineEdit_rpd.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
77 |
self.lineEdit_rpd.setObjectName("lineEdit_rpd") |
|
78 |
self.gridLayout_2.addWidget(self.lineEdit_rpd, 7, 1, 1, 1) |
|
110 | 79 |
self.pushButton_Roughness = QtWidgets.QPushButton(Dialog) |
111 | 80 |
self.pushButton_Roughness.setMinimumSize(QtCore.QSize(75, 0)) |
112 |
self.pushButton_Roughness.setMaximumSize(QtCore.QSize(75, 16777215))
|
|
81 |
self.pushButton_Roughness.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
|
113 | 82 |
self.pushButton_Roughness.setObjectName("pushButton_Roughness") |
114 |
self.horizontalLayout_10.addWidget(self.pushButton_Roughness) |
|
83 |
self.gridLayout_2.addWidget(self.pushButton_Roughness, 4, 0, 1, 1) |
|
84 |
self.label_6 = QtWidgets.QLabel(Dialog) |
|
85 |
self.label_6.setMinimumSize(QtCore.QSize(129, 0)) |
|
86 |
self.label_6.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
87 |
self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
88 |
self.label_6.setObjectName("label_6") |
|
89 |
self.gridLayout_2.addWidget(self.label_6, 5, 0, 1, 1) |
|
115 | 90 |
self.lineEdit_Roughness = QtWidgets.QLineEdit(Dialog) |
116 | 91 |
self.lineEdit_Roughness.setMinimumSize(QtCore.QSize(0, 0)) |
117 | 92 |
self.lineEdit_Roughness.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
118 | 93 |
self.lineEdit_Roughness.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
119 | 94 |
self.lineEdit_Roughness.setReadOnly(True) |
120 | 95 |
self.lineEdit_Roughness.setObjectName("lineEdit_Roughness") |
121 |
self.horizontalLayout_10.addWidget(self.lineEdit_Roughness) |
|
122 |
self.label_Roughness_Unit = QtWidgets.QLabel(Dialog) |
|
123 |
self.label_Roughness_Unit.setMinimumSize(QtCore.QSize(60, 0)) |
|
124 |
self.label_Roughness_Unit.setMaximumSize(QtCore.QSize(60, 16777215)) |
|
125 |
self.label_Roughness_Unit.setObjectName("label_Roughness_Unit") |
|
126 |
self.horizontalLayout_10.addWidget(self.label_Roughness_Unit) |
|
127 |
self.verticalLayout.addLayout(self.horizontalLayout_10) |
|
128 |
self.horizontalLayout_7 = QtWidgets.QHBoxLayout() |
|
129 |
self.horizontalLayout_7.setObjectName("horizontalLayout_7") |
|
130 |
self.label_6 = QtWidgets.QLabel(Dialog) |
|
131 |
self.label_6.setMinimumSize(QtCore.QSize(129, 0)) |
|
132 |
self.label_6.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
133 |
self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
134 |
self.label_6.setObjectName("label_6") |
|
135 |
self.horizontalLayout_7.addWidget(self.label_6) |
|
96 |
self.gridLayout_2.addWidget(self.lineEdit_Roughness, 4, 1, 1, 1) |
|
136 | 97 |
self.lineEdit_Length = QtWidgets.QLineEdit(Dialog) |
137 | 98 |
self.lineEdit_Length.setMinimumSize(QtCore.QSize(0, 0)) |
138 | 99 |
self.lineEdit_Length.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
139 | 100 |
self.lineEdit_Length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
140 | 101 |
self.lineEdit_Length.setObjectName("lineEdit_Length") |
141 |
self.horizontalLayout_7.addWidget(self.lineEdit_Length) |
|
102 |
self.gridLayout_2.addWidget(self.lineEdit_Length, 5, 1, 1, 1) |
|
103 |
self.label_Roughness_Unit = QtWidgets.QLabel(Dialog) |
|
104 |
self.label_Roughness_Unit.setMinimumSize(QtCore.QSize(60, 0)) |
|
105 |
self.label_Roughness_Unit.setMaximumSize(QtCore.QSize(60, 16777215)) |
|
106 |
self.label_Roughness_Unit.setObjectName("label_Roughness_Unit") |
|
107 |
self.gridLayout_2.addWidget(self.label_Roughness_Unit, 4, 2, 1, 1) |
|
142 | 108 |
self.label_Lengh_Unit = QtWidgets.QLabel(Dialog) |
143 | 109 |
self.label_Lengh_Unit.setMinimumSize(QtCore.QSize(60, 0)) |
144 | 110 |
self.label_Lengh_Unit.setMaximumSize(QtCore.QSize(60, 16777215)) |
145 | 111 |
self.label_Lengh_Unit.setObjectName("label_Lengh_Unit") |
146 |
self.horizontalLayout_7.addWidget(self.label_Lengh_Unit) |
|
147 |
self.verticalLayout.addLayout(self.horizontalLayout_7) |
|
148 |
self.horizontalLayout_6 = QtWidgets.QHBoxLayout() |
|
149 |
self.horizontalLayout_6.setObjectName("horizontalLayout_6") |
|
150 |
spacerItem1 = QtWidgets.QSpacerItem(54, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
151 |
self.horizontalLayout_6.addItem(spacerItem1) |
|
152 |
self.pushButton_Angle = QtWidgets.QPushButton(Dialog) |
|
153 |
self.pushButton_Angle.setMinimumSize(QtCore.QSize(75, 0)) |
|
154 |
self.pushButton_Angle.setMaximumSize(QtCore.QSize(75, 16777215)) |
|
155 |
self.pushButton_Angle.setObjectName("pushButton_Angle") |
|
156 |
self.horizontalLayout_6.addWidget(self.pushButton_Angle) |
|
112 |
self.gridLayout_2.addWidget(self.label_Lengh_Unit, 5, 2, 1, 1) |
|
113 |
self.comboBoxAngle = QtWidgets.QComboBox(Dialog) |
|
114 |
self.comboBoxAngle.setObjectName("comboBoxAngle") |
|
115 |
self.gridLayout_2.addWidget(self.comboBoxAngle, 6, 0, 1, 1) |
|
157 | 116 |
self.lineEdit_Angle = QtWidgets.QLineEdit(Dialog) |
158 | 117 |
self.lineEdit_Angle.setMinimumSize(QtCore.QSize(0, 0)) |
159 | 118 |
self.lineEdit_Angle.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
160 | 119 |
self.lineEdit_Angle.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
161 | 120 |
self.lineEdit_Angle.setObjectName("lineEdit_Angle") |
162 |
self.horizontalLayout_6.addWidget(self.lineEdit_Angle)
|
|
121 |
self.gridLayout_2.addWidget(self.lineEdit_Angle, 6, 1, 1, 1)
|
|
163 | 122 |
self.pushButton_Angle_Help = QtWidgets.QPushButton(Dialog) |
164 | 123 |
self.pushButton_Angle_Help.setMinimumSize(QtCore.QSize(60, 24)) |
165 | 124 |
self.pushButton_Angle_Help.setMaximumSize(QtCore.QSize(60, 24)) |
166 | 125 |
self.pushButton_Angle_Help.setText("") |
167 |
icon1 = QtGui.QIcon() |
|
168 |
icon1.addPixmap(QtGui.QPixmap(":/images/Question.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
169 | 126 |
self.pushButton_Angle_Help.setIcon(icon1) |
170 | 127 |
self.pushButton_Angle_Help.setObjectName("pushButton_Angle_Help") |
171 |
self.horizontalLayout_6.addWidget(self.pushButton_Angle_Help) |
|
172 |
self.verticalLayout.addLayout(self.horizontalLayout_6) |
|
173 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
|
174 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
|
175 |
self.label_8 = QtWidgets.QLabel(Dialog) |
|
176 |
self.label_8.setMinimumSize(QtCore.QSize(129, 0)) |
|
177 |
self.label_8.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
178 |
self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
179 |
self.label_8.setObjectName("label_8") |
|
180 |
self.horizontalLayout_4.addWidget(self.label_8) |
|
181 |
self.lineEdit_rpd = QtWidgets.QLineEdit(Dialog) |
|
182 |
self.lineEdit_rpd.setMinimumSize(QtCore.QSize(0, 0)) |
|
183 |
self.lineEdit_rpd.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
184 |
self.lineEdit_rpd.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
185 |
self.lineEdit_rpd.setObjectName("lineEdit_rpd") |
|
186 |
self.horizontalLayout_4.addWidget(self.lineEdit_rpd) |
|
187 |
self.pushButton_rpd_Help = QtWidgets.QPushButton(Dialog) |
|
188 |
self.pushButton_rpd_Help.setMinimumSize(QtCore.QSize(60, 24)) |
|
189 |
self.pushButton_rpd_Help.setMaximumSize(QtCore.QSize(60, 24)) |
|
190 |
self.pushButton_rpd_Help.setText("") |
|
191 |
self.pushButton_rpd_Help.setIcon(icon1) |
|
192 |
self.pushButton_rpd_Help.setObjectName("pushButton_rpd_Help") |
|
193 |
self.horizontalLayout_4.addWidget(self.pushButton_rpd_Help) |
|
194 |
self.verticalLayout.addLayout(self.horizontalLayout_4) |
|
195 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
196 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
128 |
self.gridLayout_2.addWidget(self.pushButton_Angle_Help, 6, 2, 1, 1) |
|
129 |
self.pushButton_d1_d2_Help = QtWidgets.QPushButton(Dialog) |
|
130 |
self.pushButton_d1_d2_Help.setMinimumSize(QtCore.QSize(60, 24)) |
|
131 |
self.pushButton_d1_d2_Help.setMaximumSize(QtCore.QSize(60, 24)) |
|
132 |
self.pushButton_d1_d2_Help.setText("") |
|
133 |
self.pushButton_d1_d2_Help.setIcon(icon1) |
|
134 |
self.pushButton_d1_d2_Help.setObjectName("pushButton_d1_d2_Help") |
|
135 |
self.gridLayout_2.addWidget(self.pushButton_d1_d2_Help, 8, 2, 1, 1) |
|
197 | 136 |
self.label_9 = QtWidgets.QLabel(Dialog) |
198 | 137 |
self.label_9.setMinimumSize(QtCore.QSize(129, 0)) |
199 | 138 |
self.label_9.setMaximumSize(QtCore.QSize(129, 16777215)) |
200 | 139 |
self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
201 | 140 |
self.label_9.setObjectName("label_9") |
202 |
self.horizontalLayout_3.addWidget(self.label_9)
|
|
141 |
self.gridLayout_2.addWidget(self.label_9, 8, 0, 1, 1)
|
|
203 | 142 |
self.lineEdit_d1_d2 = QtWidgets.QLineEdit(Dialog) |
204 | 143 |
self.lineEdit_d1_d2.setMinimumSize(QtCore.QSize(0, 0)) |
205 | 144 |
self.lineEdit_d1_d2.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
206 | 145 |
self.lineEdit_d1_d2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
207 | 146 |
self.lineEdit_d1_d2.setObjectName("lineEdit_d1_d2") |
208 |
self.horizontalLayout_3.addWidget(self.lineEdit_d1_d2) |
|
209 |
self.pushButton_d1_d2_Help = QtWidgets.QPushButton(Dialog) |
|
210 |
self.pushButton_d1_d2_Help.setMinimumSize(QtCore.QSize(60, 24)) |
|
211 |
self.pushButton_d1_d2_Help.setMaximumSize(QtCore.QSize(60, 24)) |
|
212 |
self.pushButton_d1_d2_Help.setText("") |
|
213 |
self.pushButton_d1_d2_Help.setIcon(icon1) |
|
214 |
self.pushButton_d1_d2_Help.setObjectName("pushButton_d1_d2_Help") |
|
215 |
self.horizontalLayout_3.addWidget(self.pushButton_d1_d2_Help) |
|
216 |
self.verticalLayout.addLayout(self.horizontalLayout_3) |
|
217 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
218 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
147 |
self.gridLayout_2.addWidget(self.lineEdit_d1_d2, 8, 1, 1, 1) |
|
148 |
self.label_Inside_Pipe_Size_Unit = QtWidgets.QLabel(Dialog) |
|
149 |
self.label_Inside_Pipe_Size_Unit.setMinimumSize(QtCore.QSize(60, 0)) |
|
150 |
self.label_Inside_Pipe_Size_Unit.setMaximumSize(QtCore.QSize(60, 16777215)) |
|
151 |
self.label_Inside_Pipe_Size_Unit.setObjectName("label_Inside_Pipe_Size_Unit") |
|
152 |
self.gridLayout_2.addWidget(self.label_Inside_Pipe_Size_Unit, 3, 2, 1, 1) |
|
153 |
self.label_4 = QtWidgets.QLabel(Dialog) |
|
154 |
self.label_4.setMinimumSize(QtCore.QSize(129, 0)) |
|
155 |
self.label_4.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
156 |
self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
157 |
self.label_4.setObjectName("label_4") |
|
158 |
self.gridLayout_2.addWidget(self.label_4, 3, 0, 1, 1) |
|
159 |
self.label = QtWidgets.QLabel(Dialog) |
|
160 |
self.label.setMinimumSize(QtCore.QSize(129, 0)) |
|
161 |
self.label.setMaximumSize(QtCore.QSize(129, 16777215)) |
|
162 |
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
163 |
self.label.setObjectName("label") |
|
164 |
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
|
165 |
self.lineEdit_Inside_Pipe_Size = QtWidgets.QLineEdit(Dialog) |
|
166 |
self.lineEdit_Inside_Pipe_Size.setMinimumSize(QtCore.QSize(0, 0)) |
|
167 |
self.lineEdit_Inside_Pipe_Size.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
168 |
self.lineEdit_Inside_Pipe_Size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
|
169 |
self.lineEdit_Inside_Pipe_Size.setReadOnly(True) |
|
170 |
self.lineEdit_Inside_Pipe_Size.setObjectName("lineEdit_Inside_Pipe_Size") |
|
171 |
self.gridLayout_2.addWidget(self.lineEdit_Inside_Pipe_Size, 3, 1, 1, 1) |
|
219 | 172 |
self.label_10 = QtWidgets.QLabel(Dialog) |
220 | 173 |
self.label_10.setMinimumSize(QtCore.QSize(129, 0)) |
221 | 174 |
self.label_10.setMaximumSize(QtCore.QSize(129, 16777215)) |
222 | 175 |
self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
223 | 176 |
self.label_10.setObjectName("label_10") |
224 |
self.horizontalLayout_2.addWidget(self.label_10)
|
|
177 |
self.gridLayout_2.addWidget(self.label_10, 9, 0, 1, 1)
|
|
225 | 178 |
self.lineEdit_k = QtWidgets.QLineEdit(Dialog) |
226 | 179 |
self.lineEdit_k.setMinimumSize(QtCore.QSize(0, 0)) |
227 | 180 |
self.lineEdit_k.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
228 | 181 |
self.lineEdit_k.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) |
229 | 182 |
self.lineEdit_k.setObjectName("lineEdit_k") |
230 |
self.horizontalLayout_2.addWidget(self.lineEdit_k)
|
|
183 |
self.gridLayout_2.addWidget(self.lineEdit_k, 9, 1, 1, 1)
|
|
231 | 184 |
self.pushButton_K_Help = QtWidgets.QPushButton(Dialog) |
232 | 185 |
self.pushButton_K_Help.setMinimumSize(QtCore.QSize(60, 24)) |
233 | 186 |
self.pushButton_K_Help.setMaximumSize(QtCore.QSize(60, 24)) |
234 | 187 |
self.pushButton_K_Help.setText("") |
235 | 188 |
self.pushButton_K_Help.setIcon(icon1) |
236 | 189 |
self.pushButton_K_Help.setObjectName("pushButton_K_Help") |
237 |
self.horizontalLayout_2.addWidget(self.pushButton_K_Help) |
|
238 |
self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
239 |
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) |
|
190 |
self.gridLayout_2.addWidget(self.pushButton_K_Help, 9, 2, 1, 1) |
|
191 |
self.gridLayout.addLayout(self.gridLayout_2, 0, 0, 1, 1) |
|
240 | 192 |
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) |
241 | 193 |
self.buttonBox.setLayoutDirection(QtCore.Qt.LeftToRight) |
242 | 194 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
243 | 195 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
244 | 196 |
self.buttonBox.setObjectName("buttonBox") |
245 | 197 |
self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1) |
246 |
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
247 |
self.gridLayout.addItem(spacerItem2, 1, 0, 1, 1) |
|
248 | 198 |
|
249 | 199 |
self.retranslateUi(Dialog) |
250 | 200 |
self.buttonBox.accepted.connect(Dialog.accept) |
251 | 201 |
self.buttonBox.rejected.connect(Dialog.reject) |
252 | 202 |
QtCore.QMetaObject.connectSlotsByName(Dialog) |
203 |
Dialog.setTabOrder(self.comboBox_Element, self.comboBox_Nominal_Pipe_Size) |
|
204 |
Dialog.setTabOrder(self.comboBox_Nominal_Pipe_Size, self.comboBox_Schedule_No) |
|
205 |
Dialog.setTabOrder(self.comboBox_Schedule_No, self.lineEdit_Inside_Pipe_Size) |
|
206 |
Dialog.setTabOrder(self.lineEdit_Inside_Pipe_Size, self.pushButton_Roughness) |
|
207 |
Dialog.setTabOrder(self.pushButton_Roughness, self.lineEdit_Roughness) |
|
208 |
Dialog.setTabOrder(self.lineEdit_Roughness, self.lineEdit_Length) |
|
209 |
Dialog.setTabOrder(self.lineEdit_Length, self.comboBoxAngle) |
|
210 |
Dialog.setTabOrder(self.comboBoxAngle, self.lineEdit_Angle) |
|
211 |
Dialog.setTabOrder(self.lineEdit_Angle, self.pushButton_Angle_Help) |
|
212 |
Dialog.setTabOrder(self.pushButton_Angle_Help, self.lineEdit_rpd) |
|
213 |
Dialog.setTabOrder(self.lineEdit_rpd, self.pushButton_rpd_Help) |
|
214 |
Dialog.setTabOrder(self.pushButton_rpd_Help, self.lineEdit_d1_d2) |
|
215 |
Dialog.setTabOrder(self.lineEdit_d1_d2, self.pushButton_d1_d2_Help) |
|
216 |
Dialog.setTabOrder(self.pushButton_d1_d2_Help, self.lineEdit_k) |
|
217 |
Dialog.setTabOrder(self.lineEdit_k, self.pushButton_K_Help) |
|
253 | 218 |
|
254 | 219 |
def retranslateUi(self, Dialog): |
255 | 220 |
_translate = QtCore.QCoreApplication.translate |
256 | 221 |
Dialog.setWindowTitle(_translate("Dialog", "Geometry Data")) |
257 |
self.label.setText(_translate("Dialog", "Element :"))
|
|
222 |
self.label_3.setText(_translate("Dialog", "Schedule No. :"))
|
|
258 | 223 |
self.label_2.setText(_translate("Dialog", "Nominal Diameter :")) |
259 | 224 |
self.label_Nominal_Pipe_Size_Unit.setText(_translate("Dialog", "-")) |
260 |
self.label_3.setText(_translate("Dialog", "Schedule No. :")) |
|
261 |
self.label_4.setText(_translate("Dialog", "Inside Diameter :")) |
|
262 |
self.label_Inside_Pipe_Size_Unit.setText(_translate("Dialog", "-")) |
|
225 |
self.label_8.setText(_translate("Dialog", "r/D :")) |
|
263 | 226 |
self.pushButton_Roughness.setText(_translate("Dialog", "Roughness")) |
264 |
self.label_Roughness_Unit.setText(_translate("Dialog", "-")) |
|
265 | 227 |
self.label_6.setText(_translate("Dialog", "Length :")) |
228 |
self.label_Roughness_Unit.setText(_translate("Dialog", "-")) |
|
266 | 229 |
self.label_Lengh_Unit.setText(_translate("Dialog", "-")) |
267 |
self.pushButton_Angle.setText(_translate("Dialog", "Angle")) |
|
268 |
self.label_8.setText(_translate("Dialog", "r/D :")) |
|
269 | 230 |
self.label_9.setText(_translate("Dialog", "D1/D2 :")) |
231 |
self.label_Inside_Pipe_Size_Unit.setText(_translate("Dialog", "-")) |
|
232 |
self.label_4.setText(_translate("Dialog", "Inside Diameter :")) |
|
233 |
self.label.setText(_translate("Dialog", "Element :")) |
|
270 | 234 |
self.label_10.setText(_translate("Dialog", "K :")) |
271 | 235 |
import Resource_rc |
HYTOS/HYTOS/StreamDataDialog.py | ||
---|---|---|
239 | 239 |
data = self.get_data(row) |
240 | 240 |
|
241 | 241 |
row_count = self.ui.tableWidget_GeometryData_Mixed.rowCount() - 1 |
242 |
dialog = QGeometryData_MixedDialog() |
|
242 |
dialog = QGeometryData_MixedDialog(self)
|
|
243 | 243 |
( |
244 | 244 |
isAccepted, element, nominal_pipe_size, schedule_no, inside_pipe_size, roughness, length, angle, |
245 | 245 |
rpd, |
... | ... | |
599 | 599 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
600 | 600 |
|
601 | 601 |
def show_geometry_data_dialog(self): |
602 |
"""pop up geometry data dialog""" |
|
602 | 603 |
from GeometryData_MixedDialog import QGeometryData_MixedDialog |
603 | 604 |
|
604 | 605 |
try: |
... | ... | |
606 | 607 |
|
607 | 608 |
data = self.get_data(row_count - 1) if row_count > 0 else None |
608 | 609 |
|
609 |
dialog = QGeometryData_MixedDialog() |
|
610 |
dialog = QGeometryData_MixedDialog(self)
|
|
610 | 611 |
( |
611 | 612 |
isAccepted, element, nominal_pipe_size, schedule_no, inside_pipe_size, roughness, length, angle, rpd, |
612 | 613 |
d1_d2, |
HYTOS/HYTOS/UI/GeometryData_Mixed.ui | ||
---|---|---|
6 | 6 |
<rect> |
7 | 7 |
<x>0</x> |
8 | 8 |
<y>0</y> |
9 |
<width>338</width>
|
|
9 |
<width>521</width>
|
|
10 | 10 |
<height>354</height> |
11 | 11 |
</rect> |
12 | 12 |
</property> |
... | ... | |
24 | 24 |
</property> |
25 | 25 |
<layout class="QGridLayout" name="gridLayout"> |
26 | 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>129</width> |
|
35 |
<height>0</height> |
|
36 |
</size> |
|
37 |
</property> |
|
38 |
<property name="maximumSize"> |
|
39 |
<size> |
|
40 |
<width>129</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 |
<property name="editable"> |
|
55 |
<bool>false</bool> |
|
56 |
</property> |
|
57 |
</widget> |
|
58 |
</item> |
|
59 |
<item> |
|
60 |
<widget class="QLabel" name="label_11"> |
|
61 |
<property name="minimumSize"> |
|
62 |
<size> |
|
63 |
<width>60</width> |
|
64 |
<height>0</height> |
|
65 |
</size> |
|
66 |
</property> |
|
67 |
<property name="maximumSize"> |
|
68 |
<size> |
|
69 |
<width>60</width> |
|
70 |
<height>16777215</height> |
|
71 |
</size> |
|
72 |
</property> |
|
73 |
<property name="text"> |
|
74 |
<string/> |
|
75 |
</property> |
|
76 |
</widget> |
|
77 |
</item> |
|
78 |
</layout> |
|
27 |
<layout class="QGridLayout" name="gridLayout_2"> |
|
28 |
<item row="2" column="0"> |
|
29 |
<widget class="QLabel" name="label_3"> |
|
30 |
<property name="minimumSize"> |
|
31 |
<size> |
|
32 |
<width>129</width> |
|
33 |
<height>0</height> |
|
34 |
</size> |
|
35 |
</property> |
|
36 |
<property name="maximumSize"> |
|
37 |
<size> |
|
38 |
<width>129</width> |
|
39 |
<height>16777215</height> |
|
40 |
</size> |
|
41 |
</property> |
|
42 |
<property name="text"> |
|
43 |
<string>Schedule No. :</string> |
|
44 |
</property> |
|
45 |
<property name="alignment"> |
|
46 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
47 |
</property> |
|
48 |
</widget> |
|
79 | 49 |
</item> |
80 |
<item> |
|
81 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
82 |
<item> |
|
83 |
<widget class="QLabel" name="label_2"> |
|
84 |
<property name="minimumSize"> |
|
85 |
<size> |
|
86 |
<width>129</width> |
|
87 |
<height>0</height> |
|
88 |
</size> |
|
89 |
</property> |
|
90 |
<property name="maximumSize"> |
|
91 |
<size> |
|
92 |
<width>129</width> |
|
93 |
<height>16777215</height> |
|
94 |
</size> |
|
95 |
</property> |
|
96 |
<property name="text"> |
|
97 |
<string>Nominal Diameter :</string> |
|
98 |
</property> |
|
99 |
<property name="alignment"> |
|
100 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
101 |
</property> |
|
102 |
</widget> |
|
103 |
</item> |
|
104 |
<item> |
|
105 |
<widget class="QComboBox" name="comboBox_Nominal_Pipe_Size"> |
|
106 |
<property name="minimumSize"> |
|
107 |
<size> |
|
108 |
<width>0</width> |
|
109 |
<height>0</height> |
|
110 |
</size> |
|
111 |
</property> |
|
112 |
<property name="maximumSize"> |
|
113 |
<size> |
|
114 |
<width>16777215</width> |
|
115 |
<height>16777215</height> |
|
116 |
</size> |
|
117 |
</property> |
|
118 |
</widget> |
|
119 |
</item> |
|
120 |
<item> |
|
121 |
<widget class="QLabel" name="label_Nominal_Pipe_Size_Unit"> |
|
122 |
<property name="minimumSize"> |
|
123 |
<size> |
|
124 |
<width>60</width> |
|
125 |
<height>0</height> |
|
126 |
</size> |
|
127 |
</property> |
|
128 |
<property name="maximumSize"> |
|
129 |
<size> |
|
130 |
<width>60</width> |
|
131 |
<height>16777215</height> |
|
132 |
</size> |
|
133 |
</property> |
|
134 |
<property name="text"> |
|
135 |
<string>-</string> |
|
136 |
</property> |
|
137 |
</widget> |
|
138 |
</item> |
|
139 |
</layout> |
|
50 |
<item row="1" column="0"> |
|
51 |
<widget class="QLabel" name="label_2"> |
|
52 |
<property name="minimumSize"> |
|
53 |
<size> |
|
54 |
<width>129</width> |
|
55 |
<height>0</height> |
|
56 |
</size> |
|
57 |
</property> |
|
58 |
<property name="maximumSize"> |
|
59 |
<size> |
|
60 |
<width>129</width> |
|
61 |
<height>16777215</height> |
|
62 |
</size> |
|
63 |
</property> |
|
64 |
<property name="text"> |
|
65 |
<string>Nominal Diameter :</string> |
|
66 |
</property> |
|
67 |
<property name="alignment"> |
|
68 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
69 |
</property> |
|
70 |
</widget> |
|
140 | 71 |
</item> |
141 |
<item> |
|
142 |
<layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
143 |
<item> |
|
144 |
<widget class="QLabel" name="label_3"> |
|
145 |
<property name="minimumSize"> |
|
146 |
<size> |
|
147 |
<width>129</width> |
|
148 |
<height>0</height> |
|
149 |
</size> |
|
150 |
</property> |
|
151 |
<property name="maximumSize"> |
|
152 |
<size> |
|
153 |
<width>129</width> |
|
154 |
<height>16777215</height> |
|
155 |
</size> |
|
156 |
</property> |
|
157 |
<property name="text"> |
|
158 |
<string>Schedule No. :</string> |
|
159 |
</property> |
|
160 |
<property name="alignment"> |
|
161 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
162 |
</property> |
|
163 |
</widget> |
|
164 |
</item> |
|
165 |
<item> |
|
166 |
<widget class="QComboBox" name="comboBox_Schedule_No"> |
|
167 |
<property name="minimumSize"> |
|
168 |
<size> |
|
169 |
<width>0</width> |
|
170 |
<height>0</height> |
|
171 |
</size> |
|
172 |
</property> |
|
173 |
<property name="maximumSize"> |
|
174 |
<size> |
|
175 |
<width>16777215</width> |
|
176 |
<height>16777215</height> |
|
177 |
</size> |
|
178 |
</property> |
|
179 |
</widget> |
|
180 |
</item> |
|
181 |
<item> |
|
182 |
<widget class="QLabel" name="label_5"> |
|
183 |
<property name="minimumSize"> |
|
184 |
<size> |
|
185 |
<width>60</width> |
|
186 |
<height>0</height> |
|
187 |
</size> |
|
188 |
</property> |
|
189 |
<property name="maximumSize"> |
|
190 |
<size> |
|
191 |
<width>60</width> |
|
192 |
<height>16777215</height> |
|
193 |
</size> |
|
194 |
</property> |
|
195 |
<property name="text"> |
|
196 |
<string/> |
|
197 |
</property> |
|
198 |
</widget> |
|
199 |
</item> |
|
200 |
</layout> |
|
72 |
<item row="1" column="2"> |
|
73 |
<widget class="QLabel" name="label_Nominal_Pipe_Size_Unit"> |
|
74 |
<property name="minimumSize"> |
|
75 |
<size> |
|
76 |
<width>60</width> |
|
77 |
<height>0</height> |
|
78 |
</size> |
|
79 |
</property> |
|
80 |
<property name="maximumSize"> |
|
81 |
<size> |
|
82 |
<width>60</width> |
|
83 |
<height>16777215</height> |
|
84 |
</size> |
|
85 |
</property> |
|
86 |
<property name="text"> |
|
87 |
<string>-</string> |
|
88 |
</property> |
|
89 |
</widget> |
|
201 | 90 |
</item> |
202 |
<item> |
|
203 |
<layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
204 |
<item> |
|
205 |
<widget class="QLabel" name="label_4"> |
|
206 |
<property name="minimumSize"> |
|
207 |
<size> |
|
208 |
<width>129</width> |
|
209 |
<height>0</height> |
|
210 |
</size> |
|
211 |
</property> |
|
212 |
<property name="maximumSize"> |
|
213 |
<size> |
|
214 |
<width>129</width> |
|
215 |
<height>16777215</height> |
|
216 |
</size> |
|
217 |
</property> |
|
218 |
<property name="text"> |
|
219 |
<string>Inside Diameter :</string> |
|
220 |
</property> |
|
221 |
<property name="alignment"> |
|
222 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
223 |
</property> |
|
224 |
</widget> |
|
225 |
</item> |
|
226 |
<item> |
|
227 |
<widget class="QLineEdit" name="lineEdit_Inside_Pipe_Size"> |
|
228 |
<property name="minimumSize"> |
|
229 |
<size> |
|
230 |
<width>0</width> |
|
231 |
<height>0</height> |
|
232 |
</size> |
|
233 |
</property> |
|
234 |
<property name="maximumSize"> |
|
235 |
<size> |
|
236 |
<width>16777215</width> |
|
237 |
<height>16777215</height> |
|
238 |
</size> |
|
239 |
</property> |
|
240 |
<property name="alignment"> |
|
241 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
242 |
</property> |
|
243 |
<property name="readOnly"> |
|
244 |
<bool>true</bool> |
|
245 |
</property> |
|
246 |
</widget> |
|
247 |
</item> |
|
248 |
<item> |
|
249 |
<widget class="QLabel" name="label_Inside_Pipe_Size_Unit"> |
|
250 |
<property name="minimumSize"> |
|
251 |
<size> |
|
252 |
<width>60</width> |
|
253 |
<height>0</height> |
|
254 |
</size> |
|
255 |
</property> |
|
256 |
<property name="maximumSize"> |
|
257 |
<size> |
|
258 |
<width>60</width> |
|
259 |
<height>16777215</height> |
|
260 |
</size> |
|
261 |
</property> |
|
262 |
<property name="text"> |
|
263 |
<string>-</string> |
|
264 |
</property> |
|
265 |
</widget> |
|
266 |
</item> |
|
267 |
</layout> |
|
91 |
<item row="0" column="1"> |
|
92 |
<widget class="QComboBox" name="comboBox_Element"> |
|
93 |
<property name="editable"> |
|
94 |
<bool>false</bool> |
|
95 |
</property> |
|
96 |
</widget> |
|
268 | 97 |
</item> |
269 |
<item> |
|
270 |
<layout class="QHBoxLayout" name="horizontalLayout_10"> |
|
271 |
<item> |
|
272 |
<spacer name="horizontalSpacer"> |
|
273 |
<property name="orientation"> |
|
274 |
<enum>Qt::Horizontal</enum> |
|
275 |
</property> |
|
276 |
<property name="sizeType"> |
|
277 |
<enum>QSizePolicy::Fixed</enum> |
|
278 |
</property> |
|
279 |
<property name="sizeHint" stdset="0"> |
|
280 |
<size> |
|
281 |
<width>54</width> |
|
282 |
<height>20</height> |
|
283 |
</size> |
|
284 |
</property> |
|
285 |
</spacer> |
|
286 |
</item> |
|
287 |
<item> |
|
288 |
<widget class="QPushButton" name="pushButton_Roughness"> |
|
289 |
<property name="minimumSize"> |
|
290 |
<size> |
|
291 |
<width>75</width> |
|
292 |
<height>0</height> |
|
293 |
</size> |
|
294 |
</property> |
|
295 |
<property name="maximumSize"> |
|
296 |
<size> |
|
297 |
<width>75</width> |
|
298 |
<height>16777215</height> |
|
299 |
</size> |
|
300 |
</property> |
|
301 |
<property name="text"> |
|
302 |
<string>Roughness</string> |
|
303 |
</property> |
|
304 |
</widget> |
|
305 |
</item> |
|
306 |
<item> |
|
307 |
<widget class="QLineEdit" name="lineEdit_Roughness"> |
|
308 |
<property name="minimumSize"> |
|
309 |
<size> |
|
310 |
<width>0</width> |
|
311 |
<height>0</height> |
|
312 |
</size> |
|
313 |
</property> |
|
314 |
<property name="maximumSize"> |
|
315 |
<size> |
|
316 |
<width>16777215</width> |
|
317 |
<height>16777215</height> |
|
318 |
</size> |
|
319 |
</property> |
|
320 |
<property name="alignment"> |
|
321 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
322 |
</property> |
|
323 |
<property name="readOnly"> |
|
324 |
<bool>true</bool> |
|
325 |
</property> |
|
326 |
</widget> |
|
327 |
</item> |
|
328 |
<item> |
|
329 |
<widget class="QLabel" name="label_Roughness_Unit"> |
|
330 |
<property name="minimumSize"> |
|
331 |
<size> |
|
332 |
<width>60</width> |
|
333 |
<height>0</height> |
|
334 |
</size> |
|
335 |
</property> |
|
336 |
<property name="maximumSize"> |
|
337 |
<size> |
|
338 |
<width>60</width> |
|
339 |
<height>16777215</height> |
|
340 |
</size> |
|
341 |
</property> |
|
342 |
<property name="text"> |
|
343 |
<string>-</string> |
|
344 |
</property> |
|
345 |
</widget> |
|
346 |
</item> |
|
347 |
</layout> |
|
98 |
<item row="2" column="1"> |
|
99 |
<widget class="QComboBox" name="comboBox_Schedule_No"> |
|
100 |
<property name="minimumSize"> |
|
101 |
<size> |
|
102 |
<width>0</width> |
|
103 |
<height>0</height> |
|
104 |
</size> |
|
105 |
</property> |
|
106 |
<property name="maximumSize"> |
|
107 |
<size> |
|
108 |
<width>16777215</width> |
|
109 |
<height>16777215</height> |
|
110 |
</size> |
|
111 |
</property> |
|
112 |
</widget> |
|
348 | 113 |
</item> |
349 |
<item> |
|
350 |
<layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
351 |
<item> |
|
352 |
<widget class="QLabel" name="label_6"> |
|
353 |
<property name="minimumSize"> |
|
354 |
<size> |
|
355 |
<width>129</width> |
|
356 |
<height>0</height> |
|
357 |
</size> |
|
358 |
</property> |
|
359 |
<property name="maximumSize"> |
|
360 |
<size> |
|
361 |
<width>129</width> |
|
362 |
<height>16777215</height> |
|
363 |
</size> |
|
364 |
</property> |
|
365 |
<property name="text"> |
|
366 |
<string>Length :</string> |
|
367 |
</property> |
|
368 |
<property name="alignment"> |
|
369 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
370 |
</property> |
|
371 |
</widget> |
|
372 |
</item> |
|
373 |
<item> |
|
374 |
<widget class="QLineEdit" name="lineEdit_Length"> |
|
375 |
<property name="minimumSize"> |
|
376 |
<size> |
|
377 |
<width>0</width> |
|
378 |
<height>0</height> |
|
379 |
</size> |
|
380 |
</property> |
|
381 |
<property name="maximumSize"> |
|
382 |
<size> |
|
383 |
<width>16777215</width> |
|
384 |
<height>16777215</height> |
|
385 |
</size> |
|
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="QLabel" name="label_Lengh_Unit"> |
|
394 |
<property name="minimumSize"> |
|
395 |
<size> |
|
396 |
<width>60</width> |
|
397 |
<height>0</height> |
|
398 |
</size> |
|
399 |
</property> |
|
400 |
<property name="maximumSize"> |
|
401 |
<size> |
|
402 |
<width>60</width> |
|
403 |
<height>16777215</height> |
|
404 |
</size> |
|
405 |
</property> |
|
406 |
<property name="text"> |
|
407 |
<string>-</string> |
|
408 |
</property> |
|
409 |
</widget> |
|
410 |
</item> |
|
411 |
</layout> |
|
114 |
<item row="7" column="0"> |
|
115 |
<widget class="QLabel" name="label_8"> |
|
116 |
<property name="minimumSize"> |
|
117 |
<size> |
|
118 |
<width>129</width> |
|
119 |
<height>0</height> |
|
120 |
</size> |
|
121 |
</property> |
|
122 |
<property name="maximumSize"> |
|
123 |
<size> |
|
124 |
<width>129</width> |
|
125 |
<height>16777215</height> |
|
126 |
</size> |
|
127 |
</property> |
|
128 |
<property name="text"> |
|
129 |
<string>r/D :</string> |
|
130 |
</property> |
|
131 |
<property name="alignment"> |
|
132 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
133 |
</property> |
|
134 |
</widget> |
|
412 | 135 |
</item> |
413 |
<item> |
|
414 |
<layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
415 |
<item> |
|
416 |
<spacer name="horizontalSpacer_2"> |
|
417 |
<property name="orientation"> |
|
418 |
<enum>Qt::Horizontal</enum> |
|
419 |
</property> |
|
420 |
<property name="sizeType"> |
|
421 |
<enum>QSizePolicy::Fixed</enum> |
|
422 |
</property> |
|
423 |
<property name="sizeHint" stdset="0"> |
|
424 |
<size> |
|
425 |
<width>54</width> |
|
426 |
<height>20</height> |
|
427 |
</size> |
|
428 |
</property> |
|
429 |
</spacer> |
|
430 |
</item> |
|
431 |
<item> |
|
432 |
<widget class="QPushButton" name="pushButton_Angle"> |
|
433 |
<property name="minimumSize"> |
|
434 |
<size> |
|
435 |
<width>75</width> |
|
436 |
<height>0</height> |
|
437 |
</size> |
|
438 |
</property> |
|
439 |
<property name="maximumSize"> |
|
440 |
<size> |
|
441 |
<width>75</width> |
|
442 |
<height>16777215</height> |
|
443 |
</size> |
|
444 |
</property> |
|
445 |
<property name="text"> |
|
446 |
<string>Angle</string> |
|
447 |
</property> |
|
448 |
</widget> |
|
449 |
</item> |
|
450 |
<item> |
|
451 |
<widget class="QLineEdit" name="lineEdit_Angle"> |
|
452 |
<property name="minimumSize"> |
|
453 |
<size> |
|
454 |
<width>0</width> |
|
455 |
<height>0</height> |
|
456 |
</size> |
|
457 |
</property> |
|
458 |
<property name="maximumSize"> |
|
459 |
<size> |
|
460 |
<width>16777215</width> |
|
461 |
<height>16777215</height> |
|
462 |
</size> |
|
463 |
</property> |
|
464 |
<property name="alignment"> |
|
465 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
466 |
</property> |
|
467 |
</widget> |
|
468 |
</item> |
|
469 |
<item> |
|
470 |
<widget class="QPushButton" name="pushButton_Angle_Help"> |
|
471 |
<property name="minimumSize"> |
|
472 |
<size> |
|
473 |
<width>60</width> |
|
474 |
<height>24</height> |
|
475 |
</size> |
|
476 |
</property> |
|
477 |
<property name="maximumSize"> |
|
478 |
<size> |
|
479 |
<width>60</width> |
|
480 |
<height>24</height> |
|
481 |
</size> |
|
482 |
</property> |
|
483 |
<property name="text"> |
|
484 |
<string/> |
|
485 |
</property> |
|
486 |
<property name="icon"> |
|
487 |
<iconset resource="../res/Resource.qrc"> |
|
488 |
<normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset> |
|
489 |
</property> |
|
490 |
</widget> |
|
491 |
</item> |
|
492 |
</layout> |
|
136 |
<item row="1" column="1"> |
|
137 |
<widget class="QComboBox" name="comboBox_Nominal_Pipe_Size"> |
|
138 |
<property name="minimumSize"> |
|
139 |
<size> |
|
140 |
<width>0</width> |
|
141 |
<height>0</height> |
|
142 |
</size> |
|
143 |
</property> |
|
144 |
<property name="maximumSize"> |
|
145 |
<size> |
|
146 |
<width>16777215</width> |
|
147 |
<height>16777215</height> |
|
148 |
</size> |
|
149 |
</property> |
|
150 |
</widget> |
|
493 | 151 |
</item> |
494 |
<item> |
|
495 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
496 |
<item> |
|
497 |
<widget class="QLabel" name="label_8"> |
|
498 |
<property name="minimumSize"> |
|
499 |
<size> |
|
500 |
<width>129</width> |
|
501 |
<height>0</height> |
|
502 |
</size> |
|
503 |
</property> |
|
504 |
<property name="maximumSize"> |
|
505 |
<size> |
|
506 |
<width>129</width> |
|
507 |
<height>16777215</height> |
|
508 |
</size> |
|
509 |
</property> |
|
510 |
<property name="text"> |
|
511 |
<string>r/D :</string> |
|
512 |
</property> |
|
513 |
<property name="alignment"> |
|
514 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
515 |
</property> |
|
516 |
</widget> |
|
517 |
</item> |
|
518 |
<item> |
|
519 |
<widget class="QLineEdit" name="lineEdit_rpd"> |
|
520 |
<property name="minimumSize"> |
|
521 |
<size> |
|
522 |
<width>0</width> |
|
523 |
<height>0</height> |
|
524 |
</size> |
|
525 |
</property> |
|
526 |
<property name="maximumSize"> |
|
527 |
<size> |
|
528 |
<width>16777215</width> |
|
529 |
<height>16777215</height> |
|
530 |
</size> |
|
531 |
</property> |
|
532 |
<property name="alignment"> |
|
533 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
534 |
</property> |
|
535 |
</widget> |
|
536 |
</item> |
|
537 |
<item> |
|
538 |
<widget class="QPushButton" name="pushButton_rpd_Help"> |
|
539 |
<property name="minimumSize"> |
|
540 |
<size> |
|
541 |
<width>60</width> |
|
542 |
<height>24</height> |
|
543 |
</size> |
|
544 |
</property> |
|
545 |
<property name="maximumSize"> |
|
546 |
<size> |
|
547 |
<width>60</width> |
|
548 |
<height>24</height> |
|
549 |
</size> |
|
550 |
</property> |
|
551 |
<property name="text"> |
|
552 |
<string/> |
|
553 |
</property> |
|
554 |
<property name="icon"> |
|
555 |
<iconset resource="../res/Resource.qrc"> |
|
556 |
<normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset> |
|
557 |
</property> |
|
558 |
</widget> |
|
559 |
</item> |
|
560 |
</layout> |
|
152 |
<item row="7" column="2"> |
|
153 |
<widget class="QPushButton" name="pushButton_rpd_Help"> |
|
154 |
<property name="minimumSize"> |
|
155 |
<size> |
|
156 |
<width>60</width> |
|
157 |
<height>24</height> |
|
158 |
</size> |
|
159 |
</property> |
|
160 |
<property name="maximumSize"> |
|
161 |
<size> |
|
162 |
<width>60</width> |
|
163 |
<height>24</height> |
|
164 |
</size> |
|
165 |
</property> |
|
166 |
<property name="text"> |
|
167 |
<string/> |
|
168 |
</property> |
|
169 |
<property name="icon"> |
|
170 |
<iconset resource="../res/Resource.qrc"> |
|
171 |
<normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset> |
|
172 |
</property> |
|
173 |
</widget> |
|
561 | 174 |
</item> |
562 |
<item> |
|
563 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
564 |
<item> |
|
565 |
<widget class="QLabel" name="label_9"> |
|
566 |
<property name="minimumSize"> |
|
567 |
<size> |
|
568 |
<width>129</width> |
|
569 |
<height>0</height> |
|
570 |
</size> |
|
571 |
</property> |
|
572 |
<property name="maximumSize"> |
|
573 |
<size> |
|
574 |
<width>129</width> |
|
575 |
<height>16777215</height> |
|
576 |
</size> |
|
577 |
</property> |
|
578 |
<property name="text"> |
|
579 |
<string>D1/D2 :</string> |
|
580 |
</property> |
|
581 |
<property name="alignment"> |
|
582 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
583 |
</property> |
|
584 |
</widget> |
|
585 |
</item> |
|
586 |
<item> |
|
587 |
<widget class="QLineEdit" name="lineEdit_d1_d2"> |
|
588 |
<property name="minimumSize"> |
|
589 |
<size> |
|
590 |
<width>0</width> |
|
591 |
<height>0</height> |
|
592 |
</size> |
|
593 |
</property> |
|
594 |
<property name="maximumSize"> |
|
595 |
<size> |
|
596 |
<width>16777215</width> |
|
597 |
<height>16777215</height> |
|
598 |
</size> |
|
599 |
</property> |
|
600 |
<property name="alignment"> |
|
601 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
602 |
</property> |
|
603 |
</widget> |
|
604 |
</item> |
|
605 |
<item> |
|
606 |
<widget class="QPushButton" name="pushButton_d1_d2_Help"> |
|
607 |
<property name="minimumSize"> |
|
608 |
<size> |
|
609 |
<width>60</width> |
|
610 |
<height>24</height> |
|
611 |
</size> |
|
612 |
</property> |
|
613 |
<property name="maximumSize"> |
|
614 |
<size> |
|
615 |
<width>60</width> |
|
616 |
<height>24</height> |
|
617 |
</size> |
|
618 |
</property> |
|
619 |
<property name="text"> |
|
620 |
<string/> |
|
621 |
</property> |
|
622 |
<property name="icon"> |
|
623 |
<iconset resource="../res/Resource.qrc"> |
|
624 |
<normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset> |
|
625 |
</property> |
|
626 |
</widget> |
|
627 |
</item> |
|
628 |
</layout> |
|
175 |
<item row="7" column="1"> |
|
176 |
<widget class="QLineEdit" name="lineEdit_rpd"> |
|
177 |
<property name="minimumSize"> |
|
178 |
<size> |
|
179 |
<width>0</width> |
|
180 |
<height>0</height> |
|
181 |
</size> |
|
182 |
</property> |
|
183 |
<property name="maximumSize"> |
|
184 |
<size> |
|
185 |
<width>16777215</width> |
|
186 |
<height>16777215</height> |
|
187 |
</size> |
|
188 |
</property> |
|
189 |
<property name="alignment"> |
|
190 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
191 |
</property> |
|
192 |
</widget> |
|
629 | 193 |
</item> |
630 |
<item> |
|
631 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
632 |
<item> |
|
633 |
<widget class="QLabel" name="label_10"> |
|
634 |
<property name="minimumSize"> |
|
635 |
<size> |
|
636 |
<width>129</width> |
|
637 |
<height>0</height> |
|
638 |
</size> |
|
639 |
</property> |
|
640 |
<property name="maximumSize"> |
|
641 |
<size> |
|
642 |
<width>129</width> |
|
643 |
<height>16777215</height> |
|
644 |
</size> |
|
645 |
</property> |
|
646 |
<property name="text"> |
|
647 |
<string>K :</string> |
|
648 |
</property> |
|
649 |
<property name="alignment"> |
|
650 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
651 |
</property> |
|
652 |
</widget> |
|
653 |
</item> |
|
654 |
<item> |
|
655 |
<widget class="QLineEdit" name="lineEdit_k"> |
|
656 |
<property name="minimumSize"> |
|
657 |
<size> |
|
658 |
<width>0</width> |
|
659 |
<height>0</height> |
|
660 |
</size> |
|
661 |
</property> |
|
662 |
<property name="maximumSize"> |
|
663 |
<size> |
|
664 |
<width>16777215</width> |
|
665 |
<height>16777215</height> |
|
666 |
</size> |
|
667 |
</property> |
|
668 |
<property name="alignment"> |
|
669 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
670 |
</property> |
|
671 |
</widget> |
|
672 |
</item> |
|
673 |
<item> |
|
674 |
<widget class="QPushButton" name="pushButton_K_Help"> |
|
675 |
<property name="minimumSize"> |
|
676 |
<size> |
|
677 |
<width>60</width> |
|
678 |
<height>24</height> |
|
679 |
</size> |
|
680 |
</property> |
|
681 |
<property name="maximumSize"> |
|
682 |
<size> |
|
683 |
<width>60</width> |
|
684 |
<height>24</height> |
|
685 |
</size> |
|
686 |
</property> |
|
687 |
<property name="text"> |
|
688 |
<string/> |
|
689 |
</property> |
|
690 |
<property name="icon"> |
|
691 |
<iconset resource="../res/Resource.qrc"> |
|
692 |
<normaloff>:/images/Question.png</normaloff>:/images/Question.png</iconset> |
|
693 |
</property> |
|
694 |
</widget> |
|
695 |
</item> |
|
696 |
</layout> |
|
194 |
<item row="4" column="0"> |
|
195 |
<widget class="QPushButton" name="pushButton_Roughness"> |
|
196 |
<property name="minimumSize"> |
|
197 |
<size> |
|
198 |
<width>75</width> |
|
199 |
<height>0</height> |
|
200 |
</size> |
|
201 |
</property> |
|
202 |
<property name="maximumSize"> |
|
203 |
<size> |
|
204 |
<width>16777215</width> |
|
205 |
<height>16777215</height> |
|
206 |
</size> |
|
207 |
</property> |
|
208 |
<property name="text"> |
|
209 |
<string>Roughness</string> |
|
210 |
</property> |
|
211 |
</widget> |
|
212 |
</item> |
|
213 |
<item row="5" column="0"> |
|
214 |
<widget class="QLabel" name="label_6"> |
|
215 |
<property name="minimumSize"> |
|
216 |
<size> |
|
217 |
<width>129</width> |
|
218 |
<height>0</height> |
|
219 |
</size> |
|
220 |
</property> |
|
221 |
<property name="maximumSize"> |
|
222 |
<size> |
|
223 |
<width>129</width> |
|
224 |
<height>16777215</height> |
|
225 |
</size> |
|
226 |
</property> |
|
227 |
<property name="text"> |
|
228 |
<string>Length :</string> |
|
229 |
</property> |
|
230 |
<property name="alignment"> |
|
231 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
232 |
</property> |
|
233 |
</widget> |
|
234 |
</item> |
|
235 |
<item row="4" column="1"> |
|
236 |
<widget class="QLineEdit" name="lineEdit_Roughness"> |
|
237 |
<property name="minimumSize"> |
|
238 |
<size> |
|
239 |
<width>0</width> |
|
240 |
<height>0</height> |
|
241 |
</size> |
|
242 |
</property> |
|
243 |
<property name="maximumSize"> |
|
244 |
<size> |
|
245 |
<width>16777215</width> |
|
246 |
<height>16777215</height> |
|
247 |
</size> |
|
248 |
</property> |
|
249 |
<property name="alignment"> |
|
250 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
251 |
</property> |
|
252 |
<property name="readOnly"> |
|
253 |
<bool>true</bool> |
|
254 |
</property> |
|
255 |
</widget> |
|
256 |
</item> |
|
257 |
<item row="5" column="1"> |
|
258 |
<widget class="QLineEdit" name="lineEdit_Length"> |
|
259 |
<property name="minimumSize"> |
|
260 |
<size> |
|
261 |
<width>0</width> |
|
262 |
<height>0</height> |
|
263 |
</size> |
|
264 |
</property> |
|
265 |
<property name="maximumSize"> |
|
266 |
<size> |
|
267 |
<width>16777215</width> |
|
268 |
<height>16777215</height> |
|
269 |
</size> |
|
270 |
</property> |
|
271 |
<property name="alignment"> |
|
272 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
273 |
</property> |
|
274 |
</widget> |
|
275 |
</item> |
|
276 |
<item row="4" column="2"> |
|
277 |
<widget class="QLabel" name="label_Roughness_Unit"> |
|
278 |
<property name="minimumSize"> |
|
279 |
<size> |
|
280 |
<width>60</width> |
|
281 |
<height>0</height> |
|
282 |
</size> |
|
283 |
</property> |
|
284 |
<property name="maximumSize"> |
|
285 |
<size> |
|
286 |
<width>60</width> |
|
287 |
<height>16777215</height> |
|
288 |
</size> |
|
289 |
</property> |
|
290 |
<property name="text"> |
|
291 |
<string>-</string> |
|
292 |
</property> |
|
293 |
</widget> |
|
294 |
</item> |
|
295 |
<item row="5" column="2"> |
|
296 |
<widget class="QLabel" name="label_Lengh_Unit"> |
|
297 |
<property name="minimumSize"> |
|
298 |
<size> |
|
299 |
<width>60</width> |
|
300 |
<height>0</height> |
|
301 |
</size> |
|
302 |
</property> |
|
303 |
<property name="maximumSize"> |
|
304 |
<size> |
|
305 |
<width>60</width> |
|
306 |
<height>16777215</height> |
|
307 |
</size> |
|
308 |
</property> |
|
309 |
<property name="text"> |
|
310 |
<string>-</string> |
|
311 |
</property> |
|
312 |
</widget> |
|
313 |
</item> |
|
314 |
<item row="6" column="0"> |
|
315 |
<widget class="QComboBox" name="comboBoxAngle"/> |
|
316 |
</item> |
|
317 |
<item row="6" column="1"> |
|
318 |
<widget class="QLineEdit" name="lineEdit_Angle"> |
|
319 |
<property name="minimumSize"> |
|
320 |
<size> |
|
321 |
<width>0</width> |
|
322 |
<height>0</height> |
|
323 |
</size> |
|
324 |
</property> |
|
325 |
<property name="maximumSize"> |
|
326 |
<size> |
|
327 |
<width>16777215</width> |
|
328 |
<height>16777215</height> |
|
329 |
</size> |
|
330 |
</property> |
|
331 |
<property name="alignment"> |
|
332 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
333 |
</property> |
|
334 |
</widget> |
|
335 |
</item> |
|
336 |
<item row="6" column="2"> |
|
337 |
<widget class="QPushButton" name="pushButton_Angle_Help"> |
|
338 |
<property name="minimumSize"> |
|
339 |
<size> |
|
340 |
<width>60</width> |
|
341 |
<height>24</height> |
|
342 |
</size> |
|
343 |
</property> |
|
344 |
<property name="maximumSize"> |
|
345 |
<size> |
|
346 |
<width>60</width> |
|
347 |
<height>24</height> |
|
348 |
</size> |
|
349 |
</property> |
|
350 |
<property name="text"> |
|
351 |
<string/> |
|
352 |
</property> |
내보내기 Unified diff