PDA

View Full Version : Making the focus rectangle for table enclose the entire row, not just the column item



a3matrix
26th April 2011, 04:31
I currently have a QTableWidget with 3 columns and a bunch of rows, but when I click on a row, the focus rectangle encloses an individual column item, rather than the entire row - does anyone know how to make it enclose the entire row?

I know the QTreeView widget has a "allColumnsShowFocus" property that does this but I couldn't find a similar property for QTableWidget

a3matrix
2nd May 2011, 01:56
Here's a screenshot to illustrate what I mean

Anyone know how I might be able to get the focus rectangle to cover fields 2 and 3?
http://i54.tinypic.com/wtagz8.jpg