diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/MicroPython/CircuitPythonDevices.py --- a/eric7/MicroPython/CircuitPythonDevices.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/MicroPython/CircuitPythonDevices.py Sat May 22 18:51:46 2021 +0200 @@ -12,7 +12,7 @@ from PyQt6.QtCore import pyqtSlot -from E5Gui import E5MessageBox, E5FileDialog +from E5Gui import EricMessageBox, EricFileDialog from .MicroPythonDevices import MicroPythonDevice from .MicroPythonWidget import HAS_QTCHART @@ -187,7 +187,7 @@ # return the default workspace and give the user a warning (unless # silent mode is selected) if not silent: - E5MessageBox.warning( + EricMessageBox.warning( self.microPython, self.tr("Workspace Directory"), self.tr("Python files for CircuitPython can be edited in" @@ -246,7 +246,7 @@ Private method to show a message box because Teens does not support the UF2 bootloader yet. """ - E5MessageBox.information( + EricMessageBox.information( self.microPython, self.tr("Flash CircuitPython Firmware"), self.tr("""<p>Teensy 4.0 and Teensy 4.1 do not support the UF2""" @@ -263,7 +263,7 @@ Private slot to install Python files into the onboard library. """ if not self.__deviceVolumeMounted(): - E5MessageBox.critical( + EricMessageBox.critical( self.microPython, self.tr("Install Library Files"), self.tr("""The device volume "<b>{0}</b>" is not available.""" @@ -275,7 +275,7 @@ if not os.path.isdir(target): os.makedirs(target) - libraryFiles = E5FileDialog.getOpenFileNames( + libraryFiles = EricFileDialog.getOpenFileNames( self.microPython, self.tr("Install Library Files"), os.path.expanduser("~"),