Home > Mobile >  Qt 4.8 QFileDialog setSelectedFilter interface in Qt 5.9 how to do
Qt 4.8 QFileDialog setSelectedFilter interface in Qt 5.9 how to do

Time:11-07

Everybody is good! A project from Qt 4.8 upgrade to Qt 5.9.4, there is a problem: the QFileDialog setSelectedFilter interface in Qt 4.8 Qt 5.9, use setSelectedFilter () to choose one of them as a file you given the default filter dialog box, and how to implement in Qt 5.9?

CodePudding user response:

SetMimeTypeFilters
SetNameFilter
SetNameFilters

SelectNameFilter

These to see can help document, did not know which one?

CodePudding user response:

I see no setSelectedFilter 4.8 document () this way, even if not obsolete but can also be used to
  •  Tags:  
  • Qt
  • Related