怎樣經過QSS設置ICON

在網上找了許久,也測試了很多的方法,終於找到能夠設置QPushButton ICON的方法。很完美的將圖標設置到左邊。測試 #CUserWidget #teacherPbt{     qproperty-icon: url(data/images/userMangaer/teacher.png); }url   最終實現方式爲:blog #CUserWidget #teacherPbt{     
相關文章
相關標籤/搜索