2017-04-05 16:07:57 +08:00
|
|
|
|
# 验证码控件
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
### [Python3.4.4 or Python3.5][PyQt5]
|
|
|
|
|
|
|
|
|
|
# 截图
|
2017-04-06 10:37:12 +08:00
|
|
|
|
<img src="ScreenShot/1.gif" />
|
2017-04-05 16:07:57 +08:00
|
|
|
|
|
|
|
|
|
# 说明
|
2017-04-06 10:37:12 +08:00
|
|
|
|
2.更新为paintEvent方式,采用上下跳动
|
|
|
|
|
1.参考网上一些代码,都是采用paintEvent绘制,这里采用QLabel显示html结合字体来显示文字<br />
|
2017-04-05 16:07:57 +08:00
|
|
|
|
然后在paintEvent中绘制噪点和线条
|