448 def setZoomValue(self, value, saveValue=True): |
448 def setZoomValue(self, value, saveValue=True): |
449 """ |
449 """ |
450 Public method to set the zoom value. |
450 Public method to set the zoom value. |
451 |
451 |
452 @param value zoom value (integer) |
452 @param value zoom value (integer) |
453 @keyparam saveValue flag indicating to save the zoom value with the |
453 @param saveValue flag indicating to save the zoom value with the |
454 zoom manager |
454 zoom manager |
455 @type bool |
455 @type bool |
456 """ |
456 """ |
457 if value != self.__currentZoom: |
457 if value != self.__currentZoom: |
458 self.setZoomFactor(value / 100.0) |
458 self.setZoomFactor(value / 100.0) |