def zoom_out ( self ) : if self . _scalefactor >= self . _sfmin : self . _scalefactor -= 1 self . scale_image ( ) self . _adjust_scrollbar ( 1 / self . _scalestep ) self . sig_zoom_changed . emit ( self . get_scaling ( ) )
python scaling image to zoom
Scale the image down by one scale step .
def zoom_out(self):
        """Scale the image down by one scale step."""
        if self._scalefactor >= self._sfmin:
            self._scalefactor -= 1
            self.scale_image()
            self._adjust_scrollbar(1/self._scalestep)
            self.sig_zoom_changed.emit(self.get_scaling())