瀑布流布局 from PyQt5.QtCore import QPoint, QRect, QSize, Qt from PyQt5.QtWidgets import (QApplication, QLayout, QPushButton, QSizePolicy, QWidget, QGridLayout) class Window(QWidget): def __init__(self): super(Window, self).__init__() self.resize(400, 300…