本文介绍了QWebPage多次触发loadFinished()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用load()方法将内容加载到QWebPage中.但是我的loadStarted(),loadFinished()和loadProgress()处理程序调用了几次.如何检测该页面完全加载了所有内容?
I'm loading content into QWebPage, using load() method.But my loadStarted(), loadFinished() and loadProgress() handlers are calling several times.How can I detect that page is loaded completely with all it's content?
推荐答案
在以下位置发布了相关的解决方案建议:
Posted a related solution proposal at:
基本查找QWebPage的repaintRequested(QRect)信号.
Basicly look for repaintRequested(QRect) signal of QWebPage.
这篇关于QWebPage多次触发loadFinished()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!