custom file dialog
-
I am trying to create a custom file dialog where I need to show only the allowd file types in the file dialog view . In windows , setting namefilter worked whereas in Mac OS , unsupported files are disabled. Is there a way that only allowed file types to be shown in view for Mac OS ?
-
I am trying to create a custom file dialog where I need to show only the allowd file types in the file dialog view . In windows , setting namefilter worked whereas in Mac OS , unsupported files are disabled. Is there a way that only allowed file types to be shown in view for Mac OS ?
@haripriya said in custom file dialog:
setting namefilter
What is this filter and where do you set it?
You should be more specific. -
am trying to set the name filters like
filedialog->setNameFilters(fileTypeFilters);Am setting this in the constructor of my custom file dialog derived from QFiledialog
The unsupported files are displayed but in grey
@haripriya Not sure, can be that this is default behaviour on MacOS.
-
@haripriya Not sure, can be that this is default behaviour on MacOS.