qt之设置按钮背景样式表

  ui->pushButton->setStyleSheet(R"(QPushButton{background-color:transparent;})");
    ui->pushButton->setStyleSheet(R"(QPushButton{background:red;})");
posted @ 2025-11-19 18:30  我不是萧海哇~~~  阅读(14)  评论(0)    收藏  举报