return to this version if you want to use QTableView to display ressources and provide selection support