[Qt-interest] QTableView single Row Selection
Neel Basu
neel.basu.z at gmail.com
Mon Apr 27 13:54:01 CEST 2009
On Monday 27 April 2009 13:38:56 Sean Harmer wrote:
> 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.
exactly This is how it looks with GridStyle NoPen(attached: QTableView.png)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QTableView.png
Type: image/png
Size: 9789 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090427/e0433324/attachment.png
More information about the Qt-interest-old
mailing list