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

Mon, 22 Apr 2024 18:23:20 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 22 Apr 2024 18:23:20 +0200
branch
eric7
changeset 10690
fab36645aa7d
parent 10479
856476537696
permissions
-rw-r--r--

Changed the source code and the source code documentation to improve the indication of unused method/function arguments.

<!DOCTYPE html>
<html><head>
<title>eric7.MicroPython.WifiDialogs.WifiNetworksWindow</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.MicroPython.WifiDialogs.WifiNetworksWindow</h1>
<p>
Module implementing a dialog showing the available WiFi networks.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#WifiNetworksWindow">WifiNetworksWindow</a></td>
<td>Class implementing a dialog showing the available WiFi networks.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="WifiNetworksWindow" ID="WifiNetworksWindow"></a>
<h2>WifiNetworksWindow</h2>
<p>
    Class implementing a dialog showing the available WiFi networks.
</p>

<h3>Derived from</h3>
QWidget, Ui_WifiNetworksWindow
<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="#WifiNetworksWindow.__init__">WifiNetworksWindow</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#WifiNetworksWindow.__resizeColumns">__resizeColumns</a></td>
<td>Private method to resize the columns of the result list.</td>
</tr>
<tr>
<td><a href="#WifiNetworksWindow.__resort">__resort</a></td>
<td>Private method to resort the networks list.</td>
</tr>
<tr>
<td><a href="#WifiNetworksWindow.closeEvent">closeEvent</a></td>
<td>Protected method to handle a window close event.</td>
</tr>
<tr>
<td><a href="#WifiNetworksWindow.on_intervalSpinBox_valueChanged">on_intervalSpinBox_valueChanged</a></td>
<td>Private slot handling a change of the periodic scan interval.</td>
</tr>
<tr>
<td><a href="#WifiNetworksWindow.on_periodicCheckBox_toggled">on_periodicCheckBox_toggled</a></td>
<td>Private slot handling the selection of a periodic scan.</td>
</tr>
<tr>
<td><a href="#WifiNetworksWindow.scanNetworks">scanNetworks</a></td>
<td>Public slot to ask the device for a network scan and display the result.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="WifiNetworksWindow.__init__" ID="WifiNetworksWindow.__init__"></a>
<h4>WifiNetworksWindow (Constructor)</h4>
<b>WifiNetworksWindow</b>(<i>device, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>device</i> (BaseDevice)</dt>
<dd>
reference to the connected device
</dd>
<dt><i>parent</i> (QWidget (optional))</dt>
<dd>
reference to the parent widget (defaults to None)
</dd>
</dl>
<a NAME="WifiNetworksWindow.__resizeColumns" ID="WifiNetworksWindow.__resizeColumns"></a>
<h4>WifiNetworksWindow.__resizeColumns</h4>
<b>__resizeColumns</b>(<i></i>)
<p>
        Private method to resize the columns of the result list.
</p>

<a NAME="WifiNetworksWindow.__resort" ID="WifiNetworksWindow.__resort"></a>
<h4>WifiNetworksWindow.__resort</h4>
<b>__resort</b>(<i></i>)
<p>
        Private method to resort the networks list.
</p>

<a NAME="WifiNetworksWindow.closeEvent" ID="WifiNetworksWindow.closeEvent"></a>
<h4>WifiNetworksWindow.closeEvent</h4>
<b>closeEvent</b>(<i>_evt</i>)
<p>
        Protected method to handle a window close event.
</p>

<dl>

<dt><i>_evt</i> (QCloseEvent)</dt>
<dd>
reference to the close event (unused)
</dd>
</dl>
<a NAME="WifiNetworksWindow.on_intervalSpinBox_valueChanged" ID="WifiNetworksWindow.on_intervalSpinBox_valueChanged"></a>
<h4>WifiNetworksWindow.on_intervalSpinBox_valueChanged</h4>
<b>on_intervalSpinBox_valueChanged</b>(<i>interval</i>)
<p>
        Private slot handling a change of the periodic scan interval.
</p>

<dl>

<dt><i>interval</i> (int)</dt>
<dd>
periodic scan interval
</dd>
</dl>
<a NAME="WifiNetworksWindow.on_periodicCheckBox_toggled" ID="WifiNetworksWindow.on_periodicCheckBox_toggled"></a>
<h4>WifiNetworksWindow.on_periodicCheckBox_toggled</h4>
<b>on_periodicCheckBox_toggled</b>(<i>checked</i>)
<p>
        Private slot handling the selection of a periodic scan.
</p>

<dl>

<dt><i>checked</i> (bool)</dt>
<dd>
flag indicating a periodic scan
</dd>
</dl>
<a NAME="WifiNetworksWindow.scanNetworks" ID="WifiNetworksWindow.scanNetworks"></a>
<h4>WifiNetworksWindow.scanNetworks</h4>
<b>scanNetworks</b>(<i></i>)
<p>
        Public slot to ask the device for a network scan and display the result.
</p>

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial