I've got a QTreeWidget that I use to display a few things. I do not need the blue highlighter that comes up when you mouse over the table.
I've tried setting the selectionMode to NoSelection, and that has not worked.
Thanks for any help.
t
I've got a QTreeWidget that I use to display a few things. I do not need the blue highlighter that comes up when you mouse over the table.
I've tried setting the selectionMode to NoSelection, and that has not worked.
Thanks for any help.
t
Set the flags for each QTreeWidgetItem
Qt Code:
item->setFlags(item->flags() & ~Qt::ItemIsSelectable);To copy to clipboard, switch view to plain text mode
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
This did not work. what else can I try?
Bookmarks