eric7.MicroPython.WifiDialogs.WifiCountryDialog
Module implementing a dialog to enter the country code for the WiFi interface.
Global Attributes
Classes
WifiCountryDialog |
Class implementing a dialog to enter the country code for the WiFi interface. |
Functions
WifiCountryDialog
Class implementing a dialog to enter the country code for the WiFi interface.
Derived from
QDialog, Ui_WifiCountryDialog
Class Attributes
Class Methods
Methods
Static Methods
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