PyQt/PySide qfiledialog icon size

519 Views Asked by At

Is there a way to have larger icons in the qFileDialog? This is for use in an image filedialog.

Anything more simple than writing my own using qlistwidget?

1

There are 1 best solutions below

0
On

You can set an icon provider on the QFileDialog.

The icon provider must be a subclass of QFileIconProvider, which reimplements the icon() method in order to return custom icons for the requested file-types.