eric6/Documentation/Source/eric6.MicroPython.UnknownDevicesDialog.html

changeset 8083
a2e14cda6f3f
child 8099
522946e53835
equal deleted inserted replaced
8082:2242a6a1d786 8083:a2e14cda6f3f
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.MicroPython.UnknownDevicesDialog</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>
22 <a NAME="top" ID="top"></a>
23 <h1>eric6.MicroPython.UnknownDevicesDialog</h1>
24
25 <p>
26 Module implementing a dialog to manage the list of unknown devices.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#UnknownDevicesDialog">UnknownDevicesDialog</a></td>
39 <td>Class implementing a dialog to manage the list of unknown devices.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="UnknownDevicesDialog" ID="UnknownDevicesDialog"></a>
50 <h2>UnknownDevicesDialog</h2>
51
52 <p>
53 Class implementing a dialog to manage the list of unknown devices.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_UnknownDevicesDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>DeviceDataRole</td></tr><tr><td>ModifiedRole</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#UnknownDevicesDialog.__init__">UnknownDevicesDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#UnknownDevicesDialog.__checkButtons">__checkButtons</a></td>
77 <td>Private slot to set the enabled state of the buttons.</td>
78 </tr>
79 <tr>
80 <td><a href="#UnknownDevicesDialog.__editItem">__editItem</a></td>
81 <td>Private method to edit the given item.</td>
82 </tr>
83 <tr>
84 <td><a href="#UnknownDevicesDialog.__isDirty">__isDirty</a></td>
85 <td>Private method to check, if the dialog contains unsaved data.</td>
86 </tr>
87 <tr>
88 <td><a href="#UnknownDevicesDialog.__loadDevices">__loadDevices</a></td>
89 <td>Private method to load the list of unknown devices.</td>
90 </tr>
91 <tr>
92 <td><a href="#UnknownDevicesDialog.__saveDeviceData">__saveDeviceData</a></td>
93 <td>Private method to save the device data.</td>
94 </tr>
95 <tr>
96 <td><a href="#UnknownDevicesDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
97 <td>Private slot to handle the OK button press.</td>
98 </tr>
99 <tr>
100 <td><a href="#UnknownDevicesDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td>
101 <td>Private slot handling the cancellation of the dialog.</td>
102 </tr>
103 <tr>
104 <td><a href="#UnknownDevicesDialog.on_deleteAllButton_clicked">on_deleteAllButton_clicked</a></td>
105 <td>Private slot to delete all devices.</td>
106 </tr>
107 <tr>
108 <td><a href="#UnknownDevicesDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td>
109 <td>Private slot to delete the selected entries.</td>
110 </tr>
111 <tr>
112 <td><a href="#UnknownDevicesDialog.on_deviceList_itemActivated">on_deviceList_itemActivated</a></td>
113 <td>Private slot to edit the data of the activated item.</td>
114 </tr>
115 <tr>
116 <td><a href="#UnknownDevicesDialog.on_deviceList_itemSelectionChanged">on_deviceList_itemSelectionChanged</a></td>
117 <td>Private slot to handle a change of selected items.</td>
118 </tr>
119 <tr>
120 <td><a href="#UnknownDevicesDialog.on_editButton_clicked">on_editButton_clicked</a></td>
121 <td>Private slot to edit the selected item.</td>
122 </tr>
123 <tr>
124 <td><a href="#UnknownDevicesDialog.on_reportButton_clicked">on_reportButton_clicked</a></td>
125 <td>Private slot to report the data of all boards to the eric-bugs email address.</td>
126 </tr>
127 <tr>
128 <td><a href="#UnknownDevicesDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td>
129 <td>Private slot to restore the list of unknown devices.</td>
130 </tr>
131 </table>
132 <h3>Static Methods</h3>
133
134 <table>
135 <tr><td>None</td></tr>
136 </table>
137
138 <a NAME="UnknownDevicesDialog.__init__" ID="UnknownDevicesDialog.__init__"></a>
139 <h4>UnknownDevicesDialog (Constructor)</h4>
140 <b>UnknownDevicesDialog</b>(<i>parent=None</i>)
141
142 <p>
143 Constructor
144 </p>
145 <dl>
146
147 <dt><i>parent</i> (QWidget (optional))</dt>
148 <dd>
149 reference to the parent widget (defaults to None)
150 </dd>
151 </dl>
152 <a NAME="UnknownDevicesDialog.__checkButtons" ID="UnknownDevicesDialog.__checkButtons"></a>
153 <h4>UnknownDevicesDialog.__checkButtons</h4>
154 <b>__checkButtons</b>(<i></i>)
155
156 <p>
157 Private slot to set the enabled state of the buttons.
158 </p>
159 <a NAME="UnknownDevicesDialog.__editItem" ID="UnknownDevicesDialog.__editItem"></a>
160 <h4>UnknownDevicesDialog.__editItem</h4>
161 <b>__editItem</b>(<i>item</i>)
162
163 <p>
164 Private method to edit the given item.
165 </p>
166 <dl>
167
168 <dt><i>item</i> (QListWidgetItem)</dt>
169 <dd>
170 reference to the item to be edited
171 </dd>
172 </dl>
173 <a NAME="UnknownDevicesDialog.__isDirty" ID="UnknownDevicesDialog.__isDirty"></a>
174 <h4>UnknownDevicesDialog.__isDirty</h4>
175 <b>__isDirty</b>(<i></i>)
176
177 <p>
178 Private method to check, if the dialog contains unsaved data.
179 </p>
180 <dl>
181 <dt>Return:</dt>
182 <dd>
183 flag indicating the presence of unsaved data
184 </dd>
185 </dl>
186 <dl>
187 <dt>Return Type:</dt>
188 <dd>
189 bool
190 </dd>
191 </dl>
192 <a NAME="UnknownDevicesDialog.__loadDevices" ID="UnknownDevicesDialog.__loadDevices"></a>
193 <h4>UnknownDevicesDialog.__loadDevices</h4>
194 <b>__loadDevices</b>(<i></i>)
195
196 <p>
197 Private method to load the list of unknown devices.
198 </p>
199 <a NAME="UnknownDevicesDialog.__saveDeviceData" ID="UnknownDevicesDialog.__saveDeviceData"></a>
200 <h4>UnknownDevicesDialog.__saveDeviceData</h4>
201 <b>__saveDeviceData</b>(<i></i>)
202
203 <p>
204 Private method to save the device data.
205 </p>
206 <a NAME="UnknownDevicesDialog.on_buttonBox_accepted" ID="UnknownDevicesDialog.on_buttonBox_accepted"></a>
207 <h4>UnknownDevicesDialog.on_buttonBox_accepted</h4>
208 <b>on_buttonBox_accepted</b>(<i></i>)
209
210 <p>
211 Private slot to handle the OK button press.
212 </p>
213 <p>
214 This action saves the edited list to the preferences store.
215 </p>
216 <a NAME="UnknownDevicesDialog.on_buttonBox_rejected" ID="UnknownDevicesDialog.on_buttonBox_rejected"></a>
217 <h4>UnknownDevicesDialog.on_buttonBox_rejected</h4>
218 <b>on_buttonBox_rejected</b>(<i></i>)
219
220 <p>
221 Private slot handling the cancellation of the dialog.
222 </p>
223 <a NAME="UnknownDevicesDialog.on_deleteAllButton_clicked" ID="UnknownDevicesDialog.on_deleteAllButton_clicked"></a>
224 <h4>UnknownDevicesDialog.on_deleteAllButton_clicked</h4>
225 <b>on_deleteAllButton_clicked</b>(<i></i>)
226
227 <p>
228 Private slot to delete all devices.
229 </p>
230 <a NAME="UnknownDevicesDialog.on_deleteButton_clicked" ID="UnknownDevicesDialog.on_deleteButton_clicked"></a>
231 <h4>UnknownDevicesDialog.on_deleteButton_clicked</h4>
232 <b>on_deleteButton_clicked</b>(<i></i>)
233
234 <p>
235 Private slot to delete the selected entries.
236 </p>
237 <a NAME="UnknownDevicesDialog.on_deviceList_itemActivated" ID="UnknownDevicesDialog.on_deviceList_itemActivated"></a>
238 <h4>UnknownDevicesDialog.on_deviceList_itemActivated</h4>
239 <b>on_deviceList_itemActivated</b>(<i>item</i>)
240
241 <p>
242 Private slot to edit the data of the activated item.
243 </p>
244 <dl>
245
246 <dt><i>item</i> (QListWidgetItem)</dt>
247 <dd>
248 reference to the activated item
249 </dd>
250 </dl>
251 <a NAME="UnknownDevicesDialog.on_deviceList_itemSelectionChanged" ID="UnknownDevicesDialog.on_deviceList_itemSelectionChanged"></a>
252 <h4>UnknownDevicesDialog.on_deviceList_itemSelectionChanged</h4>
253 <b>on_deviceList_itemSelectionChanged</b>(<i></i>)
254
255 <p>
256 Private slot to handle a change of selected items.
257 </p>
258 <a NAME="UnknownDevicesDialog.on_editButton_clicked" ID="UnknownDevicesDialog.on_editButton_clicked"></a>
259 <h4>UnknownDevicesDialog.on_editButton_clicked</h4>
260 <b>on_editButton_clicked</b>(<i></i>)
261
262 <p>
263 Private slot to edit the selected item.
264 </p>
265 <a NAME="UnknownDevicesDialog.on_reportButton_clicked" ID="UnknownDevicesDialog.on_reportButton_clicked"></a>
266 <h4>UnknownDevicesDialog.on_reportButton_clicked</h4>
267 <b>on_reportButton_clicked</b>(<i></i>)
268
269 <p>
270 Private slot to report the data of all boards to the eric-bugs email
271 address.
272 </p>
273 <a NAME="UnknownDevicesDialog.on_restoreButton_clicked" ID="UnknownDevicesDialog.on_restoreButton_clicked"></a>
274 <h4>UnknownDevicesDialog.on_restoreButton_clicked</h4>
275 <b>on_restoreButton_clicked</b>(<i></i>)
276
277 <p>
278 Private slot to restore the list of unknown devices.
279 </p>
280 <div align="right"><a href="#top">Up</a></div>
281 <hr />
282 </body></html>

eric ide

mercurial