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.
getCountryCode Public method to get the entered country code.
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(withCountry=False, parent=None)

Constructor

withCountry (bool)
flag indicating to show the country entry (defaults to False)
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, the password and the host name
Return Type:
tuple of (str, str, str)

WifiConnectionDialog.getCountryCode

getCountryCode()

Public method to get the entered country code.

Return:
DESCRIPTION
Return Type:
TYPE

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