View all images from a directory using Qt