프로젝트

일반

사용자정보

개정판 48e3b98b

ID48e3b98b22859bb10947897cb6435d462327ded0
상위 c3f356d0
하위 6d2e8832

함의성이(가) 4년 이상 전에 추가함

issue #000: need fix focus

Change-Id: I709de2b21169f526efe3ad3ff70fff7290a610d0

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
637 637
    def symbolTrainingClicked(self):
638 638
        try:
639 639
            dialog = QTrainingSymbolImageListDialog(self)
640
            dialog.show()
640 641
            dialog.exec_()
641 642
        except Exception as ex:
642 643
            message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename,
DTI_PID/DTI_PID/QtImageViewer.py
720 720
            # svg.reSettingConnetors()
721 721

  
722 722
            if not strict:
723
                scene.clearFocus()
723
                # need fix
724
                App.mainWnd().symbolTreeWidget.clearFocus()
725
                scene.setFocus()
726
                #scene.clearFocus()
724 727
                for item in scene.selectedItems():
725 728
                    item.setSelected(False)
726 729

  
727
                #self.setFocus()
728 730
                svg.setSelected(True)
729 731
                scene.setFocusItem(svg)
730 732
        except Exception as ex:
DTI_PID/DTI_PID/TrainingSymbolImageListDialog.py
486 486

  
487 487
        try:
488 488
            dialog = QTrainingSymbolEditorDialog(self, drawingPath, traininglabelPath, boundarySymbolData, self.ui.tableWidgetList.item(row, 2), self.ui.tableWidgetList.item(row, 3))
489
            dialog.show()
489 490
            dialog.exec_()
490 491
            self.makeChart()
491 492
        except Exception as ex:

내보내기 Unified diff

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