self.appliEficas.maConfiguration.savedir,
filters)
else:
- print(filters)
+ #print(filters)
fichier = QFileDialog.getOpenFileName(self.appliEficas,
tr('Ouvrir Fichier'),
self.appliEficas.maConfiguration.savedir,
def BFichierOuRepertoirePressed(self):
self.fileName=""
- print (0)
self.file_dialog=QFileDialog()
- print (1)
self.file_dialog.setFileMode(QFileDialog.Directory);
- print (2)
self.file_dialog.setFileMode(QFileDialog.Directory|QFileDialog.ExistingFiles)
- print (3)
self.file_dialog.setOption(QFileDialog.DontUseNativeDialog,True);
self.file_dialog.setWindowTitle('Choose File or Directory')
self.explore(self.file_dialog)