I have a Qtableview with setSelectionBehavior(QtableView.SelectRows) set.

The tableview has a button delegate in the first column.

When I click in a row of the table (some cell other than first column) the clicked event shows the correct row and column being passed.
When I click the button, it launches the editor with the correct data.

But the row never highlights.

I have a different example that does highlight the clicked row, but it does not have a delegate column.

When a delegate is used, how do I high light the selected row?

(For that matter how do I highlight the first row at startup?)

Regards,
Mac