I‘m using a tableview with a listdatasource to select items from a list. I used pyui designer and I have defined an action for the tableview. Within the code of the action I