/*hover样式*/ QPushButton:hover{ background-color: rgb(95,107,117); } /*pressed样式*/ QPushButton:pressed{ background-color: rgb(54,54,54); }