프로젝트

일반

사용자정보

개정판 d6aa5aa4

IDd6aa5aa4f6c0939c03a821907d00021451f836e7
상위 deb37242
하위 b48f882e

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

issue #000: fix line connector sceneconnection point

Change-Id: I5c96cab93d3650c2c067b1887d0bbea66bbc3107

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringConnectorItem.py
170 170
    def setPos(self, pos):
171 171
        self._loc = [pos[0], pos[1]] 
172 172
        self.setRect(self._loc[0] - round(self.SMALL_SIZE*0.5), self._loc[1] - round(self.SMALL_SIZE*0.5), self.SMALL_SIZE, self.SMALL_SIZE)
173
        self.sceneConnectPoint = (self.sceneBoundingRect().center().x(), self.sceneBoundingRect().center().y())
173 174
        self.update()
174 175

  
175 176
        """ set label positon at center of connector """

내보내기 Unified diff

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