--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.WifiDialogs.WifiApConfigDialog.html Sat Feb 25 19:18:43 2023 +0100 @@ -0,0 +1,141 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.MicroPython.WifiDialogs.WifiApConfigDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.MicroPython.WifiDialogs.WifiApConfigDialog</h1> + +<p> +Module implementing a dialog to configure the Access Point interface. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#WifiApConfigDialog">WifiApConfigDialog</a></td> +<td>Class implementing a dialog to configure the Access Point interface.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="WifiApConfigDialog" ID="WifiApConfigDialog"></a> +<h2>WifiApConfigDialog</h2> + +<p> + Class implementing a dialog to configure the Access Point interface. +</p> +<h3>Derived from</h3> +QDialog, Ui_WifiApConfigDialog +<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="#WifiApConfigDialog.__init__">WifiApConfigDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#WifiApConfigDialog.__updateOk">__updateOk</a></td> +<td>Private method to update the enabled state of the OK button.</td> +</tr> +<tr> +<td><a href="#WifiApConfigDialog.getApConfig">getApConfig</a></td> +<td>Public method to get the entered access point configuration data.</td> +</tr> +<tr> +<td><a href="#WifiApConfigDialog.on_apShowPasswordButton_clicked">on_apShowPasswordButton_clicked</a></td> +<td>Private slot to show or hide the WiFi Access Point password.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="WifiApConfigDialog.__init__" ID="WifiApConfigDialog.__init__"></a> +<h4>WifiApConfigDialog (Constructor)</h4> +<b>WifiApConfigDialog</b>(<i>withIP, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>withIP</i> (bool)</dt> +<dd> +flag indicating to ask the user for an IP configuration +</dd> +<dt><i>parent</i> (QWidget (optional))</dt> +<dd> +reference to the parent widget (defaults to None) +</dd> +</dl> +<a NAME="WifiApConfigDialog.__updateOk" ID="WifiApConfigDialog.__updateOk"></a> +<h4>WifiApConfigDialog.__updateOk</h4> +<b>__updateOk</b>(<i></i>) + +<p> + Private method to update the enabled state of the OK button. +</p> +<a NAME="WifiApConfigDialog.getApConfig" ID="WifiApConfigDialog.getApConfig"></a> +<h4>WifiApConfigDialog.getApConfig</h4> +<b>getApConfig</b>(<i></i>) + +<p> + Public method to get the entered access point configuration data. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple containing the SSID, the password, the selected security mode + and a flag indicating to save the parameters to the settings +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (str, str, int, bool) +</dd> +</dl> +<a NAME="WifiApConfigDialog.on_apShowPasswordButton_clicked" ID="WifiApConfigDialog.on_apShowPasswordButton_clicked"></a> +<h4>WifiApConfigDialog.on_apShowPasswordButton_clicked</h4> +<b>on_apShowPasswordButton_clicked</b>(<i>checked</i>) + +<p> + Private slot to show or hide the WiFi Access Point password. +</p> +<dl> + +<dt><i>checked</i> (bool)</dt> +<dd> +state of the button +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file