QResizeEvent

class PyQt5.QtGui.QResizeEvent

C++ documentation