巴扎黑2017-04-17 13:21:02
If the objectName of this control is a, then the stylesheet should be set like this
#a {border-image: url(:/pic/blue.jpg)}
Refer here
迷茫2017-04-17 13:21:02
As Tong upstairs said, you can set the style for a given control by specifying the control name when setting the style. Such as .QWidget#myname{backgound:xxx;}