[Qt-interest] Qt show folder size
Sean Harmer
sean.harmer at maps-technology.com
Fri Sep 18 16:40:31 CEST 2009
On Friday 18 Sep 2009 14:58:24 you wrote:
> Sounds great... now some studying about disk cache and maybe some weird
> code because i want to display inside a table widget = file manager the
> folder size of dirs not just an empty place. Thanks again, really helped
> alot.
If you want a file manager type widget I suggest you take look at
QFileSystemModel and how to use this as a data source for a QTreeView for e.g.
The nice trolls have already done all the hard work for you. It even uses a
worker thread so that your main GUI is not blocked as it populates the model.
HTH,
Sean
More information about the Qt-interest-old
mailing list