Declare QFileDialog but the filtered files will be displayed
-
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
cMyFileDialog fileDialog(this);
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
!http://img407.imageshack.us/img407/5341/709g.png(http://img407.imageshack.us/img407/5341/709g.png)!