The following code works as expected: dialog = QFileDialog(self) dialog.setFileMode(QFileDialog.Directory) if dialog.exec(): save_folder ...
確定! 回上一頁