构建您的代码,您可以添加 button1 和 button2 到 QButtonGroup 与 exclusive 属性设置为 True . class Example(QWidget): def __ ...
確定! 回上一頁