def resizeEvent(self, event):
    '\n        Monitor resizing in case auto-scaling of the image is selected.\n        '
    if self.__autoscale:
        if self.autoScaleScene():
            event.accept()
        else:
            event.ignore()
    else:
        event.accept()
Monitor resizing in case auto-scaling of the image is selected.
def resizeEvent(self, event):
    '\n        \n        '
    if self.__autoscale:
        if self.autoScaleScene():
            event.accept()
        else:
            event.ignore()
    else:
        event.accept()