设置字体红色,背景色黄色 ui->pushButton->setStyleSheet("background-color: rgb(255, 255, 0);color: rgb(255, 0, 0);");