QWebFrame evaluateJavaScript
Hi Qt gurus,
I have a performance question.
I'm trying to design a high speed "QWebFrame Html append function":
Code:
QWebView::page()->mainFrame()->evaluateJavaScript(
QString("document.getElementById('%1').innerHTML += '%2'").
arg(html));
After adding a few lines (1000x) it's getting very slow.
What would be the proper routine for doing that ?
Re: QWebFrame evaluateJavaScript
why do yoy think that it`s "hight speed" method?
If we have 1000x lines to add, may be add 20-30 ines on one page and genegate other page with 20-30 lines, and if user want to see otherpage he press PageDown key and so on.
I donot see reson to add 1000x lines on one page. If reason take place in your project tell about it more.
Re: QWebFrame evaluateJavaScript
Well I need to insert and append HTML using Javascript routines.
And it has to be fast.
Just like what Bespin does : http://vimeo.com/3195079