El dimecres, 10 de juny de 2020, a les 11:52:03 CEST, David Faure va escriure:
> On mercredi 10 juin 2020 00:52:16 CEST Albert Astals Cid wrote:
> > As far as I can see QFileDialog only supports listing by file extension.
> > 
> > On the other hand it seems in GTK+ land you can get an open file dialog
> > listing by mimetype, so I've got one bug about "you're worse than XXX
> > because you can't do this"
> 
> What does "list by mimetype" mean exactly?
> Is this about a mimetype column in the table/tree view? (missing)
> Is this about the filter combobox showing mimetypes? (supported)
> Or is it something else?

It's about using https://doc.qt.io/qt-5/qfiledialog.html#setMimeTypeFilters ^_^

Thanks Friedrich on IRC for reminding me that function exists

And sorry for the noise.

Cheers,
  Albert

> 
> 




Reply via email to