PyQt5最全74 布局之技巧让按钮永远在窗口的右下角 import sys from PyQt5.QtWidgets import * class RightBottomButton(QWidget): """ 小技巧:让按钮永远在窗口的右下角 """ def __init__(self): super(RightBottomButton