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.UnknownDevicesDialog</h1> |
9 <h1>eric7.MicroPython.UnknownDevicesDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to manage the list of unknown devices. |
11 Module implementing a dialog to manage the list of unknown devices. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#UnknownDevicesDialog">UnknownDevicesDialog</a></td> |
22 <td><a href="#UnknownDevicesDialog">UnknownDevicesDialog</a></td> |
25 <td>Class implementing a dialog to manage the list of unknown devices.</td> |
23 <td>Class implementing a dialog to manage the list of unknown devices.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="UnknownDevicesDialog" ID="UnknownDevicesDialog"></a> |
34 <a NAME="UnknownDevicesDialog" ID="UnknownDevicesDialog"></a> |
36 <h2>UnknownDevicesDialog</h2> |
35 <h2>UnknownDevicesDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to manage the list of unknown devices. |
37 Class implementing a dialog to manage the list of unknown devices. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_UnknownDevicesDialog |
41 QDialog, Ui_UnknownDevicesDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>DeviceDataRole</td></tr> |
46 <tr><td>DeviceDataRole</td></tr><tr><td>ModifiedRole</td></tr> |
45 <tr><td>ModifiedRole</td></tr> |
47 </table> |
46 </table> |
|
47 |
48 <h3>Class Methods</h3> |
48 <h3>Class Methods</h3> |
49 |
49 <table> |
50 <table> |
50 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
51 </table> |
52 </table> |
52 |
53 <h3>Methods</h3> |
53 <h3>Methods</h3> |
54 |
54 <table> |
55 <table> |
|
56 |
|
57 <tr> |
55 <tr> |
58 <td><a href="#UnknownDevicesDialog.__init__">UnknownDevicesDialog</a></td> |
56 <td><a href="#UnknownDevicesDialog.__init__">UnknownDevicesDialog</a></td> |
59 <td>Constructor</td> |
57 <td>Constructor</td> |
60 </tr> |
58 </tr> |
61 <tr> |
59 <tr> |
113 <tr> |
111 <tr> |
114 <td><a href="#UnknownDevicesDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> |
112 <td><a href="#UnknownDevicesDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> |
115 <td>Private slot to restore the list of unknown devices.</td> |
113 <td>Private slot to restore the list of unknown devices.</td> |
116 </tr> |
114 </tr> |
117 </table> |
115 </table> |
|
116 |
118 <h3>Static Methods</h3> |
117 <h3>Static Methods</h3> |
119 |
118 <table> |
120 <table> |
119 <tr><td>None</td></tr> |
121 <tr><td>None</td></tr> |
120 </table> |
122 </table> |
121 |
123 |
122 |
124 <a NAME="UnknownDevicesDialog.__init__" ID="UnknownDevicesDialog.__init__"></a> |
123 <a NAME="UnknownDevicesDialog.__init__" ID="UnknownDevicesDialog.__init__"></a> |
125 <h4>UnknownDevicesDialog (Constructor)</h4> |
124 <h4>UnknownDevicesDialog (Constructor)</h4> |
126 <b>UnknownDevicesDialog</b>(<i>parent=None</i>) |
125 <b>UnknownDevicesDialog</b>(<i>parent=None</i>) |
127 |
|
128 <p> |
126 <p> |
129 Constructor |
127 Constructor |
130 </p> |
128 </p> |
|
129 |
131 <dl> |
130 <dl> |
132 |
131 |
133 <dt><i>parent</i> (QWidget (optional))</dt> |
132 <dt><i>parent</i> (QWidget (optional))</dt> |
134 <dd> |
133 <dd> |
135 reference to the parent widget (defaults to None) |
134 reference to the parent widget (defaults to None) |
136 </dd> |
135 </dd> |
137 </dl> |
136 </dl> |
138 <a NAME="UnknownDevicesDialog.__checkButtons" ID="UnknownDevicesDialog.__checkButtons"></a> |
137 <a NAME="UnknownDevicesDialog.__checkButtons" ID="UnknownDevicesDialog.__checkButtons"></a> |
139 <h4>UnknownDevicesDialog.__checkButtons</h4> |
138 <h4>UnknownDevicesDialog.__checkButtons</h4> |
140 <b>__checkButtons</b>(<i></i>) |
139 <b>__checkButtons</b>(<i></i>) |
141 |
|
142 <p> |
140 <p> |
143 Private slot to set the enabled state of the buttons. |
141 Private slot to set the enabled state of the buttons. |
144 </p> |
142 </p> |
|
143 |
145 <a NAME="UnknownDevicesDialog.__editItem" ID="UnknownDevicesDialog.__editItem"></a> |
144 <a NAME="UnknownDevicesDialog.__editItem" ID="UnknownDevicesDialog.__editItem"></a> |
146 <h4>UnknownDevicesDialog.__editItem</h4> |
145 <h4>UnknownDevicesDialog.__editItem</h4> |
147 <b>__editItem</b>(<i>item</i>) |
146 <b>__editItem</b>(<i>item</i>) |
148 |
|
149 <p> |
147 <p> |
150 Private method to edit the given item. |
148 Private method to edit the given item. |
151 </p> |
149 </p> |
|
150 |
152 <dl> |
151 <dl> |
153 |
152 |
154 <dt><i>item</i> (QListWidgetItem)</dt> |
153 <dt><i>item</i> (QListWidgetItem)</dt> |
155 <dd> |
154 <dd> |
156 reference to the item to be edited |
155 reference to the item to be edited |
157 </dd> |
156 </dd> |
158 </dl> |
157 </dl> |
159 <a NAME="UnknownDevicesDialog.__isDirty" ID="UnknownDevicesDialog.__isDirty"></a> |
158 <a NAME="UnknownDevicesDialog.__isDirty" ID="UnknownDevicesDialog.__isDirty"></a> |
160 <h4>UnknownDevicesDialog.__isDirty</h4> |
159 <h4>UnknownDevicesDialog.__isDirty</h4> |
161 <b>__isDirty</b>(<i></i>) |
160 <b>__isDirty</b>(<i></i>) |
162 |
|
163 <p> |
161 <p> |
164 Private method to check, if the dialog contains unsaved data. |
162 Private method to check, if the dialog contains unsaved data. |
165 </p> |
163 </p> |
|
164 |
166 <dl> |
165 <dl> |
167 <dt>Return:</dt> |
166 <dt>Return:</dt> |
168 <dd> |
167 <dd> |
169 flag indicating the presence of unsaved data |
168 flag indicating the presence of unsaved data |
170 </dd> |
169 </dd> |
176 </dd> |
175 </dd> |
177 </dl> |
176 </dl> |
178 <a NAME="UnknownDevicesDialog.__loadDevices" ID="UnknownDevicesDialog.__loadDevices"></a> |
177 <a NAME="UnknownDevicesDialog.__loadDevices" ID="UnknownDevicesDialog.__loadDevices"></a> |
179 <h4>UnknownDevicesDialog.__loadDevices</h4> |
178 <h4>UnknownDevicesDialog.__loadDevices</h4> |
180 <b>__loadDevices</b>(<i></i>) |
179 <b>__loadDevices</b>(<i></i>) |
181 |
|
182 <p> |
180 <p> |
183 Private method to load the list of unknown devices. |
181 Private method to load the list of unknown devices. |
184 </p> |
182 </p> |
|
183 |
185 <a NAME="UnknownDevicesDialog.__saveDeviceData" ID="UnknownDevicesDialog.__saveDeviceData"></a> |
184 <a NAME="UnknownDevicesDialog.__saveDeviceData" ID="UnknownDevicesDialog.__saveDeviceData"></a> |
186 <h4>UnknownDevicesDialog.__saveDeviceData</h4> |
185 <h4>UnknownDevicesDialog.__saveDeviceData</h4> |
187 <b>__saveDeviceData</b>(<i></i>) |
186 <b>__saveDeviceData</b>(<i></i>) |
188 |
|
189 <p> |
187 <p> |
190 Private method to save the device data. |
188 Private method to save the device data. |
191 </p> |
189 </p> |
|
190 |
192 <dl> |
191 <dl> |
193 <dt>Return:</dt> |
192 <dt>Return:</dt> |
194 <dd> |
193 <dd> |
195 flag indicating a successful save |
194 flag indicating a successful save |
196 </dd> |
195 </dd> |
202 </dd> |
201 </dd> |
203 </dl> |
202 </dl> |
204 <a NAME="UnknownDevicesDialog.on_buttonBox_accepted" ID="UnknownDevicesDialog.on_buttonBox_accepted"></a> |
203 <a NAME="UnknownDevicesDialog.on_buttonBox_accepted" ID="UnknownDevicesDialog.on_buttonBox_accepted"></a> |
205 <h4>UnknownDevicesDialog.on_buttonBox_accepted</h4> |
204 <h4>UnknownDevicesDialog.on_buttonBox_accepted</h4> |
206 <b>on_buttonBox_accepted</b>(<i></i>) |
205 <b>on_buttonBox_accepted</b>(<i></i>) |
207 |
|
208 <p> |
206 <p> |
209 Private slot to handle the OK button press. |
207 Private slot to handle the OK button press. |
210 </p> |
208 </p> |
211 <p> |
209 <p> |
212 This action saves the edited list to the preferences store. |
210 This action saves the edited list to the preferences store. |
213 </p> |
211 </p> |
|
212 |
214 <a NAME="UnknownDevicesDialog.on_buttonBox_rejected" ID="UnknownDevicesDialog.on_buttonBox_rejected"></a> |
213 <a NAME="UnknownDevicesDialog.on_buttonBox_rejected" ID="UnknownDevicesDialog.on_buttonBox_rejected"></a> |
215 <h4>UnknownDevicesDialog.on_buttonBox_rejected</h4> |
214 <h4>UnknownDevicesDialog.on_buttonBox_rejected</h4> |
216 <b>on_buttonBox_rejected</b>(<i></i>) |
215 <b>on_buttonBox_rejected</b>(<i></i>) |
217 |
|
218 <p> |
216 <p> |
219 Private slot handling the cancellation of the dialog. |
217 Private slot handling the cancellation of the dialog. |
220 </p> |
218 </p> |
|
219 |
221 <a NAME="UnknownDevicesDialog.on_deleteAllButton_clicked" ID="UnknownDevicesDialog.on_deleteAllButton_clicked"></a> |
220 <a NAME="UnknownDevicesDialog.on_deleteAllButton_clicked" ID="UnknownDevicesDialog.on_deleteAllButton_clicked"></a> |
222 <h4>UnknownDevicesDialog.on_deleteAllButton_clicked</h4> |
221 <h4>UnknownDevicesDialog.on_deleteAllButton_clicked</h4> |
223 <b>on_deleteAllButton_clicked</b>(<i></i>) |
222 <b>on_deleteAllButton_clicked</b>(<i></i>) |
224 |
|
225 <p> |
223 <p> |
226 Private slot to delete all devices. |
224 Private slot to delete all devices. |
227 </p> |
225 </p> |
|
226 |
228 <a NAME="UnknownDevicesDialog.on_deleteButton_clicked" ID="UnknownDevicesDialog.on_deleteButton_clicked"></a> |
227 <a NAME="UnknownDevicesDialog.on_deleteButton_clicked" ID="UnknownDevicesDialog.on_deleteButton_clicked"></a> |
229 <h4>UnknownDevicesDialog.on_deleteButton_clicked</h4> |
228 <h4>UnknownDevicesDialog.on_deleteButton_clicked</h4> |
230 <b>on_deleteButton_clicked</b>(<i></i>) |
229 <b>on_deleteButton_clicked</b>(<i></i>) |
231 |
|
232 <p> |
230 <p> |
233 Private slot to delete the selected entries. |
231 Private slot to delete the selected entries. |
234 </p> |
232 </p> |
|
233 |
235 <a NAME="UnknownDevicesDialog.on_deviceList_itemActivated" ID="UnknownDevicesDialog.on_deviceList_itemActivated"></a> |
234 <a NAME="UnknownDevicesDialog.on_deviceList_itemActivated" ID="UnknownDevicesDialog.on_deviceList_itemActivated"></a> |
236 <h4>UnknownDevicesDialog.on_deviceList_itemActivated</h4> |
235 <h4>UnknownDevicesDialog.on_deviceList_itemActivated</h4> |
237 <b>on_deviceList_itemActivated</b>(<i>item</i>) |
236 <b>on_deviceList_itemActivated</b>(<i>item</i>) |
238 |
|
239 <p> |
237 <p> |
240 Private slot to edit the data of the activated item. |
238 Private slot to edit the data of the activated item. |
241 </p> |
239 </p> |
|
240 |
242 <dl> |
241 <dl> |
243 |
242 |
244 <dt><i>item</i> (QListWidgetItem)</dt> |
243 <dt><i>item</i> (QListWidgetItem)</dt> |
245 <dd> |
244 <dd> |
246 reference to the activated item |
245 reference to the activated item |
247 </dd> |
246 </dd> |
248 </dl> |
247 </dl> |
249 <a NAME="UnknownDevicesDialog.on_deviceList_itemSelectionChanged" ID="UnknownDevicesDialog.on_deviceList_itemSelectionChanged"></a> |
248 <a NAME="UnknownDevicesDialog.on_deviceList_itemSelectionChanged" ID="UnknownDevicesDialog.on_deviceList_itemSelectionChanged"></a> |
250 <h4>UnknownDevicesDialog.on_deviceList_itemSelectionChanged</h4> |
249 <h4>UnknownDevicesDialog.on_deviceList_itemSelectionChanged</h4> |
251 <b>on_deviceList_itemSelectionChanged</b>(<i></i>) |
250 <b>on_deviceList_itemSelectionChanged</b>(<i></i>) |
252 |
|
253 <p> |
251 <p> |
254 Private slot to handle a change of selected items. |
252 Private slot to handle a change of selected items. |
255 </p> |
253 </p> |
|
254 |
256 <a NAME="UnknownDevicesDialog.on_editButton_clicked" ID="UnknownDevicesDialog.on_editButton_clicked"></a> |
255 <a NAME="UnknownDevicesDialog.on_editButton_clicked" ID="UnknownDevicesDialog.on_editButton_clicked"></a> |
257 <h4>UnknownDevicesDialog.on_editButton_clicked</h4> |
256 <h4>UnknownDevicesDialog.on_editButton_clicked</h4> |
258 <b>on_editButton_clicked</b>(<i></i>) |
257 <b>on_editButton_clicked</b>(<i></i>) |
259 |
|
260 <p> |
258 <p> |
261 Private slot to edit the selected item. |
259 Private slot to edit the selected item. |
262 </p> |
260 </p> |
|
261 |
263 <a NAME="UnknownDevicesDialog.on_reportButton_clicked" ID="UnknownDevicesDialog.on_reportButton_clicked"></a> |
262 <a NAME="UnknownDevicesDialog.on_reportButton_clicked" ID="UnknownDevicesDialog.on_reportButton_clicked"></a> |
264 <h4>UnknownDevicesDialog.on_reportButton_clicked</h4> |
263 <h4>UnknownDevicesDialog.on_reportButton_clicked</h4> |
265 <b>on_reportButton_clicked</b>(<i></i>) |
264 <b>on_reportButton_clicked</b>(<i></i>) |
266 |
|
267 <p> |
265 <p> |
268 Private slot to report the data of all boards to the eric-bugs email |
266 Private slot to report the data of all boards to the eric-bugs email |
269 address. |
267 address. |
270 </p> |
268 </p> |
|
269 |
271 <a NAME="UnknownDevicesDialog.on_restoreButton_clicked" ID="UnknownDevicesDialog.on_restoreButton_clicked"></a> |
270 <a NAME="UnknownDevicesDialog.on_restoreButton_clicked" ID="UnknownDevicesDialog.on_restoreButton_clicked"></a> |
272 <h4>UnknownDevicesDialog.on_restoreButton_clicked</h4> |
271 <h4>UnknownDevicesDialog.on_restoreButton_clicked</h4> |
273 <b>on_restoreButton_clicked</b>(<i></i>) |
272 <b>on_restoreButton_clicked</b>(<i></i>) |
274 |
|
275 <p> |
273 <p> |
276 Private slot to restore the list of unknown devices. |
274 Private slot to restore the list of unknown devices. |
277 </p> |
275 </p> |
|
276 |
278 <div align="right"><a href="#top">Up</a></div> |
277 <div align="right"><a href="#top">Up</a></div> |
279 <hr /> |
278 <hr /> |
280 </body></html> |
279 </body></html> |