using QPixmapCache to cache images