개정판 d77440db
issue #387: add loda data option
Change-Id: I928e83625c00c3e1522a063c8ebc92ce985e9283
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
405 | 405 |
size = int(configs[0].value) |
406 | 406 |
self.ui.radioButtonLoadXmlYes.setChecked(True if size == 1 else False) |
407 | 407 |
self.ui.radioButtonLoadXmlNo.setChecked(True if size == -1 else False) |
408 |
self.ui.radioButtonLoadXmlOnly.setChecked(True if size == 2 else False) |
|
408 | 409 |
else: |
409 | 410 |
self.ui.radioButtonLoadXmlYes.setChecked(True) |
410 | 411 |
self.ui.radioButtonLoadXmlNo.setChecked(False) |
412 |
self.ui.radioButtonLoadXmlOnly.setChecked(False) |
|
411 | 413 |
configs = docData.getConfigs('Data Save', 'Unknown Xml Only') |
412 | 414 |
if configs: |
413 | 415 |
size = int(configs[0].value) |
... | ... | |
1032 | 1034 |
configs.append(Config('Text Style', 'Font Size', str( |
1033 | 1035 |
self.ui.spinBoxFontSize.value()) if self.ui.radioButtonFixedSize.isChecked() else '-1')) |
1034 | 1036 |
|
1035 |
configs.append(Config('Data Load', 'Xml First', '1' if self.ui.radioButtonLoadXmlYes.isChecked() else '-1')) |
|
1037 |
configs.append(Config('Data Load', 'Xml First', '1' if self.ui.radioButtonLoadXmlYes.isChecked() else \ |
|
1038 |
('-1' if self.ui.radioButtonLoadXmlNo.isChecked() else '2'))) |
|
1036 | 1039 |
configs.append( |
1037 | 1040 |
Config('Data Save', 'Unknown Xml Only', '1' if self.ui.radioButtonSaveUnknownYes.isChecked() else '-1')) |
1038 | 1041 |
|
DTI_PID/DTI_PID/Configuration_UI.py | ||
---|---|---|
279 | 279 |
self.gridLayout_5.setObjectName("gridLayout_5") |
280 | 280 |
self.gridLayout_11 = QtWidgets.QGridLayout() |
281 | 281 |
self.gridLayout_11.setObjectName("gridLayout_11") |
282 |
self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox) |
|
283 |
self.spinBoxLengthToConnectLine.setProperty("value", 20) |
|
284 |
self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine") |
|
285 |
self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1) |
|
286 |
self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox) |
|
287 |
self.smallLineMinLengthSpinBox.setMinimumSize(QtCore.QSize(100, 0)) |
|
288 |
self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox") |
|
289 |
self.gridLayout_11.addWidget(self.smallLineMinLengthSpinBox, 2, 1, 1, 1) |
|
282 |
self.label_45 = QtWidgets.QLabel(self.groupBox) |
|
283 |
self.label_45.setObjectName("label_45") |
|
284 |
self.gridLayout_11.addWidget(self.label_45, 5, 0, 1, 1) |
|
285 |
self.radioButtonGapYes = QtWidgets.QRadioButton(self.groupBox) |
|
286 |
self.radioButtonGapYes.setObjectName("radioButtonGapYes") |
|
287 |
self.buttonGroup_5 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
288 |
self.buttonGroup_5.setObjectName("buttonGroup_5") |
|
289 |
self.buttonGroup_5.addButton(self.radioButtonGapYes) |
|
290 |
self.gridLayout_11.addWidget(self.radioButtonGapYes, 5, 1, 1, 1) |
|
290 | 291 |
self.comboBoxLineType = QtWidgets.QComboBox(self.groupBox) |
291 | 292 |
self.comboBoxLineType.setObjectName("comboBoxLineType") |
292 | 293 |
self.gridLayout_11.addWidget(self.comboBoxLineType, 4, 1, 1, 2) |
293 |
self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox) |
|
294 |
self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0)) |
|
295 |
self.spinBoxWidth.setObjectName("spinBoxWidth") |
|
296 |
self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1) |
|
297 |
self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox) |
|
298 |
self.spinBoxMinArea.setMinimumSize(QtCore.QSize(100, 0)) |
|
299 |
self.spinBoxMinArea.setObjectName("spinBoxMinArea") |
|
300 |
self.gridLayout_11.addWidget(self.spinBoxMinArea, 0, 1, 1, 1) |
|
301 | 294 |
self.label_4 = QtWidgets.QLabel(self.groupBox) |
302 | 295 |
self.label_4.setObjectName("label_4") |
303 | 296 |
self.gridLayout_11.addWidget(self.label_4, 0, 0, 1, 1) |
297 |
self.spinBoxLengthToConnectLine = QtWidgets.QSpinBox(self.groupBox) |
|
298 |
self.spinBoxLengthToConnectLine.setProperty("value", 20) |
|
299 |
self.spinBoxLengthToConnectLine.setObjectName("spinBoxLengthToConnectLine") |
|
300 |
self.gridLayout_11.addWidget(self.spinBoxLengthToConnectLine, 3, 1, 1, 1) |
|
304 | 301 |
self.label = QtWidgets.QLabel(self.groupBox) |
305 | 302 |
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
306 | 303 |
self.label.setObjectName("label") |
307 | 304 |
self.gridLayout_11.addWidget(self.label, 1, 0, 1, 1) |
308 |
self.label_5 = QtWidgets.QLabel(self.groupBox) |
|
309 |
self.label_5.setAlignment(QtCore.Qt.AlignCenter) |
|
310 |
self.label_5.setObjectName("label_5") |
|
311 |
self.gridLayout_11.addWidget(self.label_5, 0, 2, 1, 1) |
|
305 |
self.spinBoxWidth = QtWidgets.QSpinBox(self.groupBox) |
|
306 |
self.spinBoxWidth.setMinimumSize(QtCore.QSize(100, 0)) |
|
307 |
self.spinBoxWidth.setObjectName("spinBoxWidth") |
|
308 |
self.gridLayout_11.addWidget(self.spinBoxWidth, 1, 1, 1, 1) |
|
309 |
self.smallLineMinLengthSpinBox = QtWidgets.QSpinBox(self.groupBox) |
|
310 |
self.smallLineMinLengthSpinBox.setMinimumSize(QtCore.QSize(100, 0)) |
|
311 |
self.smallLineMinLengthSpinBox.setObjectName("smallLineMinLengthSpinBox") |
|
312 |
self.gridLayout_11.addWidget(self.smallLineMinLengthSpinBox, 2, 1, 1, 1) |
|
312 | 313 |
self.label_35 = QtWidgets.QLabel(self.groupBox) |
313 | 314 |
self.label_35.setObjectName("label_35") |
314 | 315 |
self.gridLayout_11.addWidget(self.label_35, 6, 0, 1, 1) |
315 |
self.label_28 = QtWidgets.QLabel(self.groupBox) |
|
316 |
self.label_28.setObjectName("label_28") |
|
317 |
self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1) |
|
318 | 316 |
self.radioButtonDiagonalYes = QtWidgets.QRadioButton(self.groupBox) |
319 | 317 |
self.radioButtonDiagonalYes.setObjectName("radioButtonDiagonalYes") |
320 | 318 |
self.buttonGroup_3 = QtWidgets.QButtonGroup(ConfigurationDialog) |
321 | 319 |
self.buttonGroup_3.setObjectName("buttonGroup_3") |
322 | 320 |
self.buttonGroup_3.addButton(self.radioButtonDiagonalYes) |
323 | 321 |
self.gridLayout_11.addWidget(self.radioButtonDiagonalYes, 6, 1, 1, 1) |
322 |
self.label_5 = QtWidgets.QLabel(self.groupBox) |
|
323 |
self.label_5.setAlignment(QtCore.Qt.AlignCenter) |
|
324 |
self.label_5.setObjectName("label_5") |
|
325 |
self.gridLayout_11.addWidget(self.label_5, 0, 2, 1, 1) |
|
324 | 326 |
self.label_16 = QtWidgets.QLabel(self.groupBox) |
325 | 327 |
self.label_16.setObjectName("label_16") |
326 | 328 |
self.gridLayout_11.addWidget(self.label_16, 2, 0, 1, 1) |
327 |
self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox) |
|
328 |
self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0)) |
|
329 |
self.spinBoxHeight.setObjectName("spinBoxHeight") |
|
330 |
self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1) |
|
331 | 329 |
self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox) |
332 | 330 |
self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0)) |
333 | 331 |
self.spinBoxMaxArea.setObjectName("spinBoxMaxArea") |
334 | 332 |
self.gridLayout_11.addWidget(self.spinBoxMaxArea, 0, 3, 1, 1) |
333 |
self.label_28 = QtWidgets.QLabel(self.groupBox) |
|
334 |
self.label_28.setObjectName("label_28") |
|
335 |
self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1) |
|
336 |
self.spinBoxHeight = QtWidgets.QSpinBox(self.groupBox) |
|
337 |
self.spinBoxHeight.setMinimumSize(QtCore.QSize(100, 0)) |
|
338 |
self.spinBoxHeight.setObjectName("spinBoxHeight") |
|
339 |
self.gridLayout_11.addWidget(self.spinBoxHeight, 1, 2, 1, 1) |
|
340 |
self.spinBoxMinArea = QtWidgets.QSpinBox(self.groupBox) |
|
341 |
self.spinBoxMinArea.setMinimumSize(QtCore.QSize(100, 0)) |
|
342 |
self.spinBoxMinArea.setObjectName("spinBoxMinArea") |
|
343 |
self.gridLayout_11.addWidget(self.spinBoxMinArea, 0, 1, 1, 1) |
|
335 | 344 |
self.radioButtonDiagonalNo = QtWidgets.QRadioButton(self.groupBox) |
336 | 345 |
self.radioButtonDiagonalNo.setObjectName("radioButtonDiagonalNo") |
337 | 346 |
self.buttonGroup_3.addButton(self.radioButtonDiagonalNo) |
... | ... | |
341 | 350 |
self.label_9 = QtWidgets.QLabel(self.groupBox) |
342 | 351 |
self.label_9.setObjectName("label_9") |
343 | 352 |
self.gridLayout_11.addWidget(self.label_9, 3, 0, 1, 1) |
344 |
self.label_45 = QtWidgets.QLabel(self.groupBox) |
|
345 |
self.label_45.setObjectName("label_45") |
|
346 |
self.gridLayout_11.addWidget(self.label_45, 5, 0, 1, 1) |
|
347 |
self.radioButtonGapYes = QtWidgets.QRadioButton(self.groupBox) |
|
348 |
self.radioButtonGapYes.setObjectName("radioButtonGapYes") |
|
349 |
self.buttonGroup_5 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
350 |
self.buttonGroup_5.setObjectName("buttonGroup_5") |
|
351 |
self.buttonGroup_5.addButton(self.radioButtonGapYes) |
|
352 |
self.gridLayout_11.addWidget(self.radioButtonGapYes, 5, 1, 1, 1) |
|
353 | 353 |
self.radioButtonGapNo = QtWidgets.QRadioButton(self.groupBox) |
354 | 354 |
self.radioButtonGapNo.setObjectName("radioButtonGapNo") |
355 | 355 |
self.buttonGroup_5.addButton(self.radioButtonGapNo) |
... | ... | |
651 | 651 |
self.gridLayout_31.addWidget(self.label_31, 2, 0, 1, 1) |
652 | 652 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
653 | 653 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
654 |
self.radioButtonLoadXmlOnly = QtWidgets.QRadioButton(self.groupBox_11) |
|
655 |
self.radioButtonLoadXmlOnly.setObjectName("radioButtonLoadXmlOnly") |
|
656 |
self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
657 |
self.buttonGroup.setObjectName("buttonGroup") |
|
658 |
self.buttonGroup.addButton(self.radioButtonLoadXmlOnly) |
|
659 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlOnly) |
|
654 | 660 |
self.radioButtonLoadXmlYes = QtWidgets.QRadioButton(self.groupBox_11) |
655 | 661 |
self.radioButtonLoadXmlYes.setAutoExclusive(True) |
656 | 662 |
self.radioButtonLoadXmlYes.setObjectName("radioButtonLoadXmlYes") |
657 |
self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
658 |
self.buttonGroup.setObjectName("buttonGroup") |
|
659 | 663 |
self.buttonGroup.addButton(self.radioButtonLoadXmlYes) |
660 | 664 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlYes) |
661 | 665 |
self.radioButtonLoadXmlNo = QtWidgets.QRadioButton(self.groupBox_11) |
... | ... | |
811 | 815 |
self.pushButtonLineNoAttribute.setText(_translate("ConfigurationDialog", "Attribute")) |
812 | 816 |
self.pushButtonDeleteProperty.setText(_translate("ConfigurationDialog", "Delete")) |
813 | 817 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Line Detection")) |
818 |
self.label_45.setText(_translate("ConfigurationDialog", "Detect Without Symbol")) |
|
819 |
self.radioButtonGapYes.setText(_translate("ConfigurationDialog", "Yes")) |
|
814 | 820 |
self.label_4.setText(_translate("ConfigurationDialog", "Ignore Small Object Size : ")) |
815 | 821 |
self.label.setText(_translate("ConfigurationDialog", "Sliding Window Size(WxH) : ")) |
816 |
self.label_5.setText(_translate("ConfigurationDialog", "< Area < ")) |
|
817 | 822 |
self.label_35.setText(_translate("ConfigurationDialog", "Diagonal Detection : ")) |
818 |
self.label_28.setText(_translate("ConfigurationDialog", "Default Line Type : ")) |
|
819 | 823 |
self.radioButtonDiagonalYes.setText(_translate("ConfigurationDialog", "Yes")) |
824 |
self.label_5.setText(_translate("ConfigurationDialog", "< Area < ")) |
|
820 | 825 |
self.label_16.setText(_translate("ConfigurationDialog", "Line Minimum Length : ")) |
826 |
self.label_28.setText(_translate("ConfigurationDialog", "Default Line Type : ")) |
|
821 | 827 |
self.radioButtonDiagonalNo.setText(_translate("ConfigurationDialog", "No")) |
822 | 828 |
self.label_9.setText(_translate("ConfigurationDialog", "Length to Connect Line : ")) |
823 |
self.label_45.setText(_translate("ConfigurationDialog", "Detect Without Symbol")) |
|
824 |
self.radioButtonGapYes.setText(_translate("ConfigurationDialog", "Yes")) |
|
825 | 829 |
self.radioButtonGapNo.setText(_translate("ConfigurationDialog", "No")) |
826 | 830 |
self.groupBoxEquipTag.setTitle(_translate("ConfigurationDialog", "Equipment Tag No")) |
827 | 831 |
self.pushButtonDeleteTagProperty.setText(_translate("ConfigurationDialog", "Delete")) |
... | ... | |
864 | 868 |
self.radioButtonBackTextYes.setText(_translate("ConfigurationDialog", "Yes")) |
865 | 869 |
self.radioButtonBackTextNo.setText(_translate("ConfigurationDialog", "No")) |
866 | 870 |
self.groupBox_11.setTitle(_translate("ConfigurationDialog", "Program Data")) |
867 |
self.label_30.setText(_translate("ConfigurationDialog", "Load Data From XML First"))
|
|
871 |
self.label_30.setText(_translate("ConfigurationDialog", "Load Data From")) |
|
868 | 872 |
self.label_34.setText(_translate("ConfigurationDialog", "Save Unknown Item to XML Only")) |
869 | 873 |
self.label_31.setText(_translate("ConfigurationDialog", "Clear Drawing Access Information")) |
870 |
self.radioButtonLoadXmlYes.setText(_translate("ConfigurationDialog", "Yes")) |
|
871 |
self.radioButtonLoadXmlNo.setText(_translate("ConfigurationDialog", "No")) |
|
874 |
self.radioButtonLoadXmlOnly.setText(_translate("ConfigurationDialog", "XML Only")) |
|
875 |
self.radioButtonLoadXmlYes.setText(_translate("ConfigurationDialog", "XML Frist")) |
|
876 |
self.radioButtonLoadXmlNo.setText(_translate("ConfigurationDialog", "Database")) |
|
872 | 877 |
self.radioButtonSaveUnknownYes.setText(_translate("ConfigurationDialog", "Yes")) |
873 | 878 |
self.radioButtonSaveUnknownNo.setText(_translate("ConfigurationDialog", "No")) |
874 | 879 |
self.pushButtonClearAccessInfo.setText(_translate("ConfigurationDialog", "Clear")) |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
736 | 736 |
db_items.extend([item for item in items if type(item) is QEngineeringLineNoTextItem]) |
737 | 737 |
db_items.extend([line for line in appDocData.tracerLineNos if type(line) is QEngineeringTrimLineNoTextItem]) |
738 | 738 |
# db_items.extend(titleBlockItems) |
739 |
configs = appDocData.getConfigs('Data Load', 'Xml First')
|
|
740 |
if configs and int(configs[0].value) is 1: |
|
739 |
configs = appDocData.getConfigs('Data Save', 'Unknown Xml Only')
|
|
740 |
if configs and int(configs[0].value) is -1:
|
|
741 | 741 |
db_items.extend([item for item in items if type(item) is QEngineeringUnknownItem]) |
742 | 742 |
|
743 | 743 |
''' |
... | ... | |
1424 | 1424 |
# Load data |
1425 | 1425 |
path = os.path.join(app_doc_data.getCurrentProject().getTempPath(), app_doc_data.imgName + '.xml') |
1426 | 1426 |
configs = app_doc_data.getConfigs('Data Load', 'Xml First') |
1427 |
if configs and int(configs[0].value) is 1 and os.path.isfile(path):
|
|
1427 |
if configs and int(configs[0].value) >= 1 and os.path.isfile(path):
|
|
1428 | 1428 |
self.load_recognition_result_from_xml(path) |
1429 |
else:
|
|
1429 |
elif configs and int(configs[0].value) <= 1:
|
|
1430 | 1430 |
self.load_drawing(app_doc_data.activeDrawing) |
1431 | 1431 |
|
1432 | 1432 |
self.display_number_of_items() |
DTI_PID/DTI_PID/UI/Configuration.ui | ||
---|---|---|
597 | 597 |
<layout class="QGridLayout" name="gridLayout_5"> |
598 | 598 |
<item row="0" column="0"> |
599 | 599 |
<layout class="QGridLayout" name="gridLayout_11"> |
600 |
<item row="5" column="0"> |
|
601 |
<widget class="QLabel" name="label_45"> |
|
602 |
<property name="text"> |
|
603 |
<string>Detect Without Symbol</string> |
|
604 |
</property> |
|
605 |
</widget> |
|
606 |
</item> |
|
607 |
<item row="5" column="1"> |
|
608 |
<widget class="QRadioButton" name="radioButtonGapYes"> |
|
609 |
<property name="text"> |
|
610 |
<string>Yes</string> |
|
611 |
</property> |
|
612 |
<attribute name="buttonGroup"> |
|
613 |
<string notr="true">buttonGroup_5</string> |
|
614 |
</attribute> |
|
615 |
</widget> |
|
616 |
</item> |
|
617 |
<item row="4" column="1" colspan="2"> |
|
618 |
<widget class="QComboBox" name="comboBoxLineType"/> |
|
619 |
</item> |
|
620 |
<item row="0" column="0"> |
|
621 |
<widget class="QLabel" name="label_4"> |
|
622 |
<property name="text"> |
|
623 |
<string>Ignore Small Object Size : </string> |
|
624 |
</property> |
|
625 |
</widget> |
|
626 |
</item> |
|
600 | 627 |
<item row="3" column="1"> |
601 | 628 |
<widget class="QSpinBox" name="spinBoxLengthToConnectLine"> |
602 | 629 |
<property name="value"> |
... | ... | |
604 | 631 |
</property> |
605 | 632 |
</widget> |
606 | 633 |
</item> |
607 |
<item row="2" column="1">
|
|
608 |
<widget class="QSpinBox" name="smallLineMinLengthSpinBox">
|
|
609 |
<property name="minimumSize">
|
|
610 |
<size>
|
|
611 |
<width>100</width>
|
|
612 |
<height>0</height>
|
|
613 |
</size>
|
|
634 |
<item row="1" column="0">
|
|
635 |
<widget class="QLabel" name="label">
|
|
636 |
<property name="text">
|
|
637 |
<string>Sliding Window Size(WxH) : </string>
|
|
638 |
</property>
|
|
639 |
<property name="alignment">
|
|
640 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
614 | 641 |
</property> |
615 | 642 |
</widget> |
616 | 643 |
</item> |
617 |
<item row="4" column="1" colspan="2"> |
|
618 |
<widget class="QComboBox" name="comboBoxLineType"/> |
|
619 |
</item> |
|
620 | 644 |
<item row="1" column="1"> |
621 | 645 |
<widget class="QSpinBox" name="spinBoxWidth"> |
622 | 646 |
<property name="minimumSize"> |
... | ... | |
627 | 651 |
</property> |
628 | 652 |
</widget> |
629 | 653 |
</item> |
630 |
<item row="0" column="1">
|
|
631 |
<widget class="QSpinBox" name="spinBoxMinArea">
|
|
654 |
<item row="2" column="1">
|
|
655 |
<widget class="QSpinBox" name="smallLineMinLengthSpinBox">
|
|
632 | 656 |
<property name="minimumSize"> |
633 | 657 |
<size> |
634 | 658 |
<width>100</width> |
... | ... | |
637 | 661 |
</property> |
638 | 662 |
</widget> |
639 | 663 |
</item> |
640 |
<item row="0" column="0">
|
|
641 |
<widget class="QLabel" name="label_4">
|
|
664 |
<item row="6" column="0">
|
|
665 |
<widget class="QLabel" name="label_35">
|
|
642 | 666 |
<property name="text"> |
643 |
<string>Ignore Small Object Size : </string>
|
|
667 |
<string>Diagonal Detection : </string>
|
|
644 | 668 |
</property> |
645 | 669 |
</widget> |
646 | 670 |
</item> |
647 |
<item row="1" column="0">
|
|
648 |
<widget class="QLabel" name="label">
|
|
671 |
<item row="6" column="1">
|
|
672 |
<widget class="QRadioButton" name="radioButtonDiagonalYes">
|
|
649 | 673 |
<property name="text"> |
650 |
<string>Sliding Window Size(WxH) : </string> |
|
651 |
</property> |
|
652 |
<property name="alignment"> |
|
653 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
|
674 |
<string>Yes</string> |
|
654 | 675 |
</property> |
676 |
<attribute name="buttonGroup"> |
|
677 |
<string notr="true">buttonGroup_3</string> |
|
678 |
</attribute> |
|
655 | 679 |
</widget> |
656 | 680 |
</item> |
657 | 681 |
<item row="0" column="2"> |
... | ... | |
664 | 688 |
</property> |
665 | 689 |
</widget> |
666 | 690 |
</item> |
667 |
<item row="6" column="0"> |
|
668 |
<widget class="QLabel" name="label_35"> |
|
669 |
<property name="text"> |
|
670 |
<string>Diagonal Detection : </string> |
|
671 |
</property> |
|
672 |
</widget> |
|
673 |
</item> |
|
674 |
<item row="4" column="0"> |
|
675 |
<widget class="QLabel" name="label_28"> |
|
691 |
<item row="2" column="0"> |
|
692 |
<widget class="QLabel" name="label_16"> |
|
676 | 693 |
<property name="text"> |
677 |
<string>Default Line Type : </string>
|
|
694 |
<string>Line Minimum Length : </string>
|
|
678 | 695 |
</property> |
679 | 696 |
</widget> |
680 | 697 |
</item> |
681 |
<item row="6" column="1"> |
|
682 |
<widget class="QRadioButton" name="radioButtonDiagonalYes"> |
|
683 |
<property name="text"> |
|
684 |
<string>Yes</string> |
|
698 |
<item row="0" column="3"> |
|
699 |
<widget class="QSpinBox" name="spinBoxMaxArea"> |
|
700 |
<property name="minimumSize"> |
|
701 |
<size> |
|
702 |
<width>100</width> |
|
703 |
<height>0</height> |
|
704 |
</size> |
|
685 | 705 |
</property> |
686 |
<attribute name="buttonGroup"> |
|
687 |
<string notr="true">buttonGroup_3</string> |
|
688 |
</attribute> |
|
689 | 706 |
</widget> |
690 | 707 |
</item> |
691 |
<item row="2" column="0">
|
|
692 |
<widget class="QLabel" name="label_16">
|
|
708 |
<item row="4" column="0">
|
|
709 |
<widget class="QLabel" name="label_28">
|
|
693 | 710 |
<property name="text"> |
694 |
<string>Line Minimum Length : </string>
|
|
711 |
<string>Default Line Type : </string>
|
|
695 | 712 |
</property> |
696 | 713 |
</widget> |
697 | 714 |
</item> |
... | ... | |
705 | 722 |
</property> |
706 | 723 |
</widget> |
707 | 724 |
</item> |
708 |
<item row="0" column="3">
|
|
709 |
<widget class="QSpinBox" name="spinBoxMaxArea">
|
|
725 |
<item row="0" column="1">
|
|
726 |
<widget class="QSpinBox" name="spinBoxMinArea">
|
|
710 | 727 |
<property name="minimumSize"> |
711 | 728 |
<size> |
712 | 729 |
<width>100</width> |
... | ... | |
745 | 762 |
</property> |
746 | 763 |
</widget> |
747 | 764 |
</item> |
748 |
<item row="5" column="0"> |
|
749 |
<widget class="QLabel" name="label_45"> |
|
750 |
<property name="text"> |
|
751 |
<string>Detect Without Symbol</string> |
|
752 |
</property> |
|
753 |
</widget> |
|
754 |
</item> |
|
755 |
<item row="5" column="1"> |
|
756 |
<widget class="QRadioButton" name="radioButtonGapYes"> |
|
757 |
<property name="text"> |
|
758 |
<string>Yes</string> |
|
759 |
</property> |
|
760 |
<attribute name="buttonGroup"> |
|
761 |
<string notr="true">buttonGroup_5</string> |
|
762 |
</attribute> |
|
763 |
</widget> |
|
764 |
</item> |
|
765 | 765 |
<item row="5" column="2"> |
766 | 766 |
<widget class="QRadioButton" name="radioButtonGapNo"> |
767 | 767 |
<property name="text"> |
... | ... | |
1365 | 1365 |
<item row="0" column="0"> |
1366 | 1366 |
<widget class="QLabel" name="label_30"> |
1367 | 1367 |
<property name="text"> |
1368 |
<string>Load Data From XML First</string>
|
|
1368 |
<string>Load Data From</string> |
|
1369 | 1369 |
</property> |
1370 | 1370 |
</widget> |
1371 | 1371 |
</item> |
... | ... | |
1386 | 1386 |
<item row="0" column="1"> |
1387 | 1387 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
1388 | 1388 |
<item> |
1389 |
<widget class="QRadioButton" name="radioButtonLoadXmlOnly"> |
|
1390 |
<property name="text"> |
|
1391 |
<string>XML Only</string> |
|
1392 |
</property> |
|
1393 |
<attribute name="buttonGroup"> |
|
1394 |
<string notr="true">buttonGroup</string> |
|
1395 |
</attribute> |
|
1396 |
</widget> |
|
1397 |
</item> |
|
1398 |
<item> |
|
1389 | 1399 |
<widget class="QRadioButton" name="radioButtonLoadXmlYes"> |
1390 | 1400 |
<property name="text"> |
1391 |
<string>Yes</string>
|
|
1401 |
<string>XML Frist</string>
|
|
1392 | 1402 |
</property> |
1393 | 1403 |
<property name="autoExclusive"> |
1394 | 1404 |
<bool>true</bool> |
... | ... | |
1401 | 1411 |
<item> |
1402 | 1412 |
<widget class="QRadioButton" name="radioButtonLoadXmlNo"> |
1403 | 1413 |
<property name="text"> |
1404 |
<string>No</string>
|
|
1414 |
<string>Database</string>
|
|
1405 | 1415 |
</property> |
1406 | 1416 |
<property name="autoExclusive"> |
1407 | 1417 |
<bool>true</bool> |
... | ... | |
1596 | 1606 |
</connections> |
1597 | 1607 |
<buttongroups> |
1598 | 1608 |
<buttongroup name="buttonGroup_4"/> |
1599 |
<buttongroup name="buttonGroup_2"/>
|
|
1609 |
<buttongroup name="buttonGroup_5"/>
|
|
1600 | 1610 |
<buttongroup name="buttonGroup_3"/> |
1611 |
<buttongroup name="buttonGroup_2"/> |
|
1601 | 1612 |
<buttongroup name="buttonGroup"/> |
1602 |
<buttongroup name="buttonGroup_5"/> |
|
1603 | 1613 |
</buttongroups> |
1604 | 1614 |
</ui> |
내보내기 Unified diff