QPushButton

{

background-image: url(:/Resources/green_click.png);

image: url(:/Resources/toolsbutton_install.png);

border:none;

image-position:left;

padding-left:10px;

}

效果如下:

QT设置前景图位置(配色简单漂亮)

http://blog.csdn.net/itjobtxq/article/details/8983344

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
相关资源
相似解决方案