PDA

View Full Version : QdirModel problem



kamlmish
22nd December 2010, 16:35
Hi
I have two small issues in the QDirModel

1) I need to set the column label , that we get in the treeview for the filesystem

Name ,Size, Type are the common labels we get when we display the filesystem in qtreeview. I need to set the labels to a different text.

2) I also need to hide the folder icon , that gets displayed with the subdirectories in the qdirmodel, qtreeview

squidge
22nd December 2010, 17:45
What have you tried so far?

kamlmish
29th December 2010, 10:33
Got the solution

QTreeView::seticonsize(QSize(0,0));