프로젝트

일반

사용자정보

개정판 d03f6dc2

IDd03f6dc2a24a0a5d4936bc005687c0f26054a917
상위 02519509
하위 19d25294, 2be622f5

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

issue #000: - fix and hightlight off

Change-Id: I7417a6284031ec1fa1a1133a8443bab9527ec663

차이점 보기:

DTI_PID/DTI_PID/OcrResultDialog.py
80 80
        self.graphicsView.setImage(self.image)
81 81
        self.graphicsView.zoomImage(False, event=None)
82 82
        self.ui.horizontalLayoutGraphicsView.addWidget(self.graphicsView)
83
        self.setLayout(self.ui.horizontalLayoutGraphicsView)
84 83

  
85 84
        self.ui.counterClockPushButton_2.clicked.connect(lambda: self.rotateImage(True))
86 85
        self.ui.clockPushButton_2.clicked.connect(lambda: self.rotateImage(False))
DTI_PID/DTI_PID/Shapes/EngineeringTextItem.py
480 480

  
481 481
            self.document().setDocumentMargin(0)
482 482
            white_char_list = app_doc_data.getConfigs('Text Recognition', 'White Character List')
483
            self.highlighter = Highlighter(self.document())
484
            self.highlighter.white_char_list = white_char_list[0].value if white_char_list else None
483
            #self.highlighter = Highlighter(self.document())
484
            #self.highlighter.white_char_list = white_char_list[0].value if white_char_list else None
485 485

  
486 486
            scene.addItem(self)
487 487
        except Exception as ex:
DTI_PID/DTI_PID/TextInfo.py
1 1
class TextInfo():
2 2
    def __init__(self, text, x, y, w, h, angle):
3
        self._text = text
3
        self._text = text.replace('—', '-')
4 4
        self.x = x
5 5
        self.y = y
6 6
        self.w = w

내보내기 Unified diff

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