hi,

I am trying qt4.6.0_beta with S60 5th sdk.


In my qt application, I load a local html file which contains a javascript
to update a text node content with a timer, however, I found QWebView does
not repaint correctly.

For example, my timer is invoked every 1 second and outputs the total time
to a text node, however I found the new content of the text node is shown
overlaying the old content!

sample code below:


<code>

timeUsed = 0;

currentTimeNode = document.getElementById('currenttime');
timer = setInterval(function() {
timeUsed ++;
currentTimeNode.removeChild(currentTimeNode.lastChild);
currentTimeNode.appendChild(document.createTextNode('CurrentTime : ' +
timeUsed + ' sec'));

}, 1000);


</code>
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to