eric7.MicroPython.WifiDialogs.WifiConnectionDialog

Module implementing a dialog to enter the parameters needed to connect to a WiFi network.

Global Attributes

None

Classes

WifiConnectionDialog Class implementing a dialog to enter the parameters needed to connect to a WiFi network.

Functions

None


WifiConnectionDialog

Class implementing a dialog to enter the parameters needed to connect to a WiFi network.

Derived from

QDialog, Ui_WifiConnectionDialog

Class Attributes

None

Class Methods

None

Methods

WifiConnectionDialog Constructor
accept Public slot accepting the dialog.
getConnectionParameters Public method to get the entered connection parameters.
on_showPasswordButton_clicked Private slot to show or hide the password.
on_ssidEdit_textChanged Private slot handling a change of the SSID.

Static Methods

None

WifiConnectionDialog (Constructor)

WifiConnectionDialog(parent=None)

Constructor

parent (QWidget (optional))
reference to the parent widget (defaults to None)

WifiConnectionDialog.accept

accept()

Public slot accepting the dialog.

WifiConnectionDialog.getConnectionParameters

getConnectionParameters()

Public method to get the entered connection parameters.

Return:
tuple containing the SSID and the password
Return Type:
tuple of (str, str)

WifiConnectionDialog.on_showPasswordButton_clicked

on_showPasswordButton_clicked(checked)

Private slot to show or hide the password.

checked (bool)
state of the button

WifiConnectionDialog.on_ssidEdit_textChanged

on_ssidEdit_textChanged(ssid)

Private slot handling a change of the SSID.

ssid (str)
entered SSID
Up