Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Declare QFileDialog but the filtered files will be displayed
yoll522 last edited by
HI everyone, I use a subclass of QFileDialog that contains the Q_OBJECT macro.
I want to get user selected file, this is my code
fileDialog.setNameFilter ( " Image Files (*.png *.jpg *.jpeg *.bmp) " );
my question is the dialog will be displayed filter files
thought filter files can not select one by one, but can drag the mouse to select,
how to hide the filter files?
Thanks for your help.
My English was bad, sorry