code: def resizeEvent(self, event):
          
  
          LOGGER.debug("> Application resize event accepted!")
          self.size_changed.emit(event)
          event.accept()
docs: Reimplements the :meth:`QWidget.resizeEvent` method.
  
          :param event: QEvent.
          :type event: QEvent