15 from PyQt5.QtWidgets import QDialog |
15 from PyQt5.QtWidgets import QDialog |
16 |
16 |
17 from E5Gui import E5MessageBox |
17 from E5Gui import E5MessageBox |
18 |
18 |
19 from .MicroPythonDevices import MicroPythonDevice |
19 from .MicroPythonDevices import MicroPythonDevice |
20 from .MicroPythonReplWidget import HAS_QTCHART |
20 from .MicroPythonWidget import HAS_QTCHART |
21 |
21 |
22 import Utilities |
22 import Utilities |
23 |
23 |
24 |
24 |
25 class CircuitPythonDevice(MicroPythonDevice): |
25 class CircuitPythonDevice(MicroPythonDevice): |
31 def __init__(self, microPythonWidget, parent=None): |
31 def __init__(self, microPythonWidget, parent=None): |
32 """ |
32 """ |
33 Constructor |
33 Constructor |
34 |
34 |
35 @param microPythonWidget reference to the main MicroPython widget |
35 @param microPythonWidget reference to the main MicroPython widget |
36 @type MicroPythonReplWidget |
36 @type MicroPythonWidget |
37 @param parent reference to the parent object |
37 @param parent reference to the parent object |
38 @type QObject |
38 @type QObject |
39 """ |
39 """ |
40 super(CircuitPythonDevice, self).__init__(microPythonWidget, parent) |
40 super(CircuitPythonDevice, self).__init__(microPythonWidget, parent) |
41 |
41 |