개정판 98fdb329
add line drafting option
Change-Id: Ib55eaf6e3579508b5c4adec2da3e6002b4c4bc61
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
212 | 212 |
else: |
213 | 213 |
self.ui.radioButtonGapYes.setChecked(False) |
214 | 214 |
self.ui.radioButtonGapNo.setChecked(True) |
215 |
configs = docData.getConfigs('Line', 'Drafting') |
|
216 |
if configs: |
|
217 |
size = int(configs[0].value) |
|
218 |
self.ui.radioButtonLineDrawingAuto.setChecked(True if size == 1 else False) |
|
219 |
self.ui.radioButtonLineDrawingManual.setChecked(True if size == -1 else False) |
|
220 |
self.ui.radioButtonLineDrawingFollowing.setChecked(True if size == 2 else False) |
|
221 |
else: |
|
222 |
self.ui.radioButtonLineDrawingAuto.setChecked(True) |
|
223 |
self.ui.radioButtonLineDrawingManual.setChecked(False) |
|
224 |
self.ui.radioButtonLineDrawingFollowing.setChecked(False) |
|
215 | 225 |
|
216 | 226 |
configs = docData.getConfigs('Text', 'Background') |
217 | 227 |
if configs: |
... | ... | |
1252 | 1262 |
configs.append(Config('Line', 'Default Type', self.ui.comboBoxLineType.currentText())) |
1253 | 1263 |
configs.append(Config('Line', 'Diagonal', '1' if self.ui.radioButtonDiagonalYes.isChecked() else '-1')) |
1254 | 1264 |
configs.append(Config('Line', 'Gap', '1' if self.ui.radioButtonGapYes.isChecked() else '-1')) |
1265 |
configs.append(Config('Line', 'Drafting', '1' if self.ui.radioButtonLineDrawingAuto.isChecked() else \ |
|
1266 |
('-1' if self.ui.radioButtonLineDrawingManual.isChecked() else '2'))) |
|
1255 | 1267 |
configs.append(Config('Text', 'Background', '1' if self.ui.radioButtonBackTextYes.isChecked() else '-1')) |
1256 | 1268 |
configs.append(Config('Symbol', 'Detect Inside Package', '1' if self.ui.radioButtonDetectPackageYes.isChecked() else '-1')) |
1257 | 1269 |
configs.append(Config('Symbol', 'OPC', '1' if self.ui.radioButtonOPCModeYes.isChecked() else '-1')) |
DTI_PID/DTI_PID/Configuration_UI.py | ||
---|---|---|
416 | 416 |
self.gridLayout_5.setObjectName("gridLayout_5") |
417 | 417 |
self.gridLayout_11 = QtWidgets.QGridLayout() |
418 | 418 |
self.gridLayout_11.setObjectName("gridLayout_11") |
419 |
self.label_45 = QtWidgets.QLabel(self.groupBox)
|
|
420 |
self.label_45.setObjectName("label_45")
|
|
421 |
self.gridLayout_11.addWidget(self.label_45, 5, 0, 1, 1)
|
|
419 |
self.label_16 = QtWidgets.QLabel(self.groupBox)
|
|
420 |
self.label_16.setObjectName("label_16")
|
|
421 |
self.gridLayout_11.addWidget(self.label_16, 2, 0, 1, 1)
|
|
422 | 422 |
self.radioButtonGapYes = QtWidgets.QRadioButton(self.groupBox) |
423 | 423 |
self.radioButtonGapYes.setObjectName("radioButtonGapYes") |
424 | 424 |
self.buttonGroup_5 = QtWidgets.QButtonGroup(ConfigurationDialog) |
... | ... | |
428 | 428 |
self.comboBoxLineType = QtWidgets.QComboBox(self.groupBox) |
429 | 429 |
self.comboBoxLineType.setObjectName("comboBoxLineType") |
430 | 430 |
self.gridLayout_11.addWidget(self.comboBoxLineType, 4, 1, 1, 2) |
431 |
self.label_4 = QtWidgets.QLabel(self.groupBox) |
|
432 |
self.label_4.setObjectName("label_4") |
|
433 |
self.gridLayout_11.addWidget(self.label_4, 0, 0, 1, 1) |
|
434 |
self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox) |
|
435 |
self.spinBoxLengthToConnectLine.setProperty("value", 20) |
|
436 |
self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine") |
|
437 |
self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1) |
|
438 |
self.label = QtWidgets.QLabel(self.groupBox) |
|
439 |
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
440 |
self.label.setObjectName("label") |
|
441 |
self.gridLayout_11.addWidget(self.label, 1, 0, 1, 1) |
|
442 |
self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox) |
|
443 |
self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0)) |
|
444 |
self.spinBoxWidth.setObjectName("spinBoxWidth") |
|
445 |
self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1) |
|
431 |
self.radioButtonDiagonalYes = QtWidgets.QRadioButton(self.groupBox) |
|
432 |
self.radioButtonDiagonalYes.setObjectName("radioButtonDiagonalYes") |
|
433 |
self.buttonGroup_3 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
434 |
self.buttonGroup_3.setObjectName("buttonGroup_3") |
|
435 |
self.buttonGroup_3.addButton(self.radioButtonDiagonalYes) |
|
436 |
self.gridLayout_11.addWidget(self.radioButtonDiagonalYes, 6, 1, 1, 1) |
|
437 |
self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox) |
|
438 |
self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0)) |
|
439 |
self.spinBoxMaxArea.setObjectName("spinBoxMaxArea") |
|
440 |
self.gridLayout_11.addWidget(self.spinBoxMaxArea, 0, 3, 1, 1) |
|
441 |
self.radioButtonGapNo = QtWidgets.QRadioButton(self.groupBox) |
|
442 |
self.radioButtonGapNo.setObjectName("radioButtonGapNo") |
|
443 |
self.buttonGroup_5.addButton(self.radioButtonGapNo) |
|
444 |
self.gridLayout_11.addWidget(self.radioButtonGapNo, 5, 2, 1, 1) |
|
446 | 445 |
self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox) |
447 | 446 |
self.smallLineMinLengthSpinBox.setMinimumSize(QtCore.QSize(100, 0)) |
448 | 447 |
self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox") |
... | ... | |
450 | 449 |
self.label_35 = QtWidgets.QLabel(self.groupBox) |
451 | 450 |
self.label_35.setObjectName("label_35") |
452 | 451 |
self.gridLayout_11.addWidget(self.label_35, 6, 0, 1, 1) |
453 |
self.radioButtonDiagonalYes = QtWidgets.QRadioButton(self.groupBox) |
|
454 |
self.radioButtonDiagonalYes.setObjectName("radioButtonDiagonalYes") |
|
455 |
self.buttonGroup_3 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
456 |
self.buttonGroup_3.setObjectName("buttonGroup_3") |
|
457 |
self.buttonGroup_3.addButton(self.radioButtonDiagonalYes) |
|
458 |
self.gridLayout_11.addWidget(self.radioButtonDiagonalYes, 6, 1, 1, 1) |
|
459 | 452 |
self.label_5 = QtWidgets.QLabel(self.groupBox) |
460 | 453 |
self.label_5.setAlignment(QtCore.Qt.AlignCenter) |
461 | 454 |
self.label_5.setObjectName("label_5") |
462 | 455 |
self.gridLayout_11.addWidget(self.label_5, 0, 2, 1, 1) |
463 |
self.label_16 = QtWidgets.QLabel(self.groupBox) |
|
464 |
self.label_16.setObjectName("label_16") |
|
465 |
self.gridLayout_11.addWidget(self.label_16, 2, 0, 1, 1) |
|
466 |
self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox) |
|
467 |
self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0)) |
|
468 |
self.spinBoxMaxArea.setObjectName("spinBoxMaxArea") |
|
469 |
self.gridLayout_11.addWidget(self.spinBoxMaxArea, 0, 3, 1, 1) |
|
470 |
self.label_28 = QtWidgets.QLabel(self.groupBox) |
|
471 |
self.label_28.setObjectName("label_28") |
|
472 |
self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1) |
|
473 |
self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox) |
|
474 |
self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0)) |
|
475 |
self.spinBoxHeight.setObjectName("spinBoxHeight") |
|
476 |
self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1) |
|
456 |
self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox) |
|
457 |
self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0)) |
|
458 |
self.spinBoxWidth.setObjectName("spinBoxWidth") |
|
459 |
self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1) |
|
477 | 460 |
self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox) |
478 | 461 |
self.spinBoxMinArea.setMinimumSize(QtCore.QSize(100, 0)) |
479 | 462 |
self.spinBoxMinArea.setObjectName("spinBoxMinArea") |
... | ... | |
482 | 465 |
self.radioButtonDiagonalNo.setObjectName("radioButtonDiagonalNo") |
483 | 466 |
self.buttonGroup_3.addButton(self.radioButtonDiagonalNo) |
484 | 467 |
self.gridLayout_11.addWidget(self.radioButtonDiagonalNo, 6, 2, 1, 1) |
468 |
self.label = QtWidgets.QLabel(self.groupBox) |
|
469 |
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
470 |
self.label.setObjectName("label") |
|
471 |
self.gridLayout_11.addWidget(self.label, 1, 0, 1, 1) |
|
485 | 472 |
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
486 | 473 |
self.gridLayout_11.addItem(spacerItem3, 0, 4, 1, 1) |
474 |
self.label_28 = QtWidgets.QLabel(self.groupBox) |
|
475 |
self.label_28.setObjectName("label_28") |
|
476 |
self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1) |
|
477 |
self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox) |
|
478 |
self.spinBoxLengthToConnectLine.setProperty("value", 20) |
|
479 |
self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine") |
|
480 |
self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1) |
|
481 |
self.label_4 = QtWidgets.QLabel(self.groupBox) |
|
482 |
self.label_4.setObjectName("label_4") |
|
483 |
self.gridLayout_11.addWidget(self.label_4, 0, 0, 1, 1) |
|
484 |
self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox) |
|
485 |
self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0)) |
|
486 |
self.spinBoxHeight.setObjectName("spinBoxHeight") |
|
487 |
self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1) |
|
487 | 488 |
self.label_9 = QtWidgets.QLabel(self.groupBox) |
488 | 489 |
self.label_9.setObjectName("label_9") |
489 | 490 |
self.gridLayout_11.addWidget(self.label_9, 3, 0, 1, 1) |
490 |
self.radioButtonGapNo = QtWidgets.QRadioButton(self.groupBox) |
|
491 |
self.radioButtonGapNo.setObjectName("radioButtonGapNo") |
|
492 |
self.buttonGroup_5.addButton(self.radioButtonGapNo) |
|
493 |
self.gridLayout_11.addWidget(self.radioButtonGapNo, 5, 2, 1, 1) |
|
491 |
self.label_45 = QtWidgets.QLabel(self.groupBox) |
|
492 |
self.label_45.setObjectName("label_45") |
|
493 |
self.gridLayout_11.addWidget(self.label_45, 5, 0, 1, 1) |
|
494 |
self.label_69 = QtWidgets.QLabel(self.groupBox) |
|
495 |
self.label_69.setObjectName("label_69") |
|
496 |
self.gridLayout_11.addWidget(self.label_69, 7, 0, 1, 1) |
|
497 |
self.radioButtonLineDrawingAuto = QtWidgets.QRadioButton(self.groupBox) |
|
498 |
self.radioButtonLineDrawingAuto.setObjectName("radioButtonLineDrawingAuto") |
|
499 |
self.gridLayout_11.addWidget(self.radioButtonLineDrawingAuto, 7, 1, 1, 1) |
|
500 |
self.radioButtonLineDrawingManual = QtWidgets.QRadioButton(self.groupBox) |
|
501 |
self.radioButtonLineDrawingManual.setObjectName("radioButtonLineDrawingManual") |
|
502 |
self.gridLayout_11.addWidget(self.radioButtonLineDrawingManual, 7, 2, 1, 1) |
|
503 |
self.radioButtonLineDrawingFollowing = QtWidgets.QRadioButton(self.groupBox) |
|
504 |
self.radioButtonLineDrawingFollowing.setObjectName("radioButtonLineDrawingFollowing") |
|
505 |
self.gridLayout_11.addWidget(self.radioButtonLineDrawingFollowing, 7, 3, 1, 1) |
|
494 | 506 |
self.gridLayout_5.addLayout(self.gridLayout_11, 0, 0, 1, 1) |
495 | 507 |
self.gridLayout_21.addWidget(self.groupBox, 0, 1, 1, 1) |
496 | 508 |
self.groupBoxSymbol = QtWidgets.QGroupBox(self.Recognition2) |
... | ... | |
1153 | 1165 |
self.label_10.setText(_translate("ConfigurationDialog", "Minimum Detection Size : ")) |
1154 | 1166 |
self.label_29.setText(_translate("ConfigurationDialog", "Drawing Thickness Reinforcement Step : ")) |
1155 | 1167 |
self.checkBoxApplyGaussianBlur.setText(_translate("ConfigurationDialog", "Apply")) |
1156 |
self.groupBoxText.setTitle(_translate("ConfigurationDialog", "Text Detection"))
|
|
1168 |
self.groupBoxText.setTitle(_translate("ConfigurationDialog", "Text")) |
|
1157 | 1169 |
self.label_44.setText(_translate("ConfigurationDialog", "Text Area Offset : ")) |
1158 | 1170 |
self.label_22.setText(_translate("ConfigurationDialog", "Merge Size : ")) |
1159 | 1171 |
self.label_19.setText(_translate("ConfigurationDialog", "OCR Source : ")) |
... | ... | |
1190 | 1202 |
self.radioButtonAllowLineNoSpaceNo.setText(_translate("ConfigurationDialog", "No")) |
1191 | 1203 |
self.groupBoxEquipTag.setTitle(_translate("ConfigurationDialog", "Tag No")) |
1192 | 1204 |
self.pushButtonTagNoAttribute.setText(_translate("ConfigurationDialog", "Attribute")) |
1193 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Line Detection"))
|
|
1194 |
self.label_45.setText(_translate("ConfigurationDialog", "Detect Without Symbol : "))
|
|
1205 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Line")) |
|
1206 |
self.label_16.setText(_translate("ConfigurationDialog", "Minimum Line Length : "))
|
|
1195 | 1207 |
self.radioButtonGapYes.setText(_translate("ConfigurationDialog", "Yes")) |
1196 |
self.label_4.setText(_translate("ConfigurationDialog", "Small Object Ignore Size : ")) |
|
1197 |
self.label.setText(_translate("ConfigurationDialog", "Sliding Window Size(WxH) : ")) |
|
1198 |
self.label_35.setText(_translate("ConfigurationDialog", "Diagonal Detection : ")) |
|
1199 | 1208 |
self.radioButtonDiagonalYes.setText(_translate("ConfigurationDialog", "Yes")) |
1209 |
self.radioButtonGapNo.setText(_translate("ConfigurationDialog", "No")) |
|
1210 |
self.label_35.setText(_translate("ConfigurationDialog", "Diagonal Detection : ")) |
|
1200 | 1211 |
self.label_5.setText(_translate("ConfigurationDialog", "< Area < ")) |
1201 |
self.label_16.setText(_translate("ConfigurationDialog", "Minimum Line Length : ")) |
|
1202 |
self.label_28.setText(_translate("ConfigurationDialog", "Default Line Type : ")) |
|
1203 | 1212 |
self.radioButtonDiagonalNo.setText(_translate("ConfigurationDialog", "No")) |
1213 |
self.label.setText(_translate("ConfigurationDialog", "Sliding Window Size(WxH) : ")) |
|
1214 |
self.label_28.setText(_translate("ConfigurationDialog", "Default Line Type : ")) |
|
1215 |
self.label_4.setText(_translate("ConfigurationDialog", "Small Object Ignore Size : ")) |
|
1204 | 1216 |
self.label_9.setText(_translate("ConfigurationDialog", "Line Connection Length : ")) |
1205 |
self.radioButtonGapNo.setText(_translate("ConfigurationDialog", "No")) |
|
1217 |
self.label_45.setText(_translate("ConfigurationDialog", "Detect Without Symbol : ")) |
|
1218 |
self.label_69.setText(_translate("ConfigurationDialog", "Line Drafting Mode : ")) |
|
1219 |
self.radioButtonLineDrawingAuto.setText(_translate("ConfigurationDialog", "Auto")) |
|
1220 |
self.radioButtonLineDrawingManual.setText(_translate("ConfigurationDialog", "Manual")) |
|
1221 |
self.radioButtonLineDrawingFollowing.setText(_translate("ConfigurationDialog", "Following")) |
|
1206 | 1222 |
self.groupBoxSymbol.setTitle(_translate("ConfigurationDialog", "Symbol")) |
1207 | 1223 |
self.label_52.setText(_translate("ConfigurationDialog", "Default Flange Name : ")) |
1208 | 1224 |
self.radioButtonDetectPackageYes.setText(_translate("ConfigurationDialog", "Yes")) |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
2936 | 2936 |
try: |
2937 | 2937 |
app_doc_data = AppDocData.instance() |
2938 | 2938 |
home_pane = self.ribbon.get_pane('Home') |
2939 |
configs = app_doc_data.getConfigs('Line', 'Drafting') |
|
2940 |
lineTypeMode = 1 |
|
2941 |
if configs: |
|
2942 |
lineTypeMode = int(configs[0].value) |
|
2939 | 2943 |
|
2940 | 2944 |
count = len(home_pane.ui.toolButtonLine.tag._polyline._vertices) |
2941 | 2945 |
if count > 1: |
... | ... | |
2943 | 2947 |
|
2944 | 2948 |
detector = LineDetector(None) |
2945 | 2949 |
|
2946 |
if not home_pane.ui.toolButtonLine.tag.line_type: |
|
2950 |
if not home_pane.ui.toolButtonLine.tag.line_type or lineTypeMode == -1:
|
|
2947 | 2951 |
line_type = home_pane.ui.comboBoxLineType.currentText() |
2948 |
else: |
|
2949 |
pane = self.ribbon.get_pane('Home') |
|
2950 |
selected_line_type = pane.ui.comboBoxLineType.currentText() |
|
2952 |
elif lineTypeMode == 1: |
|
2953 |
selected_line_type = home_pane.ui.comboBoxLineType.currentText() |
|
2951 | 2954 |
if selected_line_type == 'Connect To Process': |
2952 | 2955 |
line_type = selected_line_type |
2953 | 2956 |
elif not (QEngineeringLineItem.check_piping(home_pane.ui.toolButtonLine.tag.line_type) ^ |
... | ... | |
2955 | 2958 |
line_type = selected_line_type |
2956 | 2959 |
else: |
2957 | 2960 |
line_type = home_pane.ui.toolButtonLine.tag.line_type |
2961 |
elif lineTypeMode == 2 and home_pane.ui.toolButtonLine.tag.line_type: |
|
2962 |
line_type = home_pane.ui.toolButtonLine.tag.line_type |
|
2963 |
|
|
2958 | 2964 |
for index in range(count - 1): |
2959 | 2965 |
start = home_pane.ui.toolButtonLine.tag._polyline._vertices[index] |
2960 | 2966 |
end = home_pane.ui.toolButtonLine.tag._polyline._vertices[index + 1] |
DTI_PID/DTI_PID/UI/Configuration.ui | ||
---|---|---|
218 | 218 |
<item row="0" column="1"> |
219 | 219 |
<widget class="QGroupBox" name="groupBoxText"> |
220 | 220 |
<property name="title"> |
221 |
<string>Text Detection</string>
|
|
221 |
<string>Text</string> |
|
222 | 222 |
</property> |
223 | 223 |
<layout class="QGridLayout" name="gridLayout_14"> |
224 | 224 |
<item row="0" column="0"> |
... | ... | |
841 | 841 |
<item row="0" column="1"> |
842 | 842 |
<widget class="QGroupBox" name="groupBox"> |
843 | 843 |
<property name="title"> |
844 |
<string>Line Detection</string>
|
|
844 |
<string>Line</string> |
|
845 | 845 |
</property> |
846 | 846 |
<layout class="QGridLayout" name="gridLayout_5"> |
847 | 847 |
<item row="0" column="0"> |
848 | 848 |
<layout class="QGridLayout" name="gridLayout_11"> |
849 |
<item row="5" column="0">
|
|
850 |
<widget class="QLabel" name="label_45">
|
|
849 |
<item row="2" column="0">
|
|
850 |
<widget class="QLabel" name="label_16">
|
|
851 | 851 |
<property name="text"> |
852 |
<string>Detect Without Symbol : </string>
|
|
852 |
<string>Minimum Line Length : </string>
|
|
853 | 853 |
</property> |
854 | 854 |
</widget> |
855 | 855 |
</item> |
... | ... | |
866 | 866 |
<item row="4" column="1" colspan="2"> |
867 | 867 |
<widget class="QComboBox" name="comboBoxLineType"/> |
868 | 868 |
</item> |
869 |
<item row="0" column="0"> |
|
870 |
<widget class="QLabel" name="label_4"> |
|
871 |
<property name="text"> |
|
872 |
<string>Small Object Ignore Size : </string> |
|
873 |
</property> |
|
874 |
</widget> |
|
875 |
</item> |
|
876 |
<item row="3" column="1"> |
|
877 |
<widget class="QSpinBox" name="spinBoxLengthToConnectLine"> |
|
878 |
<property name="value"> |
|
879 |
<number>20</number> |
|
880 |
</property> |
|
881 |
</widget> |
|
882 |
</item> |
|
883 |
<item row="1" column="0"> |
|
884 |
<widget class="QLabel" name="label"> |
|
869 |
<item row="6" column="1"> |
|
870 |
<widget class="QRadioButton" name="radioButtonDiagonalYes"> |
|
885 | 871 |
<property name="text"> |
886 |
<string>Sliding Window Size(WxH) : </string> |
|
887 |
</property> |
|
888 |
<property name="alignment"> |
|
889 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
|
872 |
<string>Yes</string> |
|
890 | 873 |
</property> |
874 |
<attribute name="buttonGroup"> |
|
875 |
<string notr="true">buttonGroup_3</string> |
|
876 |
</attribute> |
|
891 | 877 |
</widget> |
892 | 878 |
</item> |
893 |
<item row="1" column="1">
|
|
894 |
<widget class="QSpinBox" name="spinBoxWidth">
|
|
879 |
<item row="0" column="3">
|
|
880 |
<widget class="QSpinBox" name="spinBoxMaxArea">
|
|
895 | 881 |
<property name="minimumSize"> |
896 | 882 |
<size> |
897 | 883 |
<width>100</width> |
... | ... | |
900 | 886 |
</property> |
901 | 887 |
</widget> |
902 | 888 |
</item> |
889 |
<item row="5" column="2"> |
|
890 |
<widget class="QRadioButton" name="radioButtonGapNo"> |
|
891 |
<property name="text"> |
|
892 |
<string>No</string> |
|
893 |
</property> |
|
894 |
<attribute name="buttonGroup"> |
|
895 |
<string notr="true">buttonGroup_5</string> |
|
896 |
</attribute> |
|
897 |
</widget> |
|
898 |
</item> |
|
903 | 899 |
<item row="2" column="1"> |
904 | 900 |
<widget class="QSpinBox" name="smallLineMinLengthSpinBox"> |
905 | 901 |
<property name="minimumSize"> |
... | ... | |
917 | 913 |
</property> |
918 | 914 |
</widget> |
919 | 915 |
</item> |
920 |
<item row="6" column="1"> |
|
921 |
<widget class="QRadioButton" name="radioButtonDiagonalYes"> |
|
922 |
<property name="text"> |
|
923 |
<string>Yes</string> |
|
924 |
</property> |
|
925 |
<attribute name="buttonGroup"> |
|
926 |
<string notr="true">buttonGroup_3</string> |
|
927 |
</attribute> |
|
928 |
</widget> |
|
929 |
</item> |
|
930 | 916 |
<item row="0" column="2"> |
931 | 917 |
<widget class="QLabel" name="label_5"> |
932 | 918 |
<property name="text"> |
... | ... | |
937 | 923 |
</property> |
938 | 924 |
</widget> |
939 | 925 |
</item> |
940 |
<item row="2" column="0"> |
|
941 |
<widget class="QLabel" name="label_16"> |
|
942 |
<property name="text"> |
|
943 |
<string>Minimum Line Length : </string> |
|
944 |
</property> |
|
945 |
</widget> |
|
946 |
</item> |
|
947 |
<item row="0" column="3"> |
|
948 |
<widget class="QSpinBox" name="spinBoxMaxArea"> |
|
949 |
<property name="minimumSize"> |
|
950 |
<size> |
|
951 |
<width>100</width> |
|
952 |
<height>0</height> |
|
953 |
</size> |
|
954 |
</property> |
|
955 |
</widget> |
|
956 |
</item> |
|
957 |
<item row="4" column="0"> |
|
958 |
<widget class="QLabel" name="label_28"> |
|
959 |
<property name="text"> |
|
960 |
<string>Default Line Type : </string> |
|
961 |
</property> |
|
962 |
</widget> |
|
963 |
</item> |
|
964 |
<item row="1" column="2"> |
|
965 |
<widget class="QSpinBox" name="spinBoxHeight"> |
|
926 |
<item row="1" column="1"> |
|
927 |
<widget class="QSpinBox" name="spinBoxWidth"> |
|
966 | 928 |
<property name="minimumSize"> |
967 | 929 |
<size> |
968 | 930 |
<width>100</width> |
... | ... | |
991 | 953 |
</attribute> |
992 | 954 |
</widget> |
993 | 955 |
</item> |
956 |
<item row="1" column="0"> |
|
957 |
<widget class="QLabel" name="label"> |
|
958 |
<property name="text"> |
|
959 |
<string>Sliding Window Size(WxH) : </string> |
|
960 |
</property> |
|
961 |
<property name="alignment"> |
|
962 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
|
963 |
</property> |
|
964 |
</widget> |
|
965 |
</item> |
|
994 | 966 |
<item row="0" column="4"> |
995 | 967 |
<spacer name="horizontalSpacer_2"> |
996 | 968 |
<property name="orientation"> |
... | ... | |
1004 | 976 |
</property> |
1005 | 977 |
</spacer> |
1006 | 978 |
</item> |
979 |
<item row="4" column="0"> |
|
980 |
<widget class="QLabel" name="label_28"> |
|
981 |
<property name="text"> |
|
982 |
<string>Default Line Type : </string> |
|
983 |
</property> |
|
984 |
</widget> |
|
985 |
</item> |
|
986 |
<item row="3" column="1"> |
|
987 |
<widget class="QSpinBox" name="spinBoxLengthToConnectLine"> |
|
988 |
<property name="value"> |
|
989 |
<number>20</number> |
|
990 |
</property> |
|
991 |
</widget> |
|
992 |
</item> |
|
993 |
<item row="0" column="0"> |
|
994 |
<widget class="QLabel" name="label_4"> |
|
995 |
<property name="text"> |
|
996 |
<string>Small Object Ignore Size : </string> |
|
997 |
</property> |
|
998 |
</widget> |
|
999 |
</item> |
|
1000 |
<item row="1" column="2"> |
|
1001 |
<widget class="QSpinBox" name="spinBoxHeight"> |
|
1002 |
<property name="minimumSize"> |
|
1003 |
<size> |
|
1004 |
<width>100</width> |
|
1005 |
<height>0</height> |
|
1006 |
</size> |
|
1007 |
</property> |
|
1008 |
</widget> |
|
1009 |
</item> |
|
1007 | 1010 |
<item row="3" column="0"> |
1008 | 1011 |
<widget class="QLabel" name="label_9"> |
1009 | 1012 |
<property name="text"> |
... | ... | |
1011 | 1014 |
</property> |
1012 | 1015 |
</widget> |
1013 | 1016 |
</item> |
1014 |
<item row="5" column="2">
|
|
1015 |
<widget class="QRadioButton" name="radioButtonGapNo">
|
|
1017 |
<item row="5" column="0">
|
|
1018 |
<widget class="QLabel" name="label_45">
|
|
1016 | 1019 |
<property name="text"> |
1017 |
<string>No</string> |
|
1020 |
<string>Detect Without Symbol : </string> |
|
1021 |
</property> |
|
1022 |
</widget> |
|
1023 |
</item> |
|
1024 |
<item row="7" column="0"> |
|
1025 |
<widget class="QLabel" name="label_69"> |
|
1026 |
<property name="text"> |
|
1027 |
<string>Line Drafting Mode : </string> |
|
1028 |
</property> |
|
1029 |
</widget> |
|
1030 |
</item> |
|
1031 |
<item row="7" column="1"> |
|
1032 |
<widget class="QRadioButton" name="radioButtonLineDrawingAuto"> |
|
1033 |
<property name="text"> |
|
1034 |
<string>Auto</string> |
|
1035 |
</property> |
|
1036 |
</widget> |
|
1037 |
</item> |
|
1038 |
<item row="7" column="2"> |
|
1039 |
<widget class="QRadioButton" name="radioButtonLineDrawingManual"> |
|
1040 |
<property name="text"> |
|
1041 |
<string>Manual</string> |
|
1042 |
</property> |
|
1043 |
</widget> |
|
1044 |
</item> |
|
1045 |
<item row="7" column="3"> |
|
1046 |
<widget class="QRadioButton" name="radioButtonLineDrawingFollowing"> |
|
1047 |
<property name="text"> |
|
1048 |
<string>Following</string> |
|
1018 | 1049 |
</property> |
1019 |
<attribute name="buttonGroup"> |
|
1020 |
<string notr="true">buttonGroup_5</string> |
|
1021 |
</attribute> |
|
1022 | 1050 |
</widget> |
1023 | 1051 |
</item> |
1024 | 1052 |
</layout> |
... | ... | |
2333 | 2361 |
<buttongroup name="buttonGroup_15"/> |
2334 | 2362 |
<buttongroup name="buttonGroup"/> |
2335 | 2363 |
<buttongroup name="buttonGroup_4"/> |
2364 |
<buttongroup name="buttonGroup_17"/> |
|
2336 | 2365 |
<buttongroup name="buttonGroup_2"/> |
2337 | 2366 |
<buttongroup name="buttonGroup_16"/> |
2338 | 2367 |
<buttongroup name="buttonGroup_6"/> |
... | ... | |
2344 | 2373 |
<buttongroup name="buttonGroup_10"/> |
2345 | 2374 |
<buttongroup name="buttonGroup_8"/> |
2346 | 2375 |
<buttongroup name="buttonGroup_14"/> |
2347 |
<buttongroup name="buttonGroup_17"/> |
|
2348 | 2376 |
</buttongroups> |
2349 | 2377 |
</ui> |
내보내기 Unified diff