프로젝트

일반

사용자정보

개정판 ab69694e

IDab69694e4369103ec08819007b21815cf8d65a52
상위 93cfc465
하위 d4402b5d

함의성이(가) 약 6년 전에 추가함

issue #501: back

차이점 보기:

DTI_PID/DTI_PID/RecognitionDialog.py
360 360
                ## up to here
361 361

  
362 362
                if isLineChecked:
363
                    worker.recognizeLine(drawDetectedLines, mainRes, listWidget, worker.graphicsView, worker, batch)
363
                    loop = QEventLoop()
364
                    worker.recognizeLine(drawDetectedLines, mainRes, listWidget, worker.graphicsView, worker, batch, loop)
365
                    #loop.exec_()
364 366

  
365 367
                loop = QEventLoop()
366 368
                drawUnknownItems.emit(mainRes, loop)
......
381 383
                    humkyung 2018.07.04 call arrangeLinePosition after creating line
382 384
    '''
383 385
    @staticmethod
384
    def recognizeLine(drawDetectedLines, path, listWidget, graphicsView, worker, batch):
386
    def recognizeLine(drawDetectedLines, path, listWidget, graphicsView, worker, batch, loop):
385 387
        from shapely.geometry import Point, LineString
386 388
        from SymbolSvgItem import SymbolSvgItem
387 389
        from QEngineeringFlowArrowItem import QEngineeringFlowArrowItem
......
455 457
                # up to here
456 458
    
457 459
            listWidget.addItem('라인 생성 중...')
458
            loop = QEventLoop()
459 460
            drawDetectedLines.emit(connectedLines, loop)
460 461
            loop.exec_()
461 462
        except Exception as ex:

내보내기 Unified diff

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