eric7.MicroPython.Devices.TeensyDialogs.TeensyLoaderCliFirmwareDialog
Module implementing a dialog to enter the data for the Teensy loader CLI.
Global Attributes
Classes
Functions
TeensyLoaderCliFirmwareDialog
Class implementing a dialog to enter the data for the Teensy loader CLI.
Derived from
QDialog, Ui_TeensyLoaderCliFirmwareDialog
Class Attributes
Class Methods
Methods
Static Methods
TeensyLoaderCliFirmwareDialog (Constructor)
TeensyLoaderCliFirmwareDialog(parent=None)
Constructor
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
TeensyLoaderCliFirmwareDialog.__updateContinueButton
__updateContinueButton()
Private method to update the state of the OK button.
TeensyLoaderCliFirmwareDialog.getData
getData()
Public method to get the entered data.
- Return:
-
tuple containg the selected MCU type and the path of the firmware file.
- Return Type:
-
tuple[str, str]