Search code examples
webkitpyqt4qtwebkitqwebviewqwebpage

PyQt4.QtWebKit: QWebPage QWebView set timeout when load stop


Is there any way to say to a QWebPage or to a QWebView stop loading page if some sort of timeout is exceeded?

Sultan


Solution

  • CutyCapt uses QTWebKit and it has a max-wait parameter. You should take a look at how they do it. It should have something to do with QTimer.