7 Module implementing the shelve extension interface. |
7 Module implementing the shelve extension interface. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtWidgets import QDialog |
10 from PyQt6.QtWidgets import QDialog |
11 |
11 |
12 from EricWidgets import EricMessageBox |
12 from eric7.EricWidgets import EricMessageBox |
13 |
13 |
14 from ..HgExtension import HgExtension |
14 from ..HgExtension import HgExtension |
15 from ..HgDialog import HgDialog |
15 from ..HgDialog import HgDialog |
16 |
16 |
17 |
17 |
194 if dlg.exec() == QDialog.DialogCode.Accepted: |
194 if dlg.exec() == QDialog.DialogCode.Accepted: |
195 shelveNames = dlg.getSelectedShelves() |
195 shelveNames = dlg.getSelectedShelves() |
196 else: |
196 else: |
197 return |
197 return |
198 |
198 |
199 from UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
199 from eric7.UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
200 |
200 |
201 dlg = DeleteFilesConfirmationDialog( |
201 dlg = DeleteFilesConfirmationDialog( |
202 None, |
202 None, |
203 self.tr("Delete shelves"), |
203 self.tr("Delete shelves"), |
204 self.tr("Do you really want to delete these shelves?"), |
204 self.tr("Do you really want to delete these shelves?"), |