コード例 #1
0
 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()
コード例 #2
0
 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()
コード例 #3
0
 def setZoom(self, zoom):
     ZoomableWidget.setZoom(self, zoom)
     self.forceRouteRecalculation()
コード例 #4
0
ファイル: PortConnection.py プロジェクト: Andrej-CMS/cmssw
 def setZoom(self, zoom):
     ZoomableWidget.setZoom(self, zoom)
     self.forceRouteRecalculation()