Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
9800 | 1 | <!DOCTYPE html> |
2 | <html><head> | |
3 | <title>eric7.MicroPython.WifiDialogs.WifiConnectionDialog</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.WifiConnectionDialog</h1> | |
10 | <p> | |
11 | Module implementing a dialog to enter the parameters needed to connect to a WiFi | |
12 | network. | |
13 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
14 | |
9800 | 15 | <h3>Global Attributes</h3> |
16 | <table> | |
17 | <tr><td>None</td></tr> | |
18 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
19 | |
9800 | 20 | <h3>Classes</h3> |
21 | <table> | |
22 | <tr> | |
23 | <td><a href="#WifiConnectionDialog">WifiConnectionDialog</a></td> | |
24 | <td>Class implementing a dialog to enter the parameters needed to connect to a WiFi network.</td> | |
25 | </tr> | |
26 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
27 | |
9800 | 28 | <h3>Functions</h3> |
29 | <table> | |
30 | <tr><td>None</td></tr> | |
31 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
32 | |
9800 | 33 | <hr /> |
34 | <hr /> | |
35 | <a NAME="WifiConnectionDialog" ID="WifiConnectionDialog"></a> | |
36 | <h2>WifiConnectionDialog</h2> | |
37 | <p> | |
38 | Class implementing a dialog to enter the parameters needed to connect to a WiFi | |
39 | network. | |
40 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
41 | |
9800 | 42 | <h3>Derived from</h3> |
43 | QDialog, Ui_WifiConnectionDialog | |
44 | <h3>Class Attributes</h3> | |
45 | <table> | |
46 | <tr><td>None</td></tr> | |
47 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
48 | |
9800 | 49 | <h3>Class Methods</h3> |
50 | <table> | |
51 | <tr><td>None</td></tr> | |
52 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
53 | |
9800 | 54 | <h3>Methods</h3> |
55 | <table> | |
56 | <tr> | |
57 | <td><a href="#WifiConnectionDialog.__init__">WifiConnectionDialog</a></td> | |
58 | <td>Constructor</td> | |
59 | </tr> | |
60 | <tr> | |
9871
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
61 | <td><a href="#WifiConnectionDialog.accept">accept</a></td> |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
62 | <td>Public slot accepting the dialog.</td> |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
63 | </tr> |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
64 | <tr> |
9800 | 65 | <td><a href="#WifiConnectionDialog.getConnectionParameters">getConnectionParameters</a></td> |
66 | <td>Public method to get the entered connection parameters.</td> | |
67 | </tr> | |
68 | <tr> | |
10153 | 69 | <td><a href="#WifiConnectionDialog.getCountryCode">getCountryCode</a></td> |
70 | <td>Public method to get the entered country code.</td> | |
71 | </tr> | |
72 | <tr> | |
9800 | 73 | <td><a href="#WifiConnectionDialog.on_showPasswordButton_clicked">on_showPasswordButton_clicked</a></td> |
74 | <td>Private slot to show or hide the password.</td> | |
75 | </tr> | |
76 | <tr> | |
77 | <td><a href="#WifiConnectionDialog.on_ssidEdit_textChanged">on_ssidEdit_textChanged</a></td> | |
78 | <td>Private slot handling a change of the SSID.</td> | |
79 | </tr> | |
80 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
81 | |
9800 | 82 | <h3>Static Methods</h3> |
83 | <table> | |
84 | <tr><td>None</td></tr> | |
85 | </table> | |
86 | ||
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
87 | |
9800 | 88 | <a NAME="WifiConnectionDialog.__init__" ID="WifiConnectionDialog.__init__"></a> |
89 | <h4>WifiConnectionDialog (Constructor)</h4> | |
10153 | 90 | <b>WifiConnectionDialog</b>(<i>withCountry=False, parent=None</i>) |
9800 | 91 | <p> |
92 | Constructor | |
93 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
94 | |
9800 | 95 | <dl> |
96 | ||
10153 | 97 | <dt><i>withCountry</i> (bool)</dt> |
98 | <dd> | |
99 | flag indicating to show the country entry (defaults to False) | |
100 | </dd> | |
9800 | 101 | <dt><i>parent</i> (QWidget (optional))</dt> |
102 | <dd> | |
103 | reference to the parent widget (defaults to None) | |
104 | </dd> | |
105 | </dl> | |
9871
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
106 | <a NAME="WifiConnectionDialog.accept" ID="WifiConnectionDialog.accept"></a> |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
107 | <h4>WifiConnectionDialog.accept</h4> |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
108 | <b>accept</b>(<i></i>) |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
109 | <p> |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
110 | Public slot accepting the dialog. |
4a302b8c4d28
Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9800
diff
changeset
|
111 | </p> |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
112 | |
9800 | 113 | <a NAME="WifiConnectionDialog.getConnectionParameters" ID="WifiConnectionDialog.getConnectionParameters"></a> |
114 | <h4>WifiConnectionDialog.getConnectionParameters</h4> | |
115 | <b>getConnectionParameters</b>(<i></i>) | |
116 | <p> | |
117 | Public method to get the entered connection parameters. | |
118 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
119 | |
9800 | 120 | <dl> |
121 | <dt>Return:</dt> | |
122 | <dd> | |
10153 | 123 | tuple containing the SSID, the password and the host name |
9800 | 124 | </dd> |
125 | </dl> | |
126 | <dl> | |
127 | <dt>Return Type:</dt> | |
128 | <dd> | |
10153 | 129 | tuple of (str, str, str) |
130 | </dd> | |
131 | </dl> | |
132 | <a NAME="WifiConnectionDialog.getCountryCode" ID="WifiConnectionDialog.getCountryCode"></a> | |
133 | <h4>WifiConnectionDialog.getCountryCode</h4> | |
134 | <b>getCountryCode</b>(<i></i>) | |
135 | <p> | |
136 | Public method to get the entered country code. | |
137 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
138 | |
10153 | 139 | <dl> |
140 | <dt>Return:</dt> | |
141 | <dd> | |
142 | DESCRIPTION | |
143 | </dd> | |
144 | </dl> | |
145 | <dl> | |
146 | <dt>Return Type:</dt> | |
147 | <dd> | |
148 | TYPE | |
9800 | 149 | </dd> |
150 | </dl> | |
151 | <a NAME="WifiConnectionDialog.on_showPasswordButton_clicked" ID="WifiConnectionDialog.on_showPasswordButton_clicked"></a> | |
152 | <h4>WifiConnectionDialog.on_showPasswordButton_clicked</h4> | |
153 | <b>on_showPasswordButton_clicked</b>(<i>checked</i>) | |
154 | <p> | |
155 | Private slot to show or hide the password. | |
156 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
157 | |
9800 | 158 | <dl> |
159 | ||
160 | <dt><i>checked</i> (bool)</dt> | |
161 | <dd> | |
162 | state of the button | |
163 | </dd> | |
164 | </dl> | |
165 | <a NAME="WifiConnectionDialog.on_ssidEdit_textChanged" ID="WifiConnectionDialog.on_ssidEdit_textChanged"></a> | |
166 | <h4>WifiConnectionDialog.on_ssidEdit_textChanged</h4> | |
167 | <b>on_ssidEdit_textChanged</b>(<i>ssid</i>) | |
168 | <p> | |
169 | Private slot handling a change of the SSID. | |
170 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
171 | |
9800 | 172 | <dl> |
173 | ||
174 | <dt><i>ssid</i> (str)</dt> | |
175 | <dd> | |
176 | entered SSID | |
177 | </dd> | |
178 | </dl> | |
179 | <div align="right"><a href="#top">Up</a></div> | |
180 | <hr /> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10153
diff
changeset
|
181 | </body></html> |