--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.WifiDialogs.WifiCountryDialog.html Sat Feb 25 19:18:43 2023 +0100 @@ -0,0 +1,126 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.MicroPython.WifiDialogs.WifiCountryDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.MicroPython.WifiDialogs.WifiCountryDialog</h1> + +<p> +Module implementing a dialog to enter the country code for the WiFi interface. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#WifiCountryDialog">WifiCountryDialog</a></td> +<td>Class implementing a dialog to enter the country code for the WiFi interface.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="WifiCountryDialog" ID="WifiCountryDialog"></a> +<h2>WifiCountryDialog</h2> + +<p> + Class implementing a dialog to enter the country code for the WiFi interface. +</p> +<h3>Derived from</h3> +QDialog, Ui_WifiCountryDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#WifiCountryDialog.__init__">WifiCountryDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#WifiCountryDialog.getCountry">getCountry</a></td> +<td>Public method to get the entered country code.</td> +</tr> +<tr> +<td><a href="#WifiCountryDialog.on_countryEdit_textChanged">on_countryEdit_textChanged</a></td> +<td>Private slot handling a change of the country.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="WifiCountryDialog.__init__" ID="WifiCountryDialog.__init__"></a> +<h4>WifiCountryDialog (Constructor)</h4> +<b>WifiCountryDialog</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i> (QWidget (optional))</dt> +<dd> +reference to the parent widget (defaults to None) +</dd> +</dl> +<a NAME="WifiCountryDialog.getCountry" ID="WifiCountryDialog.getCountry"></a> +<h4>WifiCountryDialog.getCountry</h4> +<b>getCountry</b>(<i></i>) + +<p> + Public method to get the entered country code. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple containing the country code and a flag indicating to save it to + the settings +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (str, bool) +</dd> +</dl> +<a NAME="WifiCountryDialog.on_countryEdit_textChanged" ID="WifiCountryDialog.on_countryEdit_textChanged"></a> +<h4>WifiCountryDialog.on_countryEdit_textChanged</h4> +<b>on_countryEdit_textChanged</b>(<i>country</i>) + +<p> + Private slot handling a change of the country. +</p> +<dl> + +<dt><i>country</i> (str)</dt> +<dd> +entered country code +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file