How to set QTableWidget select only mouse click
I want to select a row in QTableWidget by clicking on it, but when my row contains a cellWidget, the selection change event will be triggered when there is no click (for example: the mouse moves in the Table).