Hello,

I am pretty new to Qt, and I am trying something I don't have enough experience to do without any advice.
I want to do display the progress of a download task that can be processed by several threads in parallel. In order to do that I would like to display a list of blocks (each block representing a few kilobytes of data) that would turn from grey to blue when the block has been downloaded. For those who know the download manager Flashget, this is very similar to what this piece of software does: here is a screenshot http://screenshots.fr.sftcdn.net/fr/...ortable-15.jpg

Because the file can potentially reach several gigabytes (this means that there can be several millions blocks to display), doing with without any performance issues is tricky.
I tried creating as many QPixmap instances as needed, but the ui is definitely too slow, even when I do not use a layout and set their geometry myself.

I feel like there are some optimizations that could be done (the blocks do not need to interact with the user, they can only have two colors, the size is fixed... maybe i could display a big image and set the pixel colors myself whenever a block changes its color?) but i am too new to Qt to know the best way to go. Too bad that Flashget is not open source, because there is no performance issues even with huge files.
I am using QT5 under Ubuntu with QT Creator.

Could you give me some pointers?
Thanks.