|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.MicroPython.BluetoothDialogs.BluetoothScanWindow</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.BluetoothDialogs.BluetoothScanWindow</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to scan for Bluetooth devices. |
|
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="#BluetoothScanWindow">BluetoothScanWindow</a></td> |
|
25 <td>Class implementing a dialog to scan for Bluetooth devices.</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="BluetoothScanWindow" ID="BluetoothScanWindow"></a> |
|
36 <h2>BluetoothScanWindow</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to scan for Bluetooth devices. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QWidget, Ui_BluetoothScanWindow |
|
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="#BluetoothScanWindow.__init__">BluetoothScanWindow</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#BluetoothScanWindow.__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="#BluetoothScanWindow.__resort">__resort</a></td> |
|
67 <td>Private method to resort the devices list.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#BluetoothScanWindow.scanDevices">scanDevices</a></td> |
|
71 <td>Public slot to ask the device for a Bluetooth scan and display the result.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 |
|
76 <table> |
|
77 <tr><td>None</td></tr> |
|
78 </table> |
|
79 |
|
80 <a NAME="BluetoothScanWindow.__init__" ID="BluetoothScanWindow.__init__"></a> |
|
81 <h4>BluetoothScanWindow (Constructor)</h4> |
|
82 <b>BluetoothScanWindow</b>(<i>device, parent=None</i>) |
|
83 |
|
84 <p> |
|
85 Constructor |
|
86 </p> |
|
87 <dl> |
|
88 |
|
89 <dt><i>device</i> (BaseDevice)</dt> |
|
90 <dd> |
|
91 reference to the connected device |
|
92 </dd> |
|
93 <dt><i>parent</i> (QWidget (optional))</dt> |
|
94 <dd> |
|
95 reference to the parent widget (defaults to None) |
|
96 </dd> |
|
97 </dl> |
|
98 <a NAME="BluetoothScanWindow.__resizeColumns" ID="BluetoothScanWindow.__resizeColumns"></a> |
|
99 <h4>BluetoothScanWindow.__resizeColumns</h4> |
|
100 <b>__resizeColumns</b>(<i></i>) |
|
101 |
|
102 <p> |
|
103 Private method to resize the columns of the result list. |
|
104 </p> |
|
105 <a NAME="BluetoothScanWindow.__resort" ID="BluetoothScanWindow.__resort"></a> |
|
106 <h4>BluetoothScanWindow.__resort</h4> |
|
107 <b>__resort</b>(<i></i>) |
|
108 |
|
109 <p> |
|
110 Private method to resort the devices list. |
|
111 </p> |
|
112 <a NAME="BluetoothScanWindow.scanDevices" ID="BluetoothScanWindow.scanDevices"></a> |
|
113 <h4>BluetoothScanWindow.scanDevices</h4> |
|
114 <b>scanDevices</b>(<i></i>) |
|
115 |
|
116 <p> |
|
117 Public slot to ask the device for a Bluetooth scan and display the result. |
|
118 </p> |
|
119 <div align="right"><a href="#top">Up</a></div> |
|
120 <hr /> |
|
121 </body></html> |