Thanks! Worked perfectly, although I'm not sure excatly what I'm doing. Lack of Python knowledge, probably. Here's a snippet of code:

Qt Code:
  1. class MainWindow(QtGui.QMainWindow):
  2.  
  3. def __init__(self):
  4. QtGui.QMainWindow.__init__(self)
  5. self.setWindowTitle("Test application")
  6. self.setGeometry(0, 0, 1000, 600)
  7.  
  8. itemList = QtGui.QListView()
  9. itemList.setMaximumWidth(150)
  10. self.itemlistModel = QtGui.QStandardItemModel(itemList)
  11. itemList.setModel(self.itemlistModel)
  12.  
  13. # Add item
  14. item1 = QtGui.QStandardItem()
  15. item1.setText("Item1")
  16. self.itemlistModel.appendRow(item1)
  17.  
  18. item2 = QtGui.QStandardItem()
  19. item2.setText("Item2")
  20. self.itemlistModel.appendRow(item2)
  21. itemList.clicked.connect(self.itemClicked)
  22.  
  23. def itemClicked(self, index):
  24. print "Clicked: " + str(index.row())
To copy to clipboard, switch view to plain text mode 

Coming from the C++/PHP world, to me the index object appears out of nowhere. How does the itemClicked() function gets it's arguments?