9 |
9 |
10 import os |
10 import os |
11 |
11 |
12 from PyQt6.QtWidgets import QMenu, QDialog |
12 from PyQt6.QtWidgets import QMenu, QDialog |
13 |
13 |
14 from E5Gui.E5Application import e5App |
14 from E5Gui.EricApplication import ericApp |
15 |
15 |
16 from Project.ProjectBrowserModel import ProjectBrowserFileItem |
16 from Project.ProjectBrowserModel import ProjectBrowserFileItem |
17 |
17 |
18 from VCS.ProjectBrowserHelper import VcsProjectBrowserHelper |
18 from VCS.ProjectBrowserHelper import VcsProjectBrowserHelper |
19 |
19 |
552 |
552 |
553 def __GitConfigure(self): |
553 def __GitConfigure(self): |
554 """ |
554 """ |
555 Private method to open the configuration dialog. |
555 Private method to open the configuration dialog. |
556 """ |
556 """ |
557 e5App().getObject("UserInterface").showPreferences("zzz_gitPage") |
557 ericApp().getObject("UserInterface").showPreferences("zzz_gitPage") |
558 |
558 |
559 def __GitForget(self): |
559 def __GitForget(self): |
560 """ |
560 """ |
561 Private slot called by the context menu to remove the selected file |
561 Private slot called by the context menu to remove the selected file |
562 from the Git repository leaving a copy in the project directory. |
562 from the Git repository leaving a copy in the project directory. |