setCurrentIndex - see
http://www.qtcentre.org/threads/15035-QTreeView-how-to-autoselect-first-row

On Wed, Apr 20, 2016, 3:56 PM Robin Siebler <[email protected]>
wrote:

>
> 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!
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/pyside
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to