[Qt-interest] QListView vs. QTableView style
NoRulez
norulez at me.com
Wed Feb 2 00:08:23 CET 2011
Hi,
on Windows 7 there is a big difference when selecting an item in a QListview and in a QTableView.
In the list view the selected item has a background with a gradient and rounded corners which looks good.
But in the tableview the item has a plain blue background.
Is there a simple way to style a tableview like the listview without any stylesheets?
My favorite method is to use a QStyledItemDelegate, but when I get the style and use the function "style->drawControl()" then nothing happens which means that the table view has his ugly background.
Thanks in advance
Best Regards
NoRulez
More information about the Qt-interest-old
mailing list