def thingSelected(self, myindex, key, small, big, original, detail): picture_clicked = PictureWrapper( Picture(key, small, big, original, detail)) self.imageform.imagerc.setContextProperty('myimage', picture_clicked) self.imageform.image_controller.setIndex(myindex) self.imageform.image_controller.setList(self.mylist) self.window.MasterContainerLayout.setCurrentWidget(self.imageform)
def thingSelected(self, key, small, big, original, detail): picture_clicked = PictureWrapper( Picture(key, small, big, original, detail))