MqttMonitor/Documentation/source/Plugin_Mqtt_Monitor.MqttMonitor.MqttConnectionProfilesDialog.html

branch
eric7
changeset 141
864edfb1bb63
parent 115
357257ad48d2
equal deleted inserted replaced
140:853ffd248dda 141:864edfb1bb63
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>Plugin_Mqtt_Monitor.MqttMonitor.MqttConnectionProfilesDialog</h1> 9 <h1>Plugin_Mqtt_Monitor.MqttMonitor.MqttConnectionProfilesDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to edit the MQTT connection profiles. 11 Module implementing a dialog to edit the MQTT connection profiles.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#MqttConnectionProfilesDialog">MqttConnectionProfilesDialog</a></td> 22 <td><a href="#MqttConnectionProfilesDialog">MqttConnectionProfilesDialog</a></td>
25 <td>Class implementing a dialog to edit the MQTT connection profiles.</td> 23 <td>Class implementing a dialog to edit the MQTT connection profiles.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="MqttConnectionProfilesDialog" ID="MqttConnectionProfilesDialog"></a> 34 <a NAME="MqttConnectionProfilesDialog" ID="MqttConnectionProfilesDialog"></a>
36 <h2>MqttConnectionProfilesDialog</h2> 35 <h2>MqttConnectionProfilesDialog</h2>
37
38 <p> 36 <p>
39 Class implementing a dialog to edit the MQTT connection profiles. 37 Class implementing a dialog to edit the MQTT connection profiles.
40 </p> 38 </p>
39
41 <h3>Derived from</h3> 40 <h3>Derived from</h3>
42 QDialog, Ui_MqttConnectionProfilesDialog 41 QDialog, Ui_MqttConnectionProfilesDialog
43 <h3>Class Attributes</h3> 42 <h3>Class Attributes</h3>
44
45 <table> 43 <table>
46 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
47 </table> 45 </table>
46
48 <h3>Class Methods</h3> 47 <h3>Class Methods</h3>
49
50 <table> 48 <table>
51 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
52 </table> 50 </table>
51
53 <h3>Methods</h3> 52 <h3>Methods</h3>
54
55 <table> 53 <table>
56
57 <tr> 54 <tr>
58 <td><a href="#MqttConnectionProfilesDialog.__init__">MqttConnectionProfilesDialog</a></td> 55 <td><a href="#MqttConnectionProfilesDialog.__init__">MqttConnectionProfilesDialog</a></td>
59 <td>Constructor</td> 56 <td>Constructor</td>
60 </tr> 57 </tr>
61 <tr> 58 <tr>
197 <tr> 194 <tr>
198 <td><a href="#MqttConnectionProfilesDialog.reject">reject</a></td> 195 <td><a href="#MqttConnectionProfilesDialog.reject">reject</a></td>
199 <td>Public slot to reject the dialog changes.</td> 196 <td>Public slot to reject the dialog changes.</td>
200 </tr> 197 </tr>
201 </table> 198 </table>
199
202 <h3>Static Methods</h3> 200 <h3>Static Methods</h3>
203
204 <table> 201 <table>
205 <tr><td>None</td></tr> 202 <tr><td>None</td></tr>
206 </table> 203 </table>
207 204
205
208 <a NAME="MqttConnectionProfilesDialog.__init__" ID="MqttConnectionProfilesDialog.__init__"></a> 206 <a NAME="MqttConnectionProfilesDialog.__init__" ID="MqttConnectionProfilesDialog.__init__"></a>
209 <h4>MqttConnectionProfilesDialog (Constructor)</h4> 207 <h4>MqttConnectionProfilesDialog (Constructor)</h4>
210 <b>MqttConnectionProfilesDialog</b>(<i>profiles, currentProfile="", parent=None</i>) 208 <b>MqttConnectionProfilesDialog</b>(<i>profiles, currentProfile="", parent=None</i>)
211
212 <p> 209 <p>
213 Constructor 210 Constructor
214 </p> 211 </p>
212
215 <dl> 213 <dl>
216 214
217 <dt><i>profiles</i> (dict)</dt> 215 <dt><i>profiles</i> (dict)</dt>
218 <dd> 216 <dd>
219 dictionary containing dictionaries containing the 217 dictionary containing dictionaries containing the
234 </dd> 232 </dd>
235 </dl> 233 </dl>
236 <a NAME="MqttConnectionProfilesDialog.__applyProfile" ID="MqttConnectionProfilesDialog.__applyProfile"></a> 234 <a NAME="MqttConnectionProfilesDialog.__applyProfile" ID="MqttConnectionProfilesDialog.__applyProfile"></a>
237 <h4>MqttConnectionProfilesDialog.__applyProfile</h4> 235 <h4>MqttConnectionProfilesDialog.__applyProfile</h4>
238 <b>__applyProfile</b>(<i></i>) 236 <b>__applyProfile</b>(<i></i>)
239
240 <p> 237 <p>
241 Private method to apply the entered data to the list of profiles. 238 Private method to apply the entered data to the list of profiles.
242 </p> 239 </p>
240
243 <dl> 241 <dl>
244 <dt>Return:</dt> 242 <dt>Return:</dt>
245 <dd> 243 <dd>
246 name of the applied profile 244 name of the applied profile
247 </dd> 245 </dd>
253 </dd> 251 </dd>
254 </dl> 252 </dl>
255 <a NAME="MqttConnectionProfilesDialog.__clearProfile" ID="MqttConnectionProfilesDialog.__clearProfile"></a> 253 <a NAME="MqttConnectionProfilesDialog.__clearProfile" ID="MqttConnectionProfilesDialog.__clearProfile"></a>
256 <h4>MqttConnectionProfilesDialog.__clearProfile</h4> 254 <h4>MqttConnectionProfilesDialog.__clearProfile</h4>
257 <b>__clearProfile</b>(<i></i>) 255 <b>__clearProfile</b>(<i></i>)
258
259 <p> 256 <p>
260 Private method to clear the profile data entry fields. 257 Private method to clear the profile data entry fields.
261 </p> 258 </p>
259
262 <a NAME="MqttConnectionProfilesDialog.__defaultProfile" ID="MqttConnectionProfilesDialog.__defaultProfile"></a> 260 <a NAME="MqttConnectionProfilesDialog.__defaultProfile" ID="MqttConnectionProfilesDialog.__defaultProfile"></a>
263 <h4>MqttConnectionProfilesDialog.__defaultProfile</h4> 261 <h4>MqttConnectionProfilesDialog.__defaultProfile</h4>
264 <b>__defaultProfile</b>(<i></i>) 262 <b>__defaultProfile</b>(<i></i>)
265
266 <p> 263 <p>
267 Private method to populate non-existing profile items. 264 Private method to populate non-existing profile items.
268 </p> 265 </p>
266
269 <dl> 267 <dl>
270 <dt>Return:</dt> 268 <dt>Return:</dt>
271 <dd> 269 <dd>
272 default dictionary entry 270 default dictionary entry
273 </dd> 271 </dd>
279 </dd> 277 </dd>
280 </dl> 278 </dl>
281 <a NAME="MqttConnectionProfilesDialog.__isChangedProfile" ID="MqttConnectionProfilesDialog.__isChangedProfile"></a> 279 <a NAME="MqttConnectionProfilesDialog.__isChangedProfile" ID="MqttConnectionProfilesDialog.__isChangedProfile"></a>
282 <h4>MqttConnectionProfilesDialog.__isChangedProfile</h4> 280 <h4>MqttConnectionProfilesDialog.__isChangedProfile</h4>
283 <b>__isChangedProfile</b>(<i></i>) 281 <b>__isChangedProfile</b>(<i></i>)
284
285 <p> 282 <p>
286 Private method to check, if the currently shown profile contains some 283 Private method to check, if the currently shown profile contains some
287 changed data. 284 changed data.
288 </p> 285 </p>
286
289 <dl> 287 <dl>
290 <dt>Return:</dt> 288 <dt>Return:</dt>
291 <dd> 289 <dd>
292 flag indicating changed data 290 flag indicating changed data
293 </dd> 291 </dd>
299 </dd> 297 </dd>
300 </dl> 298 </dl>
301 <a NAME="MqttConnectionProfilesDialog.__populateProfile" ID="MqttConnectionProfilesDialog.__populateProfile"></a> 299 <a NAME="MqttConnectionProfilesDialog.__populateProfile" ID="MqttConnectionProfilesDialog.__populateProfile"></a>
302 <h4>MqttConnectionProfilesDialog.__populateProfile</h4> 300 <h4>MqttConnectionProfilesDialog.__populateProfile</h4>
303 <b>__populateProfile</b>(<i>profileName</i>) 301 <b>__populateProfile</b>(<i>profileName</i>)
304
305 <p> 302 <p>
306 Private method to populate the profile data entry fields. 303 Private method to populate the profile data entry fields.
307 </p> 304 </p>
305
308 <dl> 306 <dl>
309 307
310 <dt><i>profileName</i> (str)</dt> 308 <dt><i>profileName</i> (str)</dt>
311 <dd> 309 <dd>
312 name of the profile to get data from 310 name of the profile to get data from
313 </dd> 311 </dd>
314 </dl> 312 </dl>
315 <a NAME="MqttConnectionProfilesDialog.__populateProfileDefault" ID="MqttConnectionProfilesDialog.__populateProfileDefault"></a> 313 <a NAME="MqttConnectionProfilesDialog.__populateProfileDefault" ID="MqttConnectionProfilesDialog.__populateProfileDefault"></a>
316 <h4>MqttConnectionProfilesDialog.__populateProfileDefault</h4> 314 <h4>MqttConnectionProfilesDialog.__populateProfileDefault</h4>
317 <b>__populateProfileDefault</b>(<i></i>) 315 <b>__populateProfileDefault</b>(<i></i>)
318
319 <p> 316 <p>
320 Private method to populate the profile data entry fields with default 317 Private method to populate the profile data entry fields with default
321 profile values. 318 profile values.
322 </p> 319 </p>
320
323 <a NAME="MqttConnectionProfilesDialog.__populateProfilesList" ID="MqttConnectionProfilesDialog.__populateProfilesList"></a> 321 <a NAME="MqttConnectionProfilesDialog.__populateProfilesList" ID="MqttConnectionProfilesDialog.__populateProfilesList"></a>
324 <h4>MqttConnectionProfilesDialog.__populateProfilesList</h4> 322 <h4>MqttConnectionProfilesDialog.__populateProfilesList</h4>
325 <b>__populateProfilesList</b>(<i>currentProfile=""</i>) 323 <b>__populateProfilesList</b>(<i>currentProfile=""</i>)
326
327 <p> 324 <p>
328 Private method to populate the list of defined profiles. 325 Private method to populate the list of defined profiles.
329 </p> 326 </p>
327
330 <dl> 328 <dl>
331 329
332 <dt><i>currentProfile</i> (str)</dt> 330 <dt><i>currentProfile</i> (str)</dt>
333 <dd> 331 <dd>
334 name of the current profile 332 name of the current profile
335 </dd> 333 </dd>
336 </dl> 334 </dl>
337 <a NAME="MqttConnectionProfilesDialog.__propertiesTypeSelected" ID="MqttConnectionProfilesDialog.__propertiesTypeSelected"></a> 335 <a NAME="MqttConnectionProfilesDialog.__propertiesTypeSelected" ID="MqttConnectionProfilesDialog.__propertiesTypeSelected"></a>
338 <h4>MqttConnectionProfilesDialog.__propertiesTypeSelected</h4> 336 <h4>MqttConnectionProfilesDialog.__propertiesTypeSelected</h4>
339 <b>__propertiesTypeSelected</b>(<i>checked</i>) 337 <b>__propertiesTypeSelected</b>(<i>checked</i>)
340
341 <p> 338 <p>
342 Private slot to handle the switching of the user properties type. 339 Private slot to handle the switching of the user properties type.
343 </p> 340 </p>
341
344 <dl> 342 <dl>
345 343
346 <dt><i>checked</i> (bool)</dt> 344 <dt><i>checked</i> (bool)</dt>
347 <dd> 345 <dd>
348 state of the buttons 346 state of the buttons
349 </dd> 347 </dd>
350 </dl> 348 </dl>
351 <a NAME="MqttConnectionProfilesDialog.__resetProfile" ID="MqttConnectionProfilesDialog.__resetProfile"></a> 349 <a NAME="MqttConnectionProfilesDialog.__resetProfile" ID="MqttConnectionProfilesDialog.__resetProfile"></a>
352 <h4>MqttConnectionProfilesDialog.__resetProfile</h4> 350 <h4>MqttConnectionProfilesDialog.__resetProfile</h4>
353 <b>__resetProfile</b>(<i></i>) 351 <b>__resetProfile</b>(<i></i>)
354
355 <p> 352 <p>
356 Private method to reset the profile data entry fields to their stored 353 Private method to reset the profile data entry fields to their stored
357 values. 354 values.
358 </p> 355 </p>
356
359 <a NAME="MqttConnectionProfilesDialog.__updateApplyButton" ID="MqttConnectionProfilesDialog.__updateApplyButton"></a> 357 <a NAME="MqttConnectionProfilesDialog.__updateApplyButton" ID="MqttConnectionProfilesDialog.__updateApplyButton"></a>
360 <h4>MqttConnectionProfilesDialog.__updateApplyButton</h4> 358 <h4>MqttConnectionProfilesDialog.__updateApplyButton</h4>
361 <b>__updateApplyButton</b>(<i></i>) 359 <b>__updateApplyButton</b>(<i></i>)
362
363 <p> 360 <p>
364 Private method to set the state of the Apply button. 361 Private method to set the state of the Apply button.
365 </p> 362 </p>
363
366 <a NAME="MqttConnectionProfilesDialog.accept" ID="MqttConnectionProfilesDialog.accept"></a> 364 <a NAME="MqttConnectionProfilesDialog.accept" ID="MqttConnectionProfilesDialog.accept"></a>
367 <h4>MqttConnectionProfilesDialog.accept</h4> 365 <h4>MqttConnectionProfilesDialog.accept</h4>
368 <b>accept</b>(<i></i>) 366 <b>accept</b>(<i></i>)
369
370 <p> 367 <p>
371 Public slot to accept the dialog. 368 Public slot to accept the dialog.
372 </p> 369 </p>
370
373 <a NAME="MqttConnectionProfilesDialog.getProfiles" ID="MqttConnectionProfilesDialog.getProfiles"></a> 371 <a NAME="MqttConnectionProfilesDialog.getProfiles" ID="MqttConnectionProfilesDialog.getProfiles"></a>
374 <h4>MqttConnectionProfilesDialog.getProfiles</h4> 372 <h4>MqttConnectionProfilesDialog.getProfiles</h4>
375 <b>getProfiles</b>(<i></i>) 373 <b>getProfiles</b>(<i></i>)
376
377 <p> 374 <p>
378 Public method to return a dictionary of profiles. 375 Public method to return a dictionary of profiles.
379 </p> 376 </p>
377
380 <dl> 378 <dl>
381 <dt>Return:</dt> 379 <dt>Return:</dt>
382 <dd> 380 <dd>
383 dictionary containing dictionaries containing the defined 381 dictionary containing dictionaries containing the defined
384 connection profiles. Each entry has the keys "BrokerAddress", 382 connection profiles. Each entry has the keys "BrokerAddress",
396 </dd> 394 </dd>
397 </dl> 395 </dl>
398 <a NAME="MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged" ID="MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged"></a> 396 <a NAME="MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged" ID="MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged"></a>
399 <h4>MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged</h4> 397 <h4>MqttConnectionProfilesDialog.on_brokerAddressEdit_textChanged</h4>
400 <b>on_brokerAddressEdit_textChanged</b>(<i>address</i>) 398 <b>on_brokerAddressEdit_textChanged</b>(<i>address</i>)
401
402 <p> 399 <p>
403 Private slot handling a change of the broker address. 400 Private slot handling a change of the broker address.
404 </p> 401 </p>
402
405 <dl> 403 <dl>
406 404
407 <dt><i>address</i> (str)</dt> 405 <dt><i>address</i> (str)</dt>
408 <dd> 406 <dd>
409 broker address 407 broker address
410 </dd> 408 </dd>
411 </dl> 409 </dl>
412 <a NAME="MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked" ID="MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked"></a> 410 <a NAME="MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked" ID="MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked"></a>
413 <h4>MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked</h4> 411 <h4>MqttConnectionProfilesDialog.on_cleanSessionCheckBox_clicked</h4>
414 <b>on_cleanSessionCheckBox_clicked</b>(<i>checked</i>) 412 <b>on_cleanSessionCheckBox_clicked</b>(<i>checked</i>)
415
416 <p> 413 <p>
417 Private slot to handle a change of the clean session selection. 414 Private slot to handle a change of the clean session selection.
418 </p> 415 </p>
416
419 <dl> 417 <dl>
420 418
421 <dt><i>checked</i> (bool)</dt> 419 <dt><i>checked</i> (bool)</dt>
422 <dd> 420 <dd>
423 current state of the clean session selection 421 current state of the clean session selection
424 </dd> 422 </dd>
425 </dl> 423 </dl>
426 <a NAME="MqttConnectionProfilesDialog.on_clientIdEdit_textChanged" ID="MqttConnectionProfilesDialog.on_clientIdEdit_textChanged"></a> 424 <a NAME="MqttConnectionProfilesDialog.on_clientIdEdit_textChanged" ID="MqttConnectionProfilesDialog.on_clientIdEdit_textChanged"></a>
427 <h4>MqttConnectionProfilesDialog.on_clientIdEdit_textChanged</h4> 425 <h4>MqttConnectionProfilesDialog.on_clientIdEdit_textChanged</h4>
428 <b>on_clientIdEdit_textChanged</b>(<i>clientId</i>) 426 <b>on_clientIdEdit_textChanged</b>(<i>clientId</i>)
429
430 <p> 427 <p>
431 Private slot handling a change of the client ID string. 428 Private slot handling a change of the client ID string.
432 </p> 429 </p>
430
433 <dl> 431 <dl>
434 432
435 <dt><i>clientId</i> (str)</dt> 433 <dt><i>clientId</i> (str)</dt>
436 <dd> 434 <dd>
437 client ID 435 client ID
438 </dd> 436 </dd>
439 </dl> 437 </dl>
440 <a NAME="MqttConnectionProfilesDialog.on_copyButton_clicked" ID="MqttConnectionProfilesDialog.on_copyButton_clicked"></a> 438 <a NAME="MqttConnectionProfilesDialog.on_copyButton_clicked" ID="MqttConnectionProfilesDialog.on_copyButton_clicked"></a>
441 <h4>MqttConnectionProfilesDialog.on_copyButton_clicked</h4> 439 <h4>MqttConnectionProfilesDialog.on_copyButton_clicked</h4>
442 <b>on_copyButton_clicked</b>(<i></i>) 440 <b>on_copyButton_clicked</b>(<i></i>)
443
444 <p> 441 <p>
445 Private slot to copy the selected profile entry. 442 Private slot to copy the selected profile entry.
446 </p> 443 </p>
444
447 <a NAME="MqttConnectionProfilesDialog.on_generateIdButton_clicked" ID="MqttConnectionProfilesDialog.on_generateIdButton_clicked"></a> 445 <a NAME="MqttConnectionProfilesDialog.on_generateIdButton_clicked" ID="MqttConnectionProfilesDialog.on_generateIdButton_clicked"></a>
448 <h4>MqttConnectionProfilesDialog.on_generateIdButton_clicked</h4> 446 <h4>MqttConnectionProfilesDialog.on_generateIdButton_clicked</h4>
449 <b>on_generateIdButton_clicked</b>(<i></i>) 447 <b>on_generateIdButton_clicked</b>(<i></i>)
450
451 <p> 448 <p>
452 Private slot to generate a client ID. 449 Private slot to generate a client ID.
453 </p> 450 </p>
451
454 <a NAME="MqttConnectionProfilesDialog.on_minusButton_clicked" ID="MqttConnectionProfilesDialog.on_minusButton_clicked"></a> 452 <a NAME="MqttConnectionProfilesDialog.on_minusButton_clicked" ID="MqttConnectionProfilesDialog.on_minusButton_clicked"></a>
455 <h4>MqttConnectionProfilesDialog.on_minusButton_clicked</h4> 453 <h4>MqttConnectionProfilesDialog.on_minusButton_clicked</h4>
456 <b>on_minusButton_clicked</b>(<i></i>) 454 <b>on_minusButton_clicked</b>(<i></i>)
457
458 <p> 455 <p>
459 Private slot to delete the selected entry. 456 Private slot to delete the selected entry.
460 </p> 457 </p>
458
461 <a NAME="MqttConnectionProfilesDialog.on_mqttv5Button_toggled" ID="MqttConnectionProfilesDialog.on_mqttv5Button_toggled"></a> 459 <a NAME="MqttConnectionProfilesDialog.on_mqttv5Button_toggled" ID="MqttConnectionProfilesDialog.on_mqttv5Button_toggled"></a>
462 <h4>MqttConnectionProfilesDialog.on_mqttv5Button_toggled</h4> 460 <h4>MqttConnectionProfilesDialog.on_mqttv5Button_toggled</h4>
463 <b>on_mqttv5Button_toggled</b>(<i>checked</i>) 461 <b>on_mqttv5Button_toggled</b>(<i>checked</i>)
464
465 <p> 462 <p>
466 Private slot to handle the selection of the MQTT protocol. 463 Private slot to handle the selection of the MQTT protocol.
467 </p> 464 </p>
465
468 <dl> 466 <dl>
469 467
470 <dt><i>checked</i> (bool)</dt> 468 <dt><i>checked</i> (bool)</dt>
471 <dd> 469 <dd>
472 state of the button 470 state of the button
473 </dd> 471 </dd>
474 </dl> 472 </dl>
475 <a NAME="MqttConnectionProfilesDialog.on_plusButton_clicked" ID="MqttConnectionProfilesDialog.on_plusButton_clicked"></a> 473 <a NAME="MqttConnectionProfilesDialog.on_plusButton_clicked" ID="MqttConnectionProfilesDialog.on_plusButton_clicked"></a>
476 <h4>MqttConnectionProfilesDialog.on_plusButton_clicked</h4> 474 <h4>MqttConnectionProfilesDialog.on_plusButton_clicked</h4>
477 <b>on_plusButton_clicked</b>(<i></i>) 475 <b>on_plusButton_clicked</b>(<i></i>)
478
479 <p> 476 <p>
480 Private slot to add a new empty profile entry. 477 Private slot to add a new empty profile entry.
481 </p> 478 </p>
479
482 <a NAME="MqttConnectionProfilesDialog.on_profileButtonBox_clicked" ID="MqttConnectionProfilesDialog.on_profileButtonBox_clicked"></a> 480 <a NAME="MqttConnectionProfilesDialog.on_profileButtonBox_clicked" ID="MqttConnectionProfilesDialog.on_profileButtonBox_clicked"></a>
483 <h4>MqttConnectionProfilesDialog.on_profileButtonBox_clicked</h4> 481 <h4>MqttConnectionProfilesDialog.on_profileButtonBox_clicked</h4>
484 <b>on_profileButtonBox_clicked</b>(<i>button</i>) 482 <b>on_profileButtonBox_clicked</b>(<i>button</i>)
485
486 <p> 483 <p>
487 Private slot handling presses of the profile buttons. 484 Private slot handling presses of the profile buttons.
488 </p> 485 </p>
486
489 <dl> 487 <dl>
490 488
491 <dt><i>button</i> (QAbstractButton)</dt> 489 <dt><i>button</i> (QAbstractButton)</dt>
492 <dd> 490 <dd>
493 reference to the pressed button 491 reference to the pressed button
494 </dd> 492 </dd>
495 </dl> 493 </dl>
496 <a NAME="MqttConnectionProfilesDialog.on_profileEdit_textChanged" ID="MqttConnectionProfilesDialog.on_profileEdit_textChanged"></a> 494 <a NAME="MqttConnectionProfilesDialog.on_profileEdit_textChanged" ID="MqttConnectionProfilesDialog.on_profileEdit_textChanged"></a>
497 <h4>MqttConnectionProfilesDialog.on_profileEdit_textChanged</h4> 495 <h4>MqttConnectionProfilesDialog.on_profileEdit_textChanged</h4>
498 <b>on_profileEdit_textChanged</b>(<i>name</i>) 496 <b>on_profileEdit_textChanged</b>(<i>name</i>)
499
500 <p> 497 <p>
501 Private slot to handle changes of the profile name. 498 Private slot to handle changes of the profile name.
502 </p> 499 </p>
500
503 <dl> 501 <dl>
504 502
505 <dt><i>name</i> (str)</dt> 503 <dt><i>name</i> (str)</dt>
506 <dd> 504 <dd>
507 name of the profile 505 name of the profile
508 </dd> 506 </dd>
509 </dl> 507 </dl>
510 <a NAME="MqttConnectionProfilesDialog.on_profilesList_currentItemChanged" ID="MqttConnectionProfilesDialog.on_profilesList_currentItemChanged"></a> 508 <a NAME="MqttConnectionProfilesDialog.on_profilesList_currentItemChanged" ID="MqttConnectionProfilesDialog.on_profilesList_currentItemChanged"></a>
511 <h4>MqttConnectionProfilesDialog.on_profilesList_currentItemChanged</h4> 509 <h4>MqttConnectionProfilesDialog.on_profilesList_currentItemChanged</h4>
512 <b>on_profilesList_currentItemChanged</b>(<i>current, previous</i>) 510 <b>on_profilesList_currentItemChanged</b>(<i>current, previous</i>)
513
514 <p> 511 <p>
515 Private slot to handle a change of the current profile. 512 Private slot to handle a change of the current profile.
516 </p> 513 </p>
514
517 <dl> 515 <dl>
518 516
519 <dt><i>current</i> (QListWidgetItem)</dt> 517 <dt><i>current</i> (QListWidgetItem)</dt>
520 <dd> 518 <dd>
521 new current item 519 new current item
526 </dd> 524 </dd>
527 </dl> 525 </dl>
528 <a NAME="MqttConnectionProfilesDialog.on_samePropertiesCheckBox_toggled" ID="MqttConnectionProfilesDialog.on_samePropertiesCheckBox_toggled"></a> 526 <a NAME="MqttConnectionProfilesDialog.on_samePropertiesCheckBox_toggled" ID="MqttConnectionProfilesDialog.on_samePropertiesCheckBox_toggled"></a>
529 <h4>MqttConnectionProfilesDialog.on_samePropertiesCheckBox_toggled</h4> 527 <h4>MqttConnectionProfilesDialog.on_samePropertiesCheckBox_toggled</h4>
530 <b>on_samePropertiesCheckBox_toggled</b>(<i>checked</i>) 528 <b>on_samePropertiesCheckBox_toggled</b>(<i>checked</i>)
531
532 <p> 529 <p>
533 Private slot to handle a change of the properties usage. 530 Private slot to handle a change of the properties usage.
534 </p> 531 </p>
532
535 <dl> 533 <dl>
536 534
537 <dt><i>checked</i> (bool)</dt> 535 <dt><i>checked</i> (bool)</dt>
538 <dd> 536 <dd>
539 flag indicating to use the same user properties for 537 flag indicating to use the same user properties for
541 </dd> 539 </dd>
542 </dl> 540 </dl>
543 <a NAME="MqttConnectionProfilesDialog.on_showPasswordButton_toggled" ID="MqttConnectionProfilesDialog.on_showPasswordButton_toggled"></a> 541 <a NAME="MqttConnectionProfilesDialog.on_showPasswordButton_toggled" ID="MqttConnectionProfilesDialog.on_showPasswordButton_toggled"></a>
544 <h4>MqttConnectionProfilesDialog.on_showPasswordButton_toggled</h4> 542 <h4>MqttConnectionProfilesDialog.on_showPasswordButton_toggled</h4>
545 <b>on_showPasswordButton_toggled</b>(<i>checked</i>) 543 <b>on_showPasswordButton_toggled</b>(<i>checked</i>)
546
547 <p> 544 <p>
548 Private slot to show or hide the password. 545 Private slot to show or hide the password.
549 </p> 546 </p>
547
550 <dl> 548 <dl>
551 549
552 <dt><i>checked</i> (bool)</dt> 550 <dt><i>checked</i> (bool)</dt>
553 <dd> 551 <dd>
554 flag indicating the button state 552 flag indicating the button state
555 </dd> 553 </dd>
556 </dl> 554 </dl>
557 <a NAME="MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled"></a> 555 <a NAME="MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled"></a>
558 <h4>MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled</h4> 556 <h4>MqttConnectionProfilesDialog.on_tlsCertsFileButton_toggled</h4>
559 <b>on_tlsCertsFileButton_toggled</b>(<i>checked</i>) 557 <b>on_tlsCertsFileButton_toggled</b>(<i>checked</i>)
560
561 <p> 558 <p>
562 Private slot handling the selection of using a non-default 559 Private slot handling the selection of using a non-default
563 certificates file. 560 certificates file.
564 </p> 561 </p>
562
565 <dl> 563 <dl>
566 564
567 <dt><i>checked</i> (bool)</dt> 565 <dt><i>checked</i> (bool)</dt>
568 <dd> 566 <dd>
569 state of the selection 567 state of the selection
570 </dd> 568 </dd>
571 </dl> 569 </dl>
572 <a NAME="MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged"></a> 570 <a NAME="MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged"></a>
573 <h4>MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged</h4> 571 <h4>MqttConnectionProfilesDialog.on_tlsCertsFilePicker_textChanged</h4>
574 <b>on_tlsCertsFilePicker_textChanged</b>(<i>path</i>) 572 <b>on_tlsCertsFilePicker_textChanged</b>(<i>path</i>)
575
576 <p> 573 <p>
577 Private slot handling a change of the TLS CA certificates file. 574 Private slot handling a change of the TLS CA certificates file.
578 </p> 575 </p>
576
579 <dl> 577 <dl>
580 578
581 <dt><i>path</i> (str)</dt> 579 <dt><i>path</i> (str)</dt>
582 <dd> 580 <dd>
583 file path 581 file path
584 </dd> 582 </dd>
585 </dl> 583 </dl>
586 <a NAME="MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled"></a> 584 <a NAME="MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled"></a>
587 <h4>MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled</h4> 585 <h4>MqttConnectionProfilesDialog.on_tlsDefaultCertsButton_toggled</h4>
588 <b>on_tlsDefaultCertsButton_toggled</b>(<i>checked</i>) 586 <b>on_tlsDefaultCertsButton_toggled</b>(<i>checked</i>)
589
590 <p> 587 <p>
591 Private slot handling the selection of using the default 588 Private slot handling the selection of using the default
592 certificates file. 589 certificates file.
593 </p> 590 </p>
591
594 <dl> 592 <dl>
595 593
596 <dt><i>checked</i> (bool)</dt> 594 <dt><i>checked</i> (bool)</dt>
597 <dd> 595 <dd>
598 state of the selection 596 state of the selection
599 </dd> 597 </dd>
600 </dl> 598 </dl>
601 <a NAME="MqttConnectionProfilesDialog.on_tlsGroupBox_toggled" ID="MqttConnectionProfilesDialog.on_tlsGroupBox_toggled"></a> 599 <a NAME="MqttConnectionProfilesDialog.on_tlsGroupBox_toggled" ID="MqttConnectionProfilesDialog.on_tlsGroupBox_toggled"></a>
602 <h4>MqttConnectionProfilesDialog.on_tlsGroupBox_toggled</h4> 600 <h4>MqttConnectionProfilesDialog.on_tlsGroupBox_toggled</h4>
603 <b>on_tlsGroupBox_toggled</b>(<i>checked</i>) 601 <b>on_tlsGroupBox_toggled</b>(<i>checked</i>)
604
605 <p> 602 <p>
606 Private slot handling the selection of TLS mode. 603 Private slot handling the selection of TLS mode.
607 </p> 604 </p>
605
608 <dl> 606 <dl>
609 607
610 <dt><i>checked</i> (bool)</dt> 608 <dt><i>checked</i> (bool)</dt>
611 <dd> 609 <dd>
612 state of the selection 610 state of the selection
613 </dd> 611 </dd>
614 </dl> 612 </dl>
615 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled"></a> 613 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled"></a>
616 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled</h4> 614 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedCertsButton_toggled</h4>
617 <b>on_tlsSelfSignedCertsButton_toggled</b>(<i>checked</i>) 615 <b>on_tlsSelfSignedCertsButton_toggled</b>(<i>checked</i>)
618
619 <p> 616 <p>
620 Private slot handling the selection of using self signed 617 Private slot handling the selection of using self signed
621 client certificate and key files. 618 client certificate and key files.
622 </p> 619 </p>
620
623 <dl> 621 <dl>
624 622
625 <dt><i>checked</i> (bool)</dt> 623 <dt><i>checked</i> (bool)</dt>
626 <dd> 624 <dd>
627 state of the selection 625 state of the selection
628 </dd> 626 </dd>
629 </dl> 627 </dl>
630 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged"></a> 628 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged"></a>
631 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged</h4> 629 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedCertsFilePicker_textChanged</h4>
632 <b>on_tlsSelfSignedCertsFilePicker_textChanged</b>(<i>path</i>) 630 <b>on_tlsSelfSignedCertsFilePicker_textChanged</b>(<i>path</i>)
633
634 <p> 631 <p>
635 Private slot handling a change of the TLS CA certificates file. 632 Private slot handling a change of the TLS CA certificates file.
636 </p> 633 </p>
634
637 <dl> 635 <dl>
638 636
639 <dt><i>path</i> (str)</dt> 637 <dt><i>path</i> (str)</dt>
640 <dd> 638 <dd>
641 file path 639 file path
642 </dd> 640 </dd>
643 </dl> 641 </dl>
644 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged"></a> 642 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged"></a>
645 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged</h4> 643 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedClientCertFilePicker_textChanged</h4>
646 <b>on_tlsSelfSignedClientCertFilePicker_textChanged</b>(<i>path</i>) 644 <b>on_tlsSelfSignedClientCertFilePicker_textChanged</b>(<i>path</i>)
647
648 <p> 645 <p>
649 Private slot handling a change of the TLS client certificate file. 646 Private slot handling a change of the TLS client certificate file.
650 </p> 647 </p>
648
651 <dl> 649 <dl>
652 650
653 <dt><i>path</i> (str)</dt> 651 <dt><i>path</i> (str)</dt>
654 <dd> 652 <dd>
655 file path 653 file path
656 </dd> 654 </dd>
657 </dl> 655 </dl>
658 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged"></a> 656 <a NAME="MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged" ID="MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged"></a>
659 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged</h4> 657 <h4>MqttConnectionProfilesDialog.on_tlsSelfSignedClientKeyFilePicker_textChanged</h4>
660 <b>on_tlsSelfSignedClientKeyFilePicker_textChanged</b>(<i>path</i>) 658 <b>on_tlsSelfSignedClientKeyFilePicker_textChanged</b>(<i>path</i>)
661
662 <p> 659 <p>
663 Private slot handling a change of the TLS client key file. 660 Private slot handling a change of the TLS client key file.
664 </p> 661 </p>
662
665 <dl> 663 <dl>
666 664
667 <dt><i>path</i> (str)</dt> 665 <dt><i>path</i> (str)</dt>
668 <dd> 666 <dd>
669 file path 667 file path
670 </dd> 668 </dd>
671 </dl> 669 </dl>
672 <a NAME="MqttConnectionProfilesDialog.on_willPropertiesButton_clicked" ID="MqttConnectionProfilesDialog.on_willPropertiesButton_clicked"></a> 670 <a NAME="MqttConnectionProfilesDialog.on_willPropertiesButton_clicked" ID="MqttConnectionProfilesDialog.on_willPropertiesButton_clicked"></a>
673 <h4>MqttConnectionProfilesDialog.on_willPropertiesButton_clicked</h4> 671 <h4>MqttConnectionProfilesDialog.on_willPropertiesButton_clicked</h4>
674 <b>on_willPropertiesButton_clicked</b>(<i></i>) 672 <b>on_willPropertiesButton_clicked</b>(<i></i>)
675
676 <p> 673 <p>
677 Private slot to edit the last will user properties. 674 Private slot to edit the last will user properties.
678 </p> 675 </p>
676
679 <a NAME="MqttConnectionProfilesDialog.reject" ID="MqttConnectionProfilesDialog.reject"></a> 677 <a NAME="MqttConnectionProfilesDialog.reject" ID="MqttConnectionProfilesDialog.reject"></a>
680 <h4>MqttConnectionProfilesDialog.reject</h4> 678 <h4>MqttConnectionProfilesDialog.reject</h4>
681 <b>reject</b>(<i></i>) 679 <b>reject</b>(<i></i>)
682
683 <p> 680 <p>
684 Public slot to reject the dialog changes. 681 Public slot to reject the dialog changes.
685 </p> 682 </p>
683
686 <div align="right"><a href="#top">Up</a></div> 684 <div align="right"><a href="#top">Up</a></div>
687 <hr /> 685 <hr />
688 </body></html> 686 </body></html>

eric ide

mercurial