[PyQt] QTreeView / QFileSystemModel : auto-expand to designated directory

James Polk jpolk5001 at yahoo.com
Tue May 24 20:54:28 BST 2011


Howdy,

Anybody have any experiences or words of wisdom to share concerning how to
have a QTreeView/QFileSystemModel automatically expand from entirely closed (on startup)
to a certain specified directory ?

Was hoping for a single command,...but preliminary research looks like a recursive
technique/function is called for...

Thoughts, suggestions, words of advice...are all greatly appreciated,
Cheers,
-James


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110524/0b0391b0/attachment.html>


More information about the PyQt mailing list