Hi,
I'm not exactly new to Qt, but I'm stumped on how to display a grid of images the way I want.

* Each image is 128 x 128 pixels

* Images are displayed in a resizable area (splitter and/or window size changes the area)

* The images should be displayed in a grid at a fixed size. E.g. as the user changes the area it will fit as many whole image columns as it can without stretching, extending rows as necessary. So at 256 wide it would show 2 columns, at 300 wide it would still show 2 columns until it hits 384, etc.

* A vertical scrollbar should appear when the area cannot contain all the images.

I have tried using QGridLayout with each image shown as a QWidget but it stretches my images and won't automatically put images on another when too narrow. I also tried a QListWidget but the icon size seems to be fixed at a small size and I couldn't get it to display the full 128 pixel image.

Can somebody point me in the right direction?

Thanks :-)

Brett