我用的是样式表,但是其他控件的背景都继承了背景图片= =
ringa_lee
Is there no one there? = =
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
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;}
Is there no one there? = =
If the objectName of this control is a, then the stylesheet should be set like this
Refer here
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;}