[Qt-interest] Drawing huge amounts of data into a waterfall

Valentina Masi valentina.masi at altran.it
Thu Dec 17 16:16:35 CET 2009


Hi all

I am developing an application drawing a huge amount of data: every 250ms my application receives a new array of 2731 floats and has to update a waterfall chart moving down the chart content of 1 pixel and showing a new line (of 2731 points) at the top of the chart.
In order to do this, I have created a custom widget extending QWidget and overridden paintEvent handler. My problem is that running my application is too selfish in term of CPU and gets very slow just after a few seconds.

Can anyone give me a suggest?

Thanks in advance 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091217/f9c127fe/attachment.html 


More information about the Qt-interest-old mailing list