def mouseDoubleClickEvent(self, event):
        """Reimplement Qt method"""
        index_clicked = self.indexAt(event.pos())
        if index_clicked.isValid():
            row = index_clicked.row()
            # TODO: Remove hard coded "Value" column number (3 here)
            index_clicked = index_clicked.child(row, 3)
            self.edit(index_clicked)
        else:
            event.accept()
def mouseDoubleClickEvent ( self , event ) : index_clicked = self . indexAt ( event . pos ( ) ) if index_clicked . isValid ( ) : row = index_clicked . row ( ) index_clicked = index_clicked . child ( row , 3 ) self . edit ( index_clicked ) else : event . accept ( )
Reimplement Qt method