src/eric7/VCS/ProjectHelper.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/VCS/ProjectHelper.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/VCS/ProjectHelper.py	Tue Oct 18 16:06:21 2022 +0200
@@ -15,13 +15,13 @@
 from PyQt6.QtCore import pyqtSlot, QObject, QCoreApplication
 from PyQt6.QtWidgets import QDialog, QInputDialog, QToolBar
 
-from EricGui.EricAction import EricAction
-from EricWidgets import EricMessageBox
-from EricWidgets.EricApplication import ericApp
+from eric7.EricGui.EricAction import EricAction
+from eric7.EricWidgets import EricMessageBox
+from eric7.EricWidgets.EricApplication import ericApp
 
-import Preferences
-import UI.PixmapCache
-import UI.Config
+from eric7 import Preferences
+from eric7.EricGui import EricPixmapCache
+from eric7.UI import Config
 
 
 class VcsProjectHelper(QObject):
@@ -67,7 +67,7 @@
         """
         self.vcsNewAct = EricAction(
             QCoreApplication.translate("VcsProjectHelper", "New from repository"),
-            UI.PixmapCache.getIcon("vcsCheckout"),
+            EricPixmapCache.getIcon("vcsCheckout"),
             QCoreApplication.translate("VcsProjectHelper", "&New from repository..."),
             0,
             0,
@@ -92,7 +92,7 @@
 
         self.vcsExportAct = EricAction(
             QCoreApplication.translate("VcsProjectHelper", "Export from repository"),
-            UI.PixmapCache.getIcon("vcsExport"),
+            EricPixmapCache.getIcon("vcsExport"),
             QCoreApplication.translate(
                 "VcsProjectHelper", "&Export from repository..."
             ),
@@ -118,7 +118,7 @@
 
         self.vcsAddAct = EricAction(
             QCoreApplication.translate("VcsProjectHelper", "Add to repository"),
-            UI.PixmapCache.getIcon("vcsCommit"),
+            EricPixmapCache.getIcon("vcsCommit"),
             QCoreApplication.translate("VcsProjectHelper", "&Add to repository..."),
             0,
             0,
@@ -176,7 +176,7 @@
         @return the toolbar generated (QToolBar)
         """
         tb = QToolBar(QCoreApplication.translate("VcsProjectHelper", "VCS"), ui)
-        tb.setIconSize(UI.Config.ToolBarIconSize)
+        tb.setIconSize(Config.ToolBarIconSize)
         tb.setObjectName("VersionControlToolbar")
         tb.setToolTip(QCoreApplication.translate("VcsProjectHelper", "VCS"))
 
@@ -342,7 +342,7 @@
                             self.project.ppath = projectdir
                             self.project.opened = True
 
-                            from Project.PropertiesDialog import PropertiesDialog
+                            from eric7.Project.PropertiesDialog import PropertiesDialog
 
                             dlg = PropertiesDialog(self.project, False)
                             if dlg.exec() == QDialog.DialogCode.Accepted:

eric ide

mercurial