[PySide] How to select an highlight a row in a QTreeView?

Robin Siebler robinsiebler at dslextreme.com
Wed Apr 20 22:56:33 CEST 2016


I am relatively new to Pyside/Qt.
I am using a QTreeView with a QFileSystemModel to display a list of files. 
How can I programmatically select and highlight the 1st one?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20160420/29e8fc54/attachment.html>


More information about the PySide mailing list