src/eric7/Documentation/Source/eric7.MicroPython.WifiDialogs.WifiApConfigDialog.html

Fri, 10 Mar 2023 18:10:13 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 10 Mar 2023 18:10:13 +0100
branch
mpy_network
changeset 9871
4a302b8c4d28
parent 9800
25f388536caf
child 10479
856476537696
permissions
-rw-r--r--

Updated source documentation.

<!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.accept">accept</a></td>
<td>Public slot accepting the dialog.</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.accept" ID="WifiApConfigDialog.accept"></a>
<h4>WifiApConfigDialog.accept</h4>
<b>accept</b>(<i></i>)

<p>
        Public slot accepting the dialog.
</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 tuple with the IPv4 address, the netmask, the gateway address and
            the resolver address
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, str, int, (str, str, str, str))
</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>

eric ide

mercurial