PDA

View Full Version : QTreeWidget selection/focus



MrGarbage
3rd October 2007, 17:36
I am using a QTreeWidget for a tree list. It's intended to behave similar to Windows Explorer.
When the user clicks an entry in the tree that entry is highlighted and some information appears in a workspace to the right.

If the user clicks in the workspace area the highlighted tree entry is now cleared and nothing
is selected or highlighted.

I would like the selected entry to continue to indicate that it is the selected entry.
In Explorer it changes to a grayish color.

I have my mode/behavior set for single selection, rows.

Thank you.

Mark

wysota
3rd October 2007, 17:48
But what is the problem? What have you already tried?