@@ -0,0 +1,436 @@
+class CustomColumnView(QtGui.QColumnView):%0A    def __init__(self, *args, **kwargs):%0A        super(CustomColumnView, self).__init__(*args, **kwargs)%0A        self.activated.connect(self.onActivated)%0A    %0A    def keyPressEvent(self, event):%0A        super(CustomColumnView, self).keyPressEvent(event)%0A        index = self.selectedIndexes()%5B0%5D%0A        self.activated.emit(index)%0A%0A    def onActivated(self, index):%0A        print index.data()%0A

Create custom.py