8355:8a7677a63c8d | 8356:68ec9c3d4de5 |
---|---|
10 import os | 10 import os |
11 | 11 |
12 from PyQt6.QtCore import pyqtSlot | 12 from PyQt6.QtCore import pyqtSlot |
13 from PyQt6.QtWidgets import QDialog, QDialogButtonBox | 13 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
14 | 14 |
15 from E5Gui import E5FileDialog | 15 from E5Gui import EricFileDialog |
16 | 16 |
17 from .Ui_GitArchiveDataDialog import Ui_GitArchiveDataDialog | 17 from .Ui_GitArchiveDataDialog import Ui_GitArchiveDataDialog |
18 | 18 |
19 import UI.PixmapCache | 19 import UI.PixmapCache |
20 import Utilities | 20 import Utilities |
80 @pyqtSlot() | 80 @pyqtSlot() |
81 def on_fileButton_clicked(self): | 81 def on_fileButton_clicked(self): |
82 """ | 82 """ |
83 Private slot to select a file via a file selection dialog. | 83 Private slot to select a file via a file selection dialog. |
84 """ | 84 """ |
85 fileName = E5FileDialog.getSaveFileName( | 85 fileName = EricFileDialog.getSaveFileName( |
86 self, | 86 self, |
87 self.tr("Select Archive File"), | 87 self.tr("Select Archive File"), |
88 Utilities.fromNativeSeparators(self.fileEdit.text()), | 88 Utilities.fromNativeSeparators(self.fileEdit.text()), |
89 "") | 89 "") |
90 | 90 |