17 QDialog, |
17 QDialog, |
18 QDialogButtonBox, |
18 QDialogButtonBox, |
19 QTreeWidgetItem, |
19 QTreeWidgetItem, |
20 ) |
20 ) |
21 |
21 |
22 from EricWidgets import EricMessageBox |
22 from eric7.EricWidgets import EricMessageBox |
23 from EricGui.EricOverrideCursor import EricOverrideCursorProcess |
23 from eric7.EricGui.EricOverrideCursor import EricOverrideCursorProcess |
24 |
24 |
25 from .Ui_SvnRepoBrowserDialog import Ui_SvnRepoBrowserDialog |
25 from .Ui_SvnRepoBrowserDialog import Ui_SvnRepoBrowserDialog |
26 |
26 |
27 import UI.PixmapCache |
27 from eric7.EricGui import EricPixmapCache |
28 |
28 |
29 import Preferences |
29 from eric7 import Preferences |
30 from Globals import strToQByteArray |
30 from eric7.Globals import strToQByteArray |
31 |
31 |
32 |
32 |
33 class SvnRepoBrowserDialog(QDialog, Ui_SvnRepoBrowserDialog): |
33 class SvnRepoBrowserDialog(QDialog, Ui_SvnRepoBrowserDialog): |
34 """ |
34 """ |
35 Class implementing the subversion repository browser dialog. |
35 Class implementing the subversion repository browser dialog. |
63 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).hide() |
63 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).hide() |
64 else: |
64 else: |
65 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).hide() |
65 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).hide() |
66 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).hide() |
66 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).hide() |
67 |
67 |
68 self.__dirIcon = UI.PixmapCache.getIcon("dirClosed") |
68 self.__dirIcon = EricPixmapCache.getIcon("dirClosed") |
69 self.__fileIcon = UI.PixmapCache.getIcon("fileMisc") |
69 self.__fileIcon = EricPixmapCache.getIcon("fileMisc") |
70 |
70 |
71 self.__urlRole = Qt.ItemDataRole.UserRole |
71 self.__urlRole = Qt.ItemDataRole.UserRole |
72 self.__ignoreExpand = False |
72 self.__ignoreExpand = False |
73 self.intercept = False |
73 self.intercept = False |
74 |
74 |