ファイルを選択する
2022/08/28
dir = self.sourceDir
filters = "Text files (*.txt);;Images (*.png *.xpm *.jpg)"
selected_filter = "Images (*.png *.xpm *.jpg)"
options = ""
fileObj = QFileDialog.getOpenFileName(self, " File dialog ", dir, filters, selected_filter, options)
http://stackoverflow.com/questions/27998880/how-to-use-options-in-qfiledialog-getopenfilename