29 @param deviceType device type assigned to this device interface |
29 @param deviceType device type assigned to this device interface |
30 @type str |
30 @type str |
31 @param parent reference to the parent object |
31 @param parent reference to the parent object |
32 @type QObject |
32 @type QObject |
33 """ |
33 """ |
34 super(RP2040Device, self).__init__( |
34 super().__init__( |
35 microPythonWidget, deviceType, parent) |
35 microPythonWidget, deviceType, parent) |
36 |
36 |
37 def setButtons(self): |
37 def setButtons(self): |
38 """ |
38 """ |
39 Public method to enable the supported action buttons. |
39 Public method to enable the supported action buttons. |
40 """ |
40 """ |
41 super(RP2040Device, self).setButtons() |
41 super().setButtons() |
42 self.microPython.setActionButtons( |
42 self.microPython.setActionButtons( |
43 run=True, repl=True, files=True, chart=HAS_QTCHART) |
43 run=True, repl=True, files=True, chart=HAS_QTCHART) |
44 |
44 |
45 def forceInterrupt(self): |
45 def forceInterrupt(self): |
46 """ |
46 """ |