src/eric7/MicroPython/MicroPythonGraphWidget.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/MicroPython/MicroPythonGraphWidget.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/MicroPython/MicroPythonGraphWidget.py	Tue Oct 18 16:06:21 2022 +0200
@@ -28,11 +28,11 @@
 )
 from PyQt6.QtCharts import QChartView, QChart, QLineSeries, QValueAxis
 
-from EricWidgets import EricMessageBox
-from EricWidgets.EricApplication import ericApp
+from eric7.EricWidgets import EricMessageBox
+from eric7.EricWidgets.EricApplication import ericApp
 
-import UI.PixmapCache
-import Preferences
+from eric7.EricGui import EricPixmapCache
+from eric7 import Preferences
 
 
 class MicroPythonGraphWidget(QWidget):
@@ -68,7 +68,7 @@
         self.__layout.addLayout(self.__verticalLayout)
 
         self.__saveButton = QToolButton(self)
-        self.__saveButton.setIcon(UI.PixmapCache.getIcon("fileSave"))
+        self.__saveButton.setIcon(EricPixmapCache.getIcon("fileSave"))
         self.__saveButton.setToolTip(self.tr("Press to save the raw data"))
         self.__saveButton.clicked.connect(self.on_saveButton_clicked)
         self.__verticalLayout.addWidget(self.__saveButton)

eric ide

mercurial