[PyQt] Fwd: How can i know that there are no rows in QTreeView??

Jeba raj jebamails at gmail.com
Fri May 14 08:29:18 BST 2010


Hello all.

I'm using QTreeView with QDirModel to list the contents of a directory..
When a user selects an item(or a row) i'm removing it from the tree view
using the below method

setRowHidden (self, int, QModelIndex, bool)

How can i know that the tree view is empty or all rows are hidden?? Rowcount
and Columncount doesn't seem to help.. Expecting your answers.. Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100514/0310d2ad/attachment.html>


More information about the PyQt mailing list