def METHOD_NAME(self, event):
    size = event.size()
    size.setHeight(size.height() - self.ui.pushButton_plot.height())  # give space to the buttons
    self._busy_overlay.resize(size)
    # self._busy_overlay.resize(event.size())
    event.accept()