182 ) |
182 ) |
183 startP = self.__findRectIntersectionPoint(self.itemA, midA, midB) |
183 startP = self.__findRectIntersectionPoint(self.itemA, midA, midB) |
184 endP = self.__findRectIntersectionPoint(self.itemB, midB, midA) |
184 endP = self.__findRectIntersectionPoint(self.itemB, midB, midA) |
185 |
185 |
186 if startP.x() != -1 and startP.y() != -1 and endP.x() != -1 and endP.y() != -1: |
186 if startP.x() != -1 and startP.y() != -1 and endP.x() != -1 and endP.y() != -1: |
187 # __IGNORE_WARNING_C111__ |
187 # __IGNORE_WARNING_C-111__ |
188 self.setPoints(startP.x(), startP.y(), endP.x(), endP.y()) |
188 self.setPoints(startP.x(), startP.y(), endP.x(), endP.y()) |
189 |
189 |
190 def __calculateEndingPoints_rectangle(self): |
190 def __calculateEndingPoints_rectangle(self): |
191 r""" |
191 r""" |
192 Private method to calculate the ending points of the association item. |
192 Private method to calculate the ending points of the association item. |