def updateROIPosition(self):
source = self.source
vec_x, vec_y = self._vectorToCenter(source.strike)
self.setAngle(-source.strike, finish=False)
self.setPos(
QtCore.QPointF(source.easting - vec_x,
source.northing - vec_y),
finish=False)
# self.setPos(QtCore.QPointF(source.easting, source.northing),
# finish=False)
评论列表
文章目录