QFileDialog::getOpenFileName Filter String
General and Desktop
4
Posts
2
Posters
3.4k
Views
1
Watching
-
I am using the static native open window function call, I am setting the filter string "All formats (*.a *.b etc..)" but it is too long to fit on the screen. I have 50 some extensions so I was wondering if there is a way to have a "All format" selection without having to have all the extensions in it.
-
You could always use the classic star () .
So you would have something like this:
@
dialog.setNameFilter(tr("All formats ()"));
@ -
Ok then i would suppose you need:
@
dialog.setNameFilterDetailsVisible ( false );
@