QWebPage triggers loadFinished() several times

二次信任 提交于 2019-12-21 20:47:17

问题


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?


回答1:


Posted a related solution proposal at:

Receiving multiple loadFinished signals for a requested web page

Basicly look for repaintRequested(QRect) signal of QWebPage.



来源:https://stackoverflow.com/questions/1879881/qwebpage-triggers-loadfinished-several-times

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!