This website requires JavaScript.
Explore
Help
Sign In
xmengnet
/
PyQt
Watch
1
Star
0
Fork
You've already forked PyQt
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
3984aac7e0
PyQt
/
自定义QWidget的QSS样式
/
README.md
Irony
e09d04e792
update readme
2017-12-27 00:20:50 +08:00
218 B
Raw
Blame
History
自定QWidget 设置QSS样式
由于自定义QWidget 会导致QSS无效 这里通过两个方法来实现
1.重写paintEvent
2.设置Qt.WA_StyledBackground属性
截图