PDA

View Full Version : QFileDialog custom columns



filnik
5th March 2012, 20:52
Hello,
I'm trying to create a custom QFileDialog. The only feature that I would like to create is the possibility to add some custom columns, similar to "type" or "file size" to display additional informations about the files that are beeing viewed. However, this seems to be almoust impossible. I've seen that you can use some abstractproxy-something, but I really have no clue where to start.

Is there anybody that can help me pointing the solution (or at least how to start)?

Thank you a lot,
Filnik.

high_flyer
6th March 2012, 10:16
Doesn't QFileDialog::setViewMode() do the job?

filnik
6th March 2012, 13:12
Thank you for the reply, btw that allows you to set the detail mode (and that's fine) but the problem is that I want to add also some custom columns and not to see only the default ones. I really can't find out how to do that :(

high_flyer
6th March 2012, 13:51
You will have to subclass QFileDialog for that.