eric7.MicroPython.MicroPythonWebreplUrlAddEditDialog
Module implementing a dialog to edit the parameters for a WebREPL connection.
Global Attributes
Classes
Functions
MicroPythonWebreplUrlAddEditDialog
Class implementing a dialog to edit the parameters for a WebREPL connection.
Derived from
QDialog, Ui_MicroPythonWebreplUrlAddEditDialog
Class Attributes
Class Methods
Methods
Static Methods
MicroPythonWebreplUrlAddEditDialog (Constructor)
MicroPythonWebreplUrlAddEditDialog(definedNames, connectionParams=None, parent=None)
Constructor
- definedNames (list of str)
-
list of already define WebREPL connection names
- connectionParams (tuple of (str, str, str) (optional))
-
parameters for the WebREPL connection to be edited
(default to None)
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
MicroPythonWebreplUrlAddEditDialog.__populateFields
__populateFields(params)
Private method to populate the various dialog fields with the given parameters.
- params (tuple of (str, str, str))
-
arameters for the WebREPL connection to be edited
MicroPythonWebreplUrlAddEditDialog.__updateOkButton
__updateOkButton()
Private slot to update the enabled state of the OK button.
MicroPythonWebreplUrlAddEditDialog.getWebreplUrl
getWebreplUrl()
Public method to retrieve the entered WebREPL connection data.
- Return:
-
tuple containing the name, description, URL and device type for
the WebREPL connection
- Return Type:
-
tuple of (str, str, str, str)