def METHOD_NAME(self, event):
    """
    Zoom in/out with the mouse wheel.
    """
    if not event.angleDelta().isNull():
        if (event.angleDelta().y() > 0):
            self.rescale(self.display_scale + 1)
        else:
            self.rescale(self.display_scale - 1)
        event.accept()