papillon
18th October 2011, 00:01
I'd like to display multiple directory models into a QTreeview, like this for example:
C:\
temp1
temp2
D:\
temp1
temp2
E:\
temp3
temp4
C:\myFolder
temp5
temp6
I've searched in the forum and it seems it could be done using a proxy model? Any chance to get some example code?
I also would like to ask if there is a way to get the number of current rows displayed in the QTreeView. It seems there is no such function...
C:\
temp1
temp2
D:\
temp1
temp2
E:\
temp3
temp4
C:\myFolder
temp5
temp6
I've searched in the forum and it seems it could be done using a proxy model? Any chance to get some example code?
I also would like to ask if there is a way to get the number of current rows displayed in the QTreeView. It seems there is no such function...