赞
踩
代码 PytQt5 获得窗口的大小
def resizeEvent(self, event): w = event.size().width() h = event.size().height()