Generate list of all items in ListWidget when opening in image viewer