样式表设置 QPushButton (使用设计师)右键选择"改变样式表" 输入如下内容: QPushButton:hover { background-color: rgb(255, 69, 234); color: rgb(255