|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>Plugin_Mqtt_Monitor.MqttMonitor.MqttConnectionProfilesDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>Plugin_Mqtt_Monitor.MqttMonitor.MqttConnectionProfilesDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to edit the MQTT connection profiles. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#MqttConnectionProfilesDialog">MqttConnectionProfilesDialog</a></td> |
|
34 <td>Class implementing a dialog to edit the MQTT connection profiles.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="MqttConnectionProfilesDialog" ID="MqttConnectionProfilesDialog"></a> |
|
43 <h2>MqttConnectionProfilesDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to edit the MQTT connection profiles. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_MqttConnectionProfilesDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#MqttConnectionProfilesDialog.__init__">MqttConnectionProfilesDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#MqttConnectionProfilesDialog.__applyProfile">__applyProfile</a></td> |
|
64 <td>Private method to apply the entered data to the list of profiles.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#MqttConnectionProfilesDialog.__clearProfile">__clearProfile</a></td> |
|
67 <td>Private method to clear the profile data entry fields.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MqttConnectionProfilesDialog.__defaultProfile">__defaultProfile</a></td> |
|
70 <td>Private method to populate non-existing profile items.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#MqttConnectionProfilesDialog.__isChangedProfile">__isChangedProfile</a></td> |
|
73 <td>Private method to check, if the currently shown profile contains some changed data.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#MqttConnectionProfilesDialog.__populateProfile">__populateProfile</a></td> |
|
76 <td>Private method to populate the profile data entry fields.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#MqttConnectionProfilesDialog.__populateProfileDefault">__populateProfileDefault</a></td> |
|
79 <td>Private method to populate the profile data entry fields with default profile values.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#MqttConnectionProfilesDialog.__populateProfilesList">__populateProfilesList</a></td> |
|
82 <td>Private method to populate the list of defined profiles.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#MqttConnectionProfilesDialog.__resetProfile">__resetProfile</a></td> |
|
85 <td>Private method to reset the profile data entry fields to their stored values.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#MqttConnectionProfilesDialog.__updateApplyButton">__updateApplyButton</a></td> |
|
88 <td>Private method to set the state of the Apply button.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#MqttConnectionProfilesDialog.accept">accept</a></td> |
|
91 <td>Public slot to accept the dialog.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#MqttConnectionProfilesDialog.getProfiles">getProfiles</a></td> |
|
94 <td>Public method to return a dictionary of profiles.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged">on_brokerAddressEdit_textChanged</a></td> |
|
97 <td>Private slot handling a change of the broker address.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked">on_cleanSessionCheckBox_clicked</a></td> |
|
100 <td>Private slot to handle a change of the clean session selection.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#MqttConnectionProfilesDialog.on_clientIdEdit_textChanged">on_clientIdEdit_textChanged</a></td> |
|
103 <td>Private slot handling a change of the client ID string.</td> |
|
104 </tr><tr> |
|
105 <td><a href="#MqttConnectionProfilesDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
106 <td>Private slot to copy the selected profile entry.</td> |
|
107 </tr><tr> |
|
108 <td><a href="#MqttConnectionProfilesDialog.on_generateIdButton_clicked">on_generateIdButton_clicked</a></td> |
|
109 <td>Private slot to generate a client ID.</td> |
|
110 </tr><tr> |
|
111 <td><a href="#MqttConnectionProfilesDialog.on_minusButton_clicked">on_minusButton_clicked</a></td> |
|
112 <td>Private slot to delete the selected entry.</td> |
|
113 </tr><tr> |
|
114 <td><a href="#MqttConnectionProfilesDialog.on_plusButton_clicked">on_plusButton_clicked</a></td> |
|
115 <td>Private slot to add a new empty profile entry.</td> |
|
116 </tr><tr> |
|
117 <td><a href="#MqttConnectionProfilesDialog.on_profileButtonBox_clicked">on_profileButtonBox_clicked</a></td> |
|
118 <td>Private slot handling presses of the profile buttons.</td> |
|
119 </tr><tr> |
|
120 <td><a href="#MqttConnectionProfilesDialog.on_profileEdit_textChanged">on_profileEdit_textChanged</a></td> |
|
121 <td>Private slot to handle changes of the profile name.</td> |
|
122 </tr><tr> |
|
123 <td><a href="#MqttConnectionProfilesDialog.on_profilesList_currentItemChanged">on_profilesList_currentItemChanged</a></td> |
|
124 <td>Private slot to handle a change of the current profile.</td> |
|
125 </tr><tr> |
|
126 <td><a href="#MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled">on_tlsCertsFileButton_toggled</a></td> |
|
127 <td>Private slot handling the selection of using a non-default certificates file.</td> |
|
128 </tr><tr> |
|
129 <td><a href="#MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged">on_tlsCertsFilePicker_textChanged</a></td> |
|
130 <td>Private slot handling a change of the TLS CA certificates file.</td> |
|
131 </tr><tr> |
|
132 <td><a href="#MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled">on_tlsDefaultCertsButton_toggled</a></td> |
|
133 <td>Private slot handling the selection of using the default certificates file.</td> |
|
134 </tr><tr> |
|
135 <td><a href="#MqttConnectionProfilesDialog.on_tlsGroupBox_toggled">on_tlsGroupBox_toggled</a></td> |
|
136 <td>Private slot handling the selection of TLS mode.</td> |
|
137 </tr><tr> |
|
138 <td><a href="#MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled">on_tlsSelfSignedCertsButton_toggled</a></td> |
|
139 <td>Private slot handling the selection of using self signed client certificate and key files.</td> |
|
140 </tr><tr> |
|
141 <td><a href="#MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged">on_tlsSelfSignedCertsFilePicker_textChanged</a></td> |
|
142 <td>Private slot handling a change of the TLS CA certificates file.</td> |
|
143 </tr><tr> |
|
144 <td><a href="#MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged">on_tlsSelfSignedClientCertFilePicker_textChanged</a></td> |
|
145 <td>Private slot handling a change of the TLS client certificate file.</td> |
|
146 </tr><tr> |
|
147 <td><a href="#MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged">on_tlsSelfSignedClientKeyFilePicker_textChanged</a></td> |
|
148 <td>Private slot handling a change of the TLS client key file.</td> |
|
149 </tr><tr> |
|
150 <td><a href="#MqttConnectionProfilesDialog.reject">reject</a></td> |
|
151 <td>Public slot to reject the dialog changes.</td> |
|
152 </tr> |
|
153 </table> |
|
154 <h3>Static Methods</h3> |
|
155 <table> |
|
156 <tr><td>None</td></tr> |
|
157 </table> |
|
158 <a NAME="MqttConnectionProfilesDialog.__init__" ID="MqttConnectionProfilesDialog.__init__"></a> |
|
159 <h4>MqttConnectionProfilesDialog (Constructor)</h4> |
|
160 <b>MqttConnectionProfilesDialog</b>(<i>client, profiles, parent=None</i>) |
|
161 <p> |
|
162 Constructor |
|
163 </p><dl> |
|
164 <dt><i>client</i> (MqttClient)</dt> |
|
165 <dd> |
|
166 reference to the MQTT client object |
|
167 </dd><dt><i>profiles</i> (dict)</dt> |
|
168 <dd> |
|
169 dictionary containing dictionaries containing the |
|
170 connection parameters. Each entry must have the keys |
|
171 "BrokerAddress", "BrokerPort", "ClientId", |
|
172 "Keepalive", "CleanSession", "Username", "Password", "WillTopic", |
|
173 "WillMessage", "WillQos", "WillRetain", "TlsEnable", "TlsCaCert", |
|
174 "TlsClientCert", "TlsClientKey", "ConnectionTimeout". |
|
175 </dd><dt><i>parent</i> (QWidget)</dt> |
|
176 <dd> |
|
177 reference to the parent widget |
|
178 </dd> |
|
179 </dl><a NAME="MqttConnectionProfilesDialog.__applyProfile" ID="MqttConnectionProfilesDialog.__applyProfile"></a> |
|
180 <h4>MqttConnectionProfilesDialog.__applyProfile</h4> |
|
181 <b>__applyProfile</b>(<i></i>) |
|
182 <p> |
|
183 Private method to apply the entered data to the list of profiles. |
|
184 </p><dl> |
|
185 <dt>Returns:</dt> |
|
186 <dd> |
|
187 name of the applied profile |
|
188 </dd> |
|
189 </dl><dl> |
|
190 <dt>Return Type:</dt> |
|
191 <dd> |
|
192 str |
|
193 </dd> |
|
194 </dl><a NAME="MqttConnectionProfilesDialog.__clearProfile" ID="MqttConnectionProfilesDialog.__clearProfile"></a> |
|
195 <h4>MqttConnectionProfilesDialog.__clearProfile</h4> |
|
196 <b>__clearProfile</b>(<i></i>) |
|
197 <p> |
|
198 Private method to clear the profile data entry fields. |
|
199 </p><a NAME="MqttConnectionProfilesDialog.__defaultProfile" ID="MqttConnectionProfilesDialog.__defaultProfile"></a> |
|
200 <h4>MqttConnectionProfilesDialog.__defaultProfile</h4> |
|
201 <b>__defaultProfile</b>(<i></i>) |
|
202 <p> |
|
203 Private method to populate non-existing profile items. |
|
204 </p><dl> |
|
205 <dt>Returns:</dt> |
|
206 <dd> |
|
207 default dictionary entry |
|
208 </dd> |
|
209 </dl><dl> |
|
210 <dt>Return Type:</dt> |
|
211 <dd> |
|
212 dict |
|
213 </dd> |
|
214 </dl><a NAME="MqttConnectionProfilesDialog.__isChangedProfile" ID="MqttConnectionProfilesDialog.__isChangedProfile"></a> |
|
215 <h4>MqttConnectionProfilesDialog.__isChangedProfile</h4> |
|
216 <b>__isChangedProfile</b>(<i></i>) |
|
217 <p> |
|
218 Private method to check, if the currently shown profile contains some |
|
219 changed data. |
|
220 </p><dl> |
|
221 <dt>Returns:</dt> |
|
222 <dd> |
|
223 flag indicating changed data |
|
224 </dd> |
|
225 </dl><dl> |
|
226 <dt>Return Type:</dt> |
|
227 <dd> |
|
228 bool |
|
229 </dd> |
|
230 </dl><a NAME="MqttConnectionProfilesDialog.__populateProfile" ID="MqttConnectionProfilesDialog.__populateProfile"></a> |
|
231 <h4>MqttConnectionProfilesDialog.__populateProfile</h4> |
|
232 <b>__populateProfile</b>(<i>profileName</i>) |
|
233 <p> |
|
234 Private method to populate the profile data entry fields. |
|
235 </p><dl> |
|
236 <dt><i>profileName</i> (str)</dt> |
|
237 <dd> |
|
238 name of the profile to get data from |
|
239 </dd> |
|
240 </dl><a NAME="MqttConnectionProfilesDialog.__populateProfileDefault" ID="MqttConnectionProfilesDialog.__populateProfileDefault"></a> |
|
241 <h4>MqttConnectionProfilesDialog.__populateProfileDefault</h4> |
|
242 <b>__populateProfileDefault</b>(<i></i>) |
|
243 <p> |
|
244 Private method to populate the profile data entry fields with default |
|
245 profile values. |
|
246 </p><a NAME="MqttConnectionProfilesDialog.__populateProfilesList" ID="MqttConnectionProfilesDialog.__populateProfilesList"></a> |
|
247 <h4>MqttConnectionProfilesDialog.__populateProfilesList</h4> |
|
248 <b>__populateProfilesList</b>(<i>currentProfile=""</i>) |
|
249 <p> |
|
250 Private method to populate the list of defined profiles. |
|
251 </p><dl> |
|
252 <dt><i>currentProfile</i> (str)</dt> |
|
253 <dd> |
|
254 name of the current profile |
|
255 </dd> |
|
256 </dl><a NAME="MqttConnectionProfilesDialog.__resetProfile" ID="MqttConnectionProfilesDialog.__resetProfile"></a> |
|
257 <h4>MqttConnectionProfilesDialog.__resetProfile</h4> |
|
258 <b>__resetProfile</b>(<i></i>) |
|
259 <p> |
|
260 Private method to reset the profile data entry fields to their stored |
|
261 values. |
|
262 </p><a NAME="MqttConnectionProfilesDialog.__updateApplyButton" ID="MqttConnectionProfilesDialog.__updateApplyButton"></a> |
|
263 <h4>MqttConnectionProfilesDialog.__updateApplyButton</h4> |
|
264 <b>__updateApplyButton</b>(<i></i>) |
|
265 <p> |
|
266 Private method to set the state of the Apply button. |
|
267 </p><a NAME="MqttConnectionProfilesDialog.accept" ID="MqttConnectionProfilesDialog.accept"></a> |
|
268 <h4>MqttConnectionProfilesDialog.accept</h4> |
|
269 <b>accept</b>(<i></i>) |
|
270 <p> |
|
271 Public slot to accept the dialog. |
|
272 </p><a NAME="MqttConnectionProfilesDialog.getProfiles" ID="MqttConnectionProfilesDialog.getProfiles"></a> |
|
273 <h4>MqttConnectionProfilesDialog.getProfiles</h4> |
|
274 <b>getProfiles</b>(<i></i>) |
|
275 <p> |
|
276 Public method to return a dictionary of profiles. |
|
277 </p><dl> |
|
278 <dt>Returns:</dt> |
|
279 <dd> |
|
280 dictionary containing dictionaries containing the defined |
|
281 connection profiles. Each entry have the keys "BrokerAddress", |
|
282 "BrokerPort", "ClientId", "Keepalive", "CleanSession", "Username", |
|
283 "Password", "WillTopic", "WillMessage", "WillQos", "WillRetain", |
|
284 "TlsEnable", "TlsCaCert", "TlsClientCert", "TlsClientKey", |
|
285 "ConnectionTimeout". |
|
286 </dd> |
|
287 </dl><dl> |
|
288 <dt>Return Type:</dt> |
|
289 <dd> |
|
290 dict |
|
291 </dd> |
|
292 </dl><a NAME="MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged" ID="MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged"></a> |
|
293 <h4>MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged</h4> |
|
294 <b>on_brokerAddressEdit_textChanged</b>(<i>address</i>) |
|
295 <p> |
|
296 Private slot handling a change of the broker address. |
|
297 </p><dl> |
|
298 <dt><i>address</i> (str)</dt> |
|
299 <dd> |
|
300 broker address |
|
301 </dd> |
|
302 </dl><a NAME="MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked" ID="MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked"></a> |
|
303 <h4>MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked</h4> |
|
304 <b>on_cleanSessionCheckBox_clicked</b>(<i>checked</i>) |
|
305 <p> |
|
306 Private slot to handle a change of the clean session selection. |
|
307 </p><dl> |
|
308 <dt><i>checked</i> (bool)</dt> |
|
309 <dd> |
|
310 current state of the clean session selection |
|
311 </dd> |
|
312 </dl><a NAME="MqttConnectionProfilesDialog.on_clientIdEdit_textChanged" ID="MqttConnectionProfilesDialog.on_clientIdEdit_textChanged"></a> |
|
313 <h4>MqttConnectionProfilesDialog.on_clientIdEdit_textChanged</h4> |
|
314 <b>on_clientIdEdit_textChanged</b>(<i>clientId</i>) |
|
315 <p> |
|
316 Private slot handling a change of the client ID string. |
|
317 </p><dl> |
|
318 <dt><i>clientId</i> (str)</dt> |
|
319 <dd> |
|
320 client ID |
|
321 </dd> |
|
322 </dl><a NAME="MqttConnectionProfilesDialog.on_copyButton_clicked" ID="MqttConnectionProfilesDialog.on_copyButton_clicked"></a> |
|
323 <h4>MqttConnectionProfilesDialog.on_copyButton_clicked</h4> |
|
324 <b>on_copyButton_clicked</b>(<i></i>) |
|
325 <p> |
|
326 Private slot to copy the selected profile entry. |
|
327 </p><a NAME="MqttConnectionProfilesDialog.on_generateIdButton_clicked" ID="MqttConnectionProfilesDialog.on_generateIdButton_clicked"></a> |
|
328 <h4>MqttConnectionProfilesDialog.on_generateIdButton_clicked</h4> |
|
329 <b>on_generateIdButton_clicked</b>(<i></i>) |
|
330 <p> |
|
331 Private slot to generate a client ID. |
|
332 </p><a NAME="MqttConnectionProfilesDialog.on_minusButton_clicked" ID="MqttConnectionProfilesDialog.on_minusButton_clicked"></a> |
|
333 <h4>MqttConnectionProfilesDialog.on_minusButton_clicked</h4> |
|
334 <b>on_minusButton_clicked</b>(<i></i>) |
|
335 <p> |
|
336 Private slot to delete the selected entry. |
|
337 </p><a NAME="MqttConnectionProfilesDialog.on_plusButton_clicked" ID="MqttConnectionProfilesDialog.on_plusButton_clicked"></a> |
|
338 <h4>MqttConnectionProfilesDialog.on_plusButton_clicked</h4> |
|
339 <b>on_plusButton_clicked</b>(<i></i>) |
|
340 <p> |
|
341 Private slot to add a new empty profile entry. |
|
342 </p><a NAME="MqttConnectionProfilesDialog.on_profileButtonBox_clicked" ID="MqttConnectionProfilesDialog.on_profileButtonBox_clicked"></a> |
|
343 <h4>MqttConnectionProfilesDialog.on_profileButtonBox_clicked</h4> |
|
344 <b>on_profileButtonBox_clicked</b>(<i>button</i>) |
|
345 <p> |
|
346 Private slot handling presses of the profile buttons. |
|
347 </p><dl> |
|
348 <dt><i>button</i> (QAbstractButton)</dt> |
|
349 <dd> |
|
350 reference to the pressed button |
|
351 </dd> |
|
352 </dl><a NAME="MqttConnectionProfilesDialog.on_profileEdit_textChanged" ID="MqttConnectionProfilesDialog.on_profileEdit_textChanged"></a> |
|
353 <h4>MqttConnectionProfilesDialog.on_profileEdit_textChanged</h4> |
|
354 <b>on_profileEdit_textChanged</b>(<i>name</i>) |
|
355 <p> |
|
356 Private slot to handle changes of the profile name. |
|
357 </p><dl> |
|
358 <dt><i>name</i> (str)</dt> |
|
359 <dd> |
|
360 name of the profile |
|
361 </dd> |
|
362 </dl><a NAME="MqttConnectionProfilesDialog.on_profilesList_currentItemChanged" ID="MqttConnectionProfilesDialog.on_profilesList_currentItemChanged"></a> |
|
363 <h4>MqttConnectionProfilesDialog.on_profilesList_currentItemChanged</h4> |
|
364 <b>on_profilesList_currentItemChanged</b>(<i>current, previous</i>) |
|
365 <p> |
|
366 Private slot to handle a change of the current profile. |
|
367 </p><dl> |
|
368 <dt><i>current</i> (QListWidgetItem)</dt> |
|
369 <dd> |
|
370 new current item |
|
371 </dd><dt><i>previous</i> (QListWidgetItem)</dt> |
|
372 <dd> |
|
373 previous current item |
|
374 </dd> |
|
375 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled"></a> |
|
376 <h4>MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled</h4> |
|
377 <b>on_tlsCertsFileButton_toggled</b>(<i>checked</i>) |
|
378 <p> |
|
379 Private slot handling the selection of using a non-default |
|
380 certificates file. |
|
381 </p><dl> |
|
382 <dt><i>checked</i> (bool)</dt> |
|
383 <dd> |
|
384 state of the selection |
|
385 </dd> |
|
386 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged"></a> |
|
387 <h4>MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged</h4> |
|
388 <b>on_tlsCertsFilePicker_textChanged</b>(<i>path</i>) |
|
389 <p> |
|
390 Private slot handling a change of the TLS CA certificates file. |
|
391 </p><dl> |
|
392 <dt><i>path</i> (str)</dt> |
|
393 <dd> |
|
394 file path |
|
395 </dd> |
|
396 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled"></a> |
|
397 <h4>MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled</h4> |
|
398 <b>on_tlsDefaultCertsButton_toggled</b>(<i>checked</i>) |
|
399 <p> |
|
400 Private slot handling the selection of using the default |
|
401 certificates file. |
|
402 </p><dl> |
|
403 <dt><i>checked</i> (bool)</dt> |
|
404 <dd> |
|
405 state of the selection |
|
406 </dd> |
|
407 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsGroupBox_toggled" ID="MqttConnectionProfilesDialog.on_tlsGroupBox_toggled"></a> |
|
408 <h4>MqttConnectionProfilesDialog.on_tlsGroupBox_toggled</h4> |
|
409 <b>on_tlsGroupBox_toggled</b>(<i>checked</i>) |
|
410 <p> |
|
411 Private slot handling the selection of TLS mode. |
|
412 </p><dl> |
|
413 <dt><i>checked</i> (bool)</dt> |
|
414 <dd> |
|
415 state of the selection |
|
416 </dd> |
|
417 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled"></a> |
|
418 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled</h4> |
|
419 <b>on_tlsSelfSignedCertsButton_toggled</b>(<i>checked</i>) |
|
420 <p> |
|
421 Private slot handling the selection of using self signed |
|
422 client certificate and key files. |
|
423 </p><dl> |
|
424 <dt><i>checked</i> (bool)</dt> |
|
425 <dd> |
|
426 state of the selection |
|
427 </dd> |
|
428 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged"></a> |
|
429 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged</h4> |
|
430 <b>on_tlsSelfSignedCertsFilePicker_textChanged</b>(<i>path</i>) |
|
431 <p> |
|
432 Private slot handling a change of the TLS CA certificates file. |
|
433 </p><dl> |
|
434 <dt><i>path</i> (str)</dt> |
|
435 <dd> |
|
436 file path |
|
437 </dd> |
|
438 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged"></a> |
|
439 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged</h4> |
|
440 <b>on_tlsSelfSignedClientCertFilePicker_textChanged</b>(<i>path</i>) |
|
441 <p> |
|
442 Private slot handling a change of the TLS client certificate file. |
|
443 </p><dl> |
|
444 <dt><i>path</i> (str)</dt> |
|
445 <dd> |
|
446 file path |
|
447 </dd> |
|
448 </dl><a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged"></a> |
|
449 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged</h4> |
|
450 <b>on_tlsSelfSignedClientKeyFilePicker_textChanged</b>(<i>path</i>) |
|
451 <p> |
|
452 Private slot handling a change of the TLS client key file. |
|
453 </p><dl> |
|
454 <dt><i>path</i> (str)</dt> |
|
455 <dd> |
|
456 file path |
|
457 </dd> |
|
458 </dl><a NAME="MqttConnectionProfilesDialog.reject" ID="MqttConnectionProfilesDialog.reject"></a> |
|
459 <h4>MqttConnectionProfilesDialog.reject</h4> |
|
460 <b>reject</b>(<i></i>) |
|
461 <p> |
|
462 Public slot to reject the dialog changes. |
|
463 </p> |
|
464 <div align="right"><a href="#top">Up</a></div> |
|
465 <hr /> |
|
466 </body></html> |