src/eric7/Plugins/AboutPlugin/AboutDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/Plugins/AboutPlugin/AboutDialog.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/Plugins/AboutPlugin/AboutDialog.py	Tue Oct 18 16:06:21 2022 +0200
@@ -12,13 +12,13 @@
 
 from .Ui_AboutDialog import Ui_AboutDialog
 
-import Preferences
+from eric7 import Preferences
 
-import UI.PixmapCache
-import UI.Info
+from eric7.EricGui import EricPixmapCache
+from eric7.UI import Info
 
 
-titleText = "<b>{0} - {1}</b>".format(UI.Info.Program, UI.Info.Version)
+titleText = "<b>{0} - {1}</b>".format(Info.Program, Info.Version)
 
 aboutText = QCoreApplication.translate(
     "AboutDialog",
@@ -33,7 +33,7 @@
     """<p>{0} uses third party software which is copyrighted"""
     """ by its respective copyright holder. For details see"""
     """ the copyright notice of the individual package.</p>""",
-).format(UI.Info.Program, UI.Info.Homepage, UI.Info.BugAddress, UI.Info.FeatureAddress)
+).format(Info.Program, Info.Homepage, Info.BugAddress, Info.FeatureAddress)
 
 authorsText = """
 Detlev Offenbach
@@ -729,7 +729,7 @@
 
                      END OF TERMS AND CONDITIONS
 """
-).format(UI.Info.Copyright)
+).format(Info.Copyright)
 
 
 class AboutDialog(QDialog, Ui_AboutDialog):
@@ -748,7 +748,7 @@
         self.setWindowFlags(Qt.WindowType.Window)
 
         self.ericLabel.setText(titleText)
-        self.ericPixmap.setPixmap(UI.PixmapCache.getPixmap("eric").scaled(48, 48))
+        self.ericPixmap.setPixmap(EricPixmapCache.getPixmap("eric").scaled(48, 48))
 
         ####################################################################
         ## ABOUT

eric ide

mercurial