# the itemClicked signal is connected to our self.Clicked function listWidget.itemClicked.connect(self.Clicked) # example is in the link below ''' https://gist.github.com/Orizzu/e47393efe37c9e4846f7c23f2b10c4a7 '''