36 @param deviceType device type assigned to this device interface |
36 @param deviceType device type assigned to this device interface |
37 @type str |
37 @type str |
38 @param parent reference to the parent object |
38 @param parent reference to the parent object |
39 @type QObject |
39 @type QObject |
40 """ |
40 """ |
41 super(EspDevice, self).__init__(microPythonWidget, deviceType, parent) |
41 super().__init__(microPythonWidget, deviceType, parent) |
42 |
42 |
43 def setButtons(self): |
43 def setButtons(self): |
44 """ |
44 """ |
45 Public method to enable the supported action buttons. |
45 Public method to enable the supported action buttons. |
46 """ |
46 """ |
47 super(EspDevice, self).setButtons() |
47 super().setButtons() |
48 self.microPython.setActionButtons( |
48 self.microPython.setActionButtons( |
49 run=True, repl=True, files=True, chart=HAS_QTCHART) |
49 run=True, repl=True, files=True, chart=HAS_QTCHART) |
50 |
50 |
51 def forceInterrupt(self): |
51 def forceInterrupt(self): |
52 """ |
52 """ |