프로젝트

일반

사용자정보

개정판 1d2655d1

ID1d2655d13f247132e0aa1847788be18b311d817b
상위 ec9a0b11
하위 0e98d54b

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

resize text to size text

Change-Id: Ic2e1c5a208a30e41b2c1ecb1eb46fa6a5a21fd3d

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringTextItem.py
290 290
            menu.exec_(event.screenPos())
291 291

  
292 292
    def contextResizeText(self):
293
        textItems = [item for item in self.scene().selectedItems() if item is not self and type(item) is QEngineeringTextItem]
293
        from QEngineeringTrimLineNoTextItem import QEngineeringLineNoTextItem
294

  
295
        textItems = [item for item in self.scene().selectedItems() if item is not self and issubclass(type(item), QEngineeringTextItem) and type(item) is not QEngineeringLineNoTextItem]
294 296
        allowed_error = 0.01
295 297

  
296 298
        for text in textItems:

내보내기 Unified diff

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