怎样经过QSS设置ICON

在网上找了许久,也测试了很多的方法,终于找到能够设置QPushButton ICON的方法。很完美的将图标设置到左边。测试 #CUserWidget #teacherPbt{     qproperty-icon: url(data/images/userMangaer/teacher.png); }url   最终实现方式为:blog #CUserWidget #teacherPbt{     
相关文章
相关标签/搜索