|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.MicroPython.WifiDialogs.WifiNetworksWindow</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.MicroPython.WifiDialogs.WifiNetworksWindow</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog showing the available WiFi networks. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#WifiNetworksWindow">WifiNetworksWindow</a></td> |
|
25 <td>Class implementing a dialog showing the available WiFi networks.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="WifiNetworksWindow" ID="WifiNetworksWindow"></a> |
|
36 <h2>WifiNetworksWindow</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog showing the available WiFi networks. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QWidget, Ui_WifiNetworksWindow |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#WifiNetworksWindow.__init__">WifiNetworksWindow</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#WifiNetworksWindow.__resizeColumns">__resizeColumns</a></td> |
|
63 <td>Private method to resize the columns of the result list.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#WifiNetworksWindow.__resort">__resort</a></td> |
|
67 <td>Private method to resort the networks list.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#WifiNetworksWindow.closeEvent">closeEvent</a></td> |
|
71 <td>Protected method to handle a window close event.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#WifiNetworksWindow.on_intervalSpinBox_valueChanged">on_intervalSpinBox_valueChanged</a></td> |
|
75 <td>Private slot handling a change of the periodic scan interval.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#WifiNetworksWindow.on_periodicCheckBox_toggled">on_periodicCheckBox_toggled</a></td> |
|
79 <td>Private slot handling the selection of a periodic scan.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#WifiNetworksWindow.scanNetworks">scanNetworks</a></td> |
|
83 <td>Public method to ask the device for a network scan and display the result.</td> |
|
84 </tr> |
|
85 </table> |
|
86 <h3>Static Methods</h3> |
|
87 |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 |
|
92 <a NAME="WifiNetworksWindow.__init__" ID="WifiNetworksWindow.__init__"></a> |
|
93 <h4>WifiNetworksWindow (Constructor)</h4> |
|
94 <b>WifiNetworksWindow</b>(<i>device, parent=None</i>) |
|
95 |
|
96 <p> |
|
97 Constructor |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>device</i> (BaseDevice)</dt> |
|
102 <dd> |
|
103 reference to the connected device |
|
104 </dd> |
|
105 <dt><i>parent</i> (QWidget (optional))</dt> |
|
106 <dd> |
|
107 reference to the parent widget (defaults to None) |
|
108 </dd> |
|
109 </dl> |
|
110 <a NAME="WifiNetworksWindow.__resizeColumns" ID="WifiNetworksWindow.__resizeColumns"></a> |
|
111 <h4>WifiNetworksWindow.__resizeColumns</h4> |
|
112 <b>__resizeColumns</b>(<i></i>) |
|
113 |
|
114 <p> |
|
115 Private method to resize the columns of the result list. |
|
116 </p> |
|
117 <a NAME="WifiNetworksWindow.__resort" ID="WifiNetworksWindow.__resort"></a> |
|
118 <h4>WifiNetworksWindow.__resort</h4> |
|
119 <b>__resort</b>(<i></i>) |
|
120 |
|
121 <p> |
|
122 Private method to resort the networks list. |
|
123 </p> |
|
124 <a NAME="WifiNetworksWindow.closeEvent" ID="WifiNetworksWindow.closeEvent"></a> |
|
125 <h4>WifiNetworksWindow.closeEvent</h4> |
|
126 <b>closeEvent</b>(<i>evt</i>) |
|
127 |
|
128 <p> |
|
129 Protected method to handle a window close event. |
|
130 </p> |
|
131 <dl> |
|
132 |
|
133 <dt><i>evt</i> (QCloseEvent)</dt> |
|
134 <dd> |
|
135 reference to the close event |
|
136 </dd> |
|
137 </dl> |
|
138 <a NAME="WifiNetworksWindow.on_intervalSpinBox_valueChanged" ID="WifiNetworksWindow.on_intervalSpinBox_valueChanged"></a> |
|
139 <h4>WifiNetworksWindow.on_intervalSpinBox_valueChanged</h4> |
|
140 <b>on_intervalSpinBox_valueChanged</b>(<i>interval</i>) |
|
141 |
|
142 <p> |
|
143 Private slot handling a change of the periodic scan interval. |
|
144 </p> |
|
145 <dl> |
|
146 |
|
147 <dt><i>interval</i> (int)</dt> |
|
148 <dd> |
|
149 periodic scan interval |
|
150 </dd> |
|
151 </dl> |
|
152 <a NAME="WifiNetworksWindow.on_periodicCheckBox_toggled" ID="WifiNetworksWindow.on_periodicCheckBox_toggled"></a> |
|
153 <h4>WifiNetworksWindow.on_periodicCheckBox_toggled</h4> |
|
154 <b>on_periodicCheckBox_toggled</b>(<i>checked</i>) |
|
155 |
|
156 <p> |
|
157 Private slot handling the selection of a periodic scan. |
|
158 </p> |
|
159 <dl> |
|
160 |
|
161 <dt><i>checked</i> (bool)</dt> |
|
162 <dd> |
|
163 flag indicating a periodic scan |
|
164 </dd> |
|
165 </dl> |
|
166 <a NAME="WifiNetworksWindow.scanNetworks" ID="WifiNetworksWindow.scanNetworks"></a> |
|
167 <h4>WifiNetworksWindow.scanNetworks</h4> |
|
168 <b>scanNetworks</b>(<i></i>) |
|
169 |
|
170 <p> |
|
171 Public method to ask the device for a network scan and display the result. |
|
172 </p> |
|
173 <div align="right"><a href="#top">Up</a></div> |
|
174 <hr /> |
|
175 </body></html> |