[PyQt] QTreeView with blue line cursor at init

emmanuel_mayssat at lynceantech.com emmanuel_mayssat at lynceantech.com
Wed Jun 1 18:46:42 BST 2011


I have an application that run a sequence of tasks listed in a treeview.
There is a run button.
When the run button is pressed, it executes all the task in the subtree.

Now, when the application open, it is not really clear what the run button would execute, because the line cursor in the qtreeview is not
Is there a way to show it by default?
(The only way I am found after startup of the application is to select a node in the tree.
but this is one click too many !)



More information about the PyQt mailing list