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
19478c38f3
PyQt
/
界面美化
/
边框动画阴影
/
README.md
Irony
2001d9ad75
边框动画阴影
2018-09-25 23:31:08 +08:00
327 B
Raw
Blame
History
QGraphicsDropShadowEffect动态边框阴影动画
简单说明
1.通过setGraphicsEffect设置控件的边框阴影
2.继承QGraphicsDropShadowEffect实现增加动态属性radius
3.通过QPropertyAnimation属性动画不断改变radius的值并调用setBlurRadius更新半径值
截图