eric7.MicroPython.WifiDialogs.WifiCountryDialog

Module implementing a dialog to enter the country code for the WiFi interface.

Global Attributes

None

Classes

WifiCountryDialog Class implementing a dialog to enter the country code for the WiFi interface.

Functions

None


WifiCountryDialog

Class implementing a dialog to enter the country code for the WiFi interface.

Derived from

QDialog, Ui_WifiCountryDialog

Class Attributes

None

Class Methods

None

Methods

WifiCountryDialog Constructor
getCountry Public method to get the entered country code.
on_countryEdit_textChanged Private slot handling a change of the country.

Static Methods

None

WifiCountryDialog (Constructor)

WifiCountryDialog(parent=None)

Constructor

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

WifiCountryDialog.getCountry

getCountry()

Public method to get the entered country code.

Return:
tuple containing the country code and a flag indicating to save it to the settings
Return Type:
tuple of (str, bool)

WifiCountryDialog.on_countryEdit_textChanged

on_countryEdit_textChanged(country)

Private slot handling a change of the country.

country (str)
entered country code
Up