def setZoom(self, zoom): """ Sets zoom. """ ZoomableWidget.setZoom(self, zoom) # make sure connections are updated after widgets were moved # setZoom function of ZoomableWidget does not guarantee connections are updated after widgets self.updateConnections()
def setZoom(self, zoom): ZoomableWidget.setZoom(self, zoom) self.forceRouteRecalculation()