Try capturing the QTableWidget::cellActivated signal