[Qt-interest] QTableView single Row Selection

Sean Harmer sean.harmer at maps-technology.com
Mon Apr 27 10:08:56 CEST 2009


On Sunday 26 April 2009 21:13:41 you wrote:
> Take a look at the gridStyle property
Thanks Scott, but this still draws the selection on each cell individually and 
even with SelectRows a single cell is still highlighted by the style when 
hovered. Even disabling the grid entirely doesn't help. I don't think that 
QTableView is capable of the behaviour that the OP wants. However, it is 
trivial to swap it out for a QTreeView with a non-decorated root which does 
the trick.

Sean

ps Scott, sorry for the private reply earlier, the reply-to address was yours 
and not the list's.



More information about the Qt-interest-old mailing list