QT5.2 + VS2012 给QWidget 对象使用setStyleSheet()设置背景图片运行不显示的问题
使用stylesheet设置背景图片,如果是在mainwindow和dialog中,直接右键change style sheet在add resource中选择background-image或者border-image,选择资源文件中的图片就行了。 但在widget中,使用stylesheet(),在qt designer虽然显示有图片。没设置wi...
原创
2018-02-17 17:43:42 ·
2539 阅读 ·
0 评论