--- a/src/eric7/UI/NumbersWidget.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/UI/NumbersWidget.py Tue Oct 18 16:06:21 2022 +0200 @@ -10,11 +10,11 @@ from PyQt6.QtCore import pyqtSlot, pyqtSignal, Qt, QAbstractTableModel from PyQt6.QtWidgets import QWidget, QHeaderView -from EricWidgets.EricApplication import ericApp +from eric7.EricWidgets.EricApplication import ericApp from .Ui_NumbersWidget import Ui_NumbersWidget -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class BinaryModel(QAbstractTableModel): @@ -179,7 +179,7 @@ super().__init__(parent) self.setupUi(self) - self.setWindowIcon(UI.PixmapCache.getIcon("eric")) + self.setWindowIcon(EricPixmapCache.getIcon("eric")) self.__badNumberSheet = ( "background-color: #b31b1b;" @@ -187,14 +187,14 @@ else "background-color: #ffa0a0;" ) - self.binInButton.setIcon(UI.PixmapCache.getIcon("2downarrow")) - self.binOutButton.setIcon(UI.PixmapCache.getIcon("2uparrow")) - self.octInButton.setIcon(UI.PixmapCache.getIcon("2downarrow")) - self.octOutButton.setIcon(UI.PixmapCache.getIcon("2uparrow")) - self.decInButton.setIcon(UI.PixmapCache.getIcon("2downarrow")) - self.decOutButton.setIcon(UI.PixmapCache.getIcon("2uparrow")) - self.hexInButton.setIcon(UI.PixmapCache.getIcon("2downarrow")) - self.hexOutButton.setIcon(UI.PixmapCache.getIcon("2uparrow")) + self.binInButton.setIcon(EricPixmapCache.getIcon("2downarrow")) + self.binOutButton.setIcon(EricPixmapCache.getIcon("2uparrow")) + self.octInButton.setIcon(EricPixmapCache.getIcon("2downarrow")) + self.octOutButton.setIcon(EricPixmapCache.getIcon("2uparrow")) + self.decInButton.setIcon(EricPixmapCache.getIcon("2downarrow")) + self.decOutButton.setIcon(EricPixmapCache.getIcon("2uparrow")) + self.hexInButton.setIcon(EricPixmapCache.getIcon("2downarrow")) + self.hexOutButton.setIcon(EricPixmapCache.getIcon("2uparrow")) self.formatBox.addItem(self.tr("Auto"), 0) self.formatBox.addItem(self.tr("Dec"), 10)