E5Graphics/E5GraphicsView.py

changeset 2953
703452a2876f
parent 2334
fc69ad77e18a
child 2990
583beaf0b4b8
equal deleted inserted replaced
2952:94fc661a54a2 2953:703452a2876f
126 126
127 def resizeScene(self, amount, isWidth=True): 127 def resizeScene(self, amount, isWidth=True):
128 """ 128 """
129 Public method to resize the scene. 129 Public method to resize the scene.
130 130
131 @param amount size increment (integer)
131 @param isWidth flag indicating width is to be resized (boolean) 132 @param isWidth flag indicating width is to be resized (boolean)
132 @param amount size increment (integer)
133 """ 133 """
134 sceneRect = self.scene().sceneRect() 134 sceneRect = self.scene().sceneRect()
135 width = sceneRect.width() 135 width = sceneRect.width()
136 height = sceneRect.height() 136 height = sceneRect.height()
137 if isWidth: 137 if isWidth:

eric ide

mercurial