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: |