findumars


我随便设了一下,不是被覆盖,而是按钮半透明,透了一些颜色过来。把按钮的透明度减少,或不透明
this->setStyleSheet("background-color:rgba(255, 255,0, 100)");
ui->pushButton->setStyleSheet("background-color:rgba(255, 0,0, 255)");
就这两句

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
猜你喜欢
  • 2021-12-27
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案