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>eric7.MicroPython.BluetoothDialogs.BluetoothController</h1> |
9 <h1>eric7.MicroPython.BluetoothDialogs.BluetoothController</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Bluetooth related functionality. |
11 Module implementing the Bluetooth related functionality. |
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="#BluetoothController">BluetoothController</a></td> |
22 <td><a href="#BluetoothController">BluetoothController</a></td> |
25 <td>Class implementing the Bluetooth related functionality.</td> |
23 <td>Class implementing the Bluetooth related functionality.</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="BluetoothController" ID="BluetoothController"></a> |
34 <a NAME="BluetoothController" ID="BluetoothController"></a> |
36 <h2>BluetoothController</h2> |
35 <h2>BluetoothController</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the Bluetooth related functionality. |
37 Class implementing the Bluetooth related functionality. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QObject |
41 QObject |
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="#BluetoothController.__init__">BluetoothController</a></td> |
55 <td><a href="#BluetoothController.__init__">BluetoothController</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
77 <tr> |
74 <tr> |
78 <td><a href="#BluetoothController.createMenu">createMenu</a></td> |
75 <td><a href="#BluetoothController.createMenu">createMenu</a></td> |
79 <td>Public method to create the Bluetooth submenu.</td> |
76 <td>Public method to create the Bluetooth submenu.</td> |
80 </tr> |
77 </tr> |
81 </table> |
78 </table> |
|
79 |
82 <h3>Static Methods</h3> |
80 <h3>Static Methods</h3> |
83 |
|
84 <table> |
81 <table> |
85 <tr><td>None</td></tr> |
82 <tr><td>None</td></tr> |
86 </table> |
83 </table> |
87 |
84 |
|
85 |
88 <a NAME="BluetoothController.__init__" ID="BluetoothController.__init__"></a> |
86 <a NAME="BluetoothController.__init__" ID="BluetoothController.__init__"></a> |
89 <h4>BluetoothController (Constructor)</h4> |
87 <h4>BluetoothController (Constructor)</h4> |
90 <b>BluetoothController</b>(<i>microPython, parent=None</i>) |
88 <b>BluetoothController</b>(<i>microPython, parent=None</i>) |
91 |
|
92 <p> |
89 <p> |
93 Constructor |
90 Constructor |
94 </p> |
91 </p> |
|
92 |
95 <dl> |
93 <dl> |
96 |
94 |
97 <dt><i>microPython</i> (MicroPythonWidgep)</dt> |
95 <dt><i>microPython</i> (MicroPythonWidgep)</dt> |
98 <dd> |
96 <dd> |
99 reference to the MicroPython widget |
97 reference to the MicroPython widget |
104 </dd> |
102 </dd> |
105 </dl> |
103 </dl> |
106 <a NAME="BluetoothController.__activateInterface" ID="BluetoothController.__activateInterface"></a> |
104 <a NAME="BluetoothController.__activateInterface" ID="BluetoothController.__activateInterface"></a> |
107 <h4>BluetoothController.__activateInterface</h4> |
105 <h4>BluetoothController.__activateInterface</h4> |
108 <b>__activateInterface</b>(<i></i>) |
106 <b>__activateInterface</b>(<i></i>) |
109 |
|
110 <p> |
107 <p> |
111 Private slot to activate the Bluetooth interface. |
108 Private slot to activate the Bluetooth interface. |
112 </p> |
109 </p> |
|
110 |
113 <a NAME="BluetoothController.__deactivateInterface" ID="BluetoothController.__deactivateInterface"></a> |
111 <a NAME="BluetoothController.__deactivateInterface" ID="BluetoothController.__deactivateInterface"></a> |
114 <h4>BluetoothController.__deactivateInterface</h4> |
112 <h4>BluetoothController.__deactivateInterface</h4> |
115 <b>__deactivateInterface</b>(<i></i>) |
113 <b>__deactivateInterface</b>(<i></i>) |
116 |
|
117 <p> |
114 <p> |
118 Private slot to deactivate the Bluetooth interface. |
115 Private slot to deactivate the Bluetooth interface. |
119 </p> |
116 </p> |
|
117 |
120 <a NAME="BluetoothController.__scan" ID="BluetoothController.__scan"></a> |
118 <a NAME="BluetoothController.__scan" ID="BluetoothController.__scan"></a> |
121 <h4>BluetoothController.__scan</h4> |
119 <h4>BluetoothController.__scan</h4> |
122 <b>__scan</b>(<i></i>) |
120 <b>__scan</b>(<i></i>) |
123 |
|
124 <p> |
121 <p> |
125 Private slot to scan for Bluetooth devices. |
122 Private slot to scan for Bluetooth devices. |
126 </p> |
123 </p> |
|
124 |
127 <a NAME="BluetoothController.__showBtStatus" ID="BluetoothController.__showBtStatus"></a> |
125 <a NAME="BluetoothController.__showBtStatus" ID="BluetoothController.__showBtStatus"></a> |
128 <h4>BluetoothController.__showBtStatus</h4> |
126 <h4>BluetoothController.__showBtStatus</h4> |
129 <b>__showBtStatus</b>(<i></i>) |
127 <b>__showBtStatus</b>(<i></i>) |
130 |
|
131 <p> |
128 <p> |
132 Private slot to show the status and some parameters of the Bluetooth interface. |
129 Private slot to show the status and some parameters of the Bluetooth interface. |
133 </p> |
130 </p> |
|
131 |
134 <a NAME="BluetoothController.createMenu" ID="BluetoothController.createMenu"></a> |
132 <a NAME="BluetoothController.createMenu" ID="BluetoothController.createMenu"></a> |
135 <h4>BluetoothController.createMenu</h4> |
133 <h4>BluetoothController.createMenu</h4> |
136 <b>createMenu</b>(<i>menu</i>) |
134 <b>createMenu</b>(<i>menu</i>) |
137 |
|
138 <p> |
135 <p> |
139 Public method to create the Bluetooth submenu. |
136 Public method to create the Bluetooth submenu. |
140 </p> |
137 </p> |
|
138 |
141 <dl> |
139 <dl> |
142 |
140 |
143 <dt><i>menu</i> (QMenu)</dt> |
141 <dt><i>menu</i> (QMenu)</dt> |
144 <dd> |
142 <dd> |
145 reference to the parent menu |
143 reference to the parent menu |