프로젝트

일반

사용자정보

개정판 fe0bc5d7

IDfe0bc5d75a884dab75dd1b36631e0062469c6330
상위 14608af0
하위 c5a3134e

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

issue #000: fix bounding box and fix typo in db

Change-Id: I8d23db8c0a742d277362e0adcac4003e83520c1a

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
2406 2406
                    item.angle = angle
2407 2407
                    item.setPen(QPen(Qt.red, 5, Qt.SolidLine))
2408 2408
                    self.graphicsView.scene.addItem(item)
2409
                    item.transfer.onRemoved.connect(self.itemRemoved)
2409 2410

  
2410 2411
                self.progress.setValue(self.progress.value() + 1)
2411 2412
                
DTI_PID/DTI_PID/RecognitionDialog.py
22 22
from EngineeringLineItem import QEngineeringLineItem
23 23
from EngineeringTextItem import QEngineeringTextItem
24 24
from EngineeringLineNoTextItem import QEngineeringLineNoTextItem
25
from GraphicsBoundingBoxItem import QGraphicsBoundingBoxItem
25 26
from LineDetector import LineDetector
26 27
from symbol import Symbol
27 28

  
......
232 233
                for item in items:
233 234
                    item.transfer.onRemoved.emit(item)
234 235
                    #worker.graphicsView.scene.removeItem(item)
236
                for item in [item for item in worker.graphicsView.scene.items() if type(item) is QGraphicsBoundingBoxItem]:
237
                    item.transfer.onRemoved.emit(item)
235 238

  
236 239
            #up to here
237 240

  
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
206 206
                for attr in symbolAttrs:
207 207
                    if attr.Target is None or attr.Target == 'ALL' or [target for target in attr.Target.split(',') if self.dbUid is int(target)]:
208 208
                        targetAttrs.append(attr)
209
            else:
210
                targetAttrs = symbolAttrs
209 211

  
210 212
            _texts = self.texts()
211 213
            _symbols = self.symbols()

내보내기 Unified diff

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