eric7.MicroPython.Devices.TeensyDialogs.TeensyLoaderCliFirmwareDialog

Module implementing a dialog to enter the data for the Teensy loader CLI.

Global Attributes

None

Classes

TeensyLoaderCliFirmwareDialog Class implementing a dialog to enter the data for the Teensy loader CLI.

Functions

None


TeensyLoaderCliFirmwareDialog

Class implementing a dialog to enter the data for the Teensy loader CLI.

Derived from

QDialog, Ui_TeensyLoaderCliFirmwareDialog

Class Attributes

MCUs

Class Methods

None

Methods

TeensyLoaderCliFirmwareDialog Constructor
__updateContinueButton Private method to update the state of the OK button.
getData Public method to get the entered data.

Static Methods

None

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]
Up