So in PyQt4 you could do something like this to append html to your page:
webView.page().mainFrame().documentElement().appendInside(some_html)
I was trying to find similar functionality in PyQt5's QWebEngineView
but i couldn't find anything useful.
My problem is that i want to load many html files on one page, and it takes like 10 seconds to do that(means that main GUI thread is blocked during that 10 seconds, and my application is unresponsive).
So my solution was to display first 5, and when user presses the button, it loads next 5(with technique described above), and so on.
So my question is: Does QWebEngineView
has this functionality, and is there some other way to deal with big or many html files in QWebEngineView
.