How do I prevent the horizontal bar from depressing all column tabs when I am in row selection, it looks bad.:eek:
Printable View
How do I prevent the horizontal bar from depressing all column tabs when I am in row selection, it looks bad.:eek:
You can use QTreeView if it suits you.
Otherwise in table view, get the horizontal header and set its setClickable(false);
QHeaderView::setClickable
Hope it helps
If I do that, then they can't sort...is there an open bug on the look of the QTreeView...? (which is what I was using)
No, the behaviour is intentional and it could be that it depends on the platform.
OK, well maybe I can work around it by setting only the items in the first column of the table clickable...
Hi,
You can play the style of the tablewidget. It worked for me.