프로젝트

일반

사용자정보

개정판 cb096dae

IDcb096daeb4eb4ee56a3e1471c0d59e9bf4527c9f
상위 3c7d5ec6
하위 68b30d9f

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

issue #563: spec break auto positioning fix

Change-Id: Icd25c7030694d2bb5153c4c12688ae90af226bff

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
783 783
                                            new_y = round((up_down_find[0].center().y() + up_down_find[1].center().y()) / 2)
784 784
                                            spec_break.loc = [new_x - spec_break.symbolOrigin[0], new_y - spec_break.symbolOrigin[1]]
785 785
                                            spec_break.origin = [new_x, new_y]
786
                                            spec_break.angle = up_down_find[0].angle
786 787
                                        
787 788
                                spec_break_items.append(spec_break)
788 789

  
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py
996 996
        @history    2018.05.17  Jeongwoo    Add if-statement and move 'break'
997 997
                    2018.05.25  Jeongwoo    Seperate delete item method
998 998
    '''
999

  
1000 999
    def keyPressEvent(self, event):
1001 1000
        from EngineeringErrorItem import QEngineeringErrorItem
1002 1001
        from RotateSymbolDialog import QRotateSymbolDialog
......
1058 1057
            self.rotate(self.getCurrentPoint(), self.angle)
1059 1058

  
1060 1059
    def bind_close_items(self):
1060
        """ connect close item by pressing B """
1061 1061
        from EngineeringLineItem import QEngineeringLineItem
1062 1062

  
1063 1063
        scene = self.scene()

내보내기 Unified diff

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