|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Network.IRC.IrcIdentitiesEditDialog</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.Network.IRC.IrcIdentitiesEditDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the identities management dialog. |
|
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="#IrcIdentitiesEditDialog">IrcIdentitiesEditDialog</a></td> |
|
25 <td>Class implementing the identities management dialog.</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="IrcIdentitiesEditDialog" ID="IrcIdentitiesEditDialog"></a> |
|
36 <h2>IrcIdentitiesEditDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the identities management dialog. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_IrcIdentitiesEditDialog |
|
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="#IrcIdentitiesEditDialog.__init__">IrcIdentitiesEditDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#IrcIdentitiesEditDialog.__checkCurrentIdentity">__checkCurrentIdentity</a></td> |
|
63 <td>Private method to check the data for the current identity.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#IrcIdentitiesEditDialog.__refreshCurrentIdentity">__refreshCurrentIdentity</a></td> |
|
67 <td>Private method to read back the data for the current identity.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#IrcIdentitiesEditDialog.__updateIdentitiesButtons">__updateIdentitiesButtons</a></td> |
|
71 <td>Private slot to update the status of the identity related buttons.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#IrcIdentitiesEditDialog.__updateNicknameButtons">__updateNicknameButtons</a></td> |
|
75 <td>Private slot to update the nick name buttons except the up and down buttons.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#IrcIdentitiesEditDialog.__updateNicknameUpDownButtons">__updateNicknameUpDownButtons</a></td> |
|
79 <td>Private method to set the enabled state of the nick name up and down buttons.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#IrcIdentitiesEditDialog.accept">accept</a></td> |
|
83 <td>Public slot handling the acceptance of the dialog.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#IrcIdentitiesEditDialog.eventFilter">eventFilter</a></td> |
|
87 <td>Public method to handle events for other objects.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#IrcIdentitiesEditDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
91 <td>Private slot to add a new idntity.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#IrcIdentitiesEditDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
95 <td>Private slot to copy the selected identity.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#IrcIdentitiesEditDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
99 <td>Private slot to rename the selected identity.</td> |
|
100 </tr> |
|
101 <tr> |
|
102 <td><a href="#IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged">on_identitiesCombo_currentIndexChanged</a></td> |
|
103 <td>Private slot to handle the selection of an identity.</td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td><a href="#IrcIdentitiesEditDialog.on_nicknameAddButton_clicked">on_nicknameAddButton_clicked</a></td> |
|
107 <td>Private slot to add a new nickname.</td> |
|
108 </tr> |
|
109 <tr> |
|
110 <td><a href="#IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked">on_nicknameDeleteButton_clicked</a></td> |
|
111 <td>Private slot to delete a nick name.</td> |
|
112 </tr> |
|
113 <tr> |
|
114 <td><a href="#IrcIdentitiesEditDialog.on_nicknameDownButton_clicked">on_nicknameDownButton_clicked</a></td> |
|
115 <td>Private slot to move the selected entry down one row.</td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td><a href="#IrcIdentitiesEditDialog.on_nicknameEdit_textEdited">on_nicknameEdit_textEdited</a></td> |
|
119 <td>Private slot handling a change of the nick name.</td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td><a href="#IrcIdentitiesEditDialog.on_nicknameUpButton_clicked">on_nicknameUpButton_clicked</a></td> |
|
123 <td>Private slot to move the selected entry up one row.</td> |
|
124 </tr> |
|
125 <tr> |
|
126 <td><a href="#IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged">on_nicknamesList_itemSelectionChanged</a></td> |
|
127 <td>Private slot handling the selection of a nick name.</td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td><a href="#IrcIdentitiesEditDialog.on_renameButton_clicked">on_renameButton_clicked</a></td> |
|
131 <td>Private slot to rename the selected identity.</td> |
|
132 </tr> |
|
133 <tr> |
|
134 <td><a href="#IrcIdentitiesEditDialog.on_showPasswordButton_clicked">on_showPasswordButton_clicked</a></td> |
|
135 <td>Private slot to show or hide the password.</td> |
|
136 </tr> |
|
137 </table> |
|
138 <h3>Static Methods</h3> |
|
139 |
|
140 <table> |
|
141 <tr><td>None</td></tr> |
|
142 </table> |
|
143 |
|
144 <a NAME="IrcIdentitiesEditDialog.__init__" ID="IrcIdentitiesEditDialog.__init__"></a> |
|
145 <h4>IrcIdentitiesEditDialog (Constructor)</h4> |
|
146 <b>IrcIdentitiesEditDialog</b>(<i>manager, identityName, parent=None</i>) |
|
147 |
|
148 <p> |
|
149 Constructor |
|
150 </p> |
|
151 <dl> |
|
152 |
|
153 <dt><i>manager</i></dt> |
|
154 <dd> |
|
155 reference to the IRC network manager object |
|
156 (IrcNetworkManager) |
|
157 </dd> |
|
158 <dt><i>identityName</i></dt> |
|
159 <dd> |
|
160 name of the identity to be selected (string) |
|
161 </dd> |
|
162 <dt><i>parent</i></dt> |
|
163 <dd> |
|
164 reference to the parent widget (QWidget) |
|
165 </dd> |
|
166 </dl> |
|
167 <a NAME="IrcIdentitiesEditDialog.__checkCurrentIdentity" ID="IrcIdentitiesEditDialog.__checkCurrentIdentity"></a> |
|
168 <h4>IrcIdentitiesEditDialog.__checkCurrentIdentity</h4> |
|
169 <b>__checkCurrentIdentity</b>(<i></i>) |
|
170 |
|
171 <p> |
|
172 Private method to check the data for the current identity. |
|
173 </p> |
|
174 <dl> |
|
175 <dt>Return:</dt> |
|
176 <dd> |
|
177 flag indicating a successful check (boolean) |
|
178 </dd> |
|
179 </dl> |
|
180 <a NAME="IrcIdentitiesEditDialog.__refreshCurrentIdentity" ID="IrcIdentitiesEditDialog.__refreshCurrentIdentity"></a> |
|
181 <h4>IrcIdentitiesEditDialog.__refreshCurrentIdentity</h4> |
|
182 <b>__refreshCurrentIdentity</b>(<i></i>) |
|
183 |
|
184 <p> |
|
185 Private method to read back the data for the current identity. |
|
186 </p> |
|
187 <a NAME="IrcIdentitiesEditDialog.__updateIdentitiesButtons" ID="IrcIdentitiesEditDialog.__updateIdentitiesButtons"></a> |
|
188 <h4>IrcIdentitiesEditDialog.__updateIdentitiesButtons</h4> |
|
189 <b>__updateIdentitiesButtons</b>(<i></i>) |
|
190 |
|
191 <p> |
|
192 Private slot to update the status of the identity related buttons. |
|
193 </p> |
|
194 <a NAME="IrcIdentitiesEditDialog.__updateNicknameButtons" ID="IrcIdentitiesEditDialog.__updateNicknameButtons"></a> |
|
195 <h4>IrcIdentitiesEditDialog.__updateNicknameButtons</h4> |
|
196 <b>__updateNicknameButtons</b>(<i></i>) |
|
197 |
|
198 <p> |
|
199 Private slot to update the nick name buttons except the up and |
|
200 down buttons. |
|
201 </p> |
|
202 <a NAME="IrcIdentitiesEditDialog.__updateNicknameUpDownButtons" ID="IrcIdentitiesEditDialog.__updateNicknameUpDownButtons"></a> |
|
203 <h4>IrcIdentitiesEditDialog.__updateNicknameUpDownButtons</h4> |
|
204 <b>__updateNicknameUpDownButtons</b>(<i></i>) |
|
205 |
|
206 <p> |
|
207 Private method to set the enabled state of the nick name up and |
|
208 down buttons. |
|
209 </p> |
|
210 <a NAME="IrcIdentitiesEditDialog.accept" ID="IrcIdentitiesEditDialog.accept"></a> |
|
211 <h4>IrcIdentitiesEditDialog.accept</h4> |
|
212 <b>accept</b>(<i></i>) |
|
213 |
|
214 <p> |
|
215 Public slot handling the acceptance of the dialog. |
|
216 </p> |
|
217 <a NAME="IrcIdentitiesEditDialog.eventFilter" ID="IrcIdentitiesEditDialog.eventFilter"></a> |
|
218 <h4>IrcIdentitiesEditDialog.eventFilter</h4> |
|
219 <b>eventFilter</b>(<i>obj, evt</i>) |
|
220 |
|
221 <p> |
|
222 Public method to handle events for other objects. |
|
223 </p> |
|
224 <dl> |
|
225 |
|
226 <dt><i>obj</i></dt> |
|
227 <dd> |
|
228 reference to the object (QObject) |
|
229 </dd> |
|
230 <dt><i>evt</i></dt> |
|
231 <dd> |
|
232 reference to the event (QEvent) |
|
233 </dd> |
|
234 </dl> |
|
235 <dl> |
|
236 <dt>Return:</dt> |
|
237 <dd> |
|
238 flag indicating that the event should be filtered out (boolean) |
|
239 </dd> |
|
240 </dl> |
|
241 <a NAME="IrcIdentitiesEditDialog.on_addButton_clicked" ID="IrcIdentitiesEditDialog.on_addButton_clicked"></a> |
|
242 <h4>IrcIdentitiesEditDialog.on_addButton_clicked</h4> |
|
243 <b>on_addButton_clicked</b>(<i></i>) |
|
244 |
|
245 <p> |
|
246 Private slot to add a new idntity. |
|
247 </p> |
|
248 <a NAME="IrcIdentitiesEditDialog.on_copyButton_clicked" ID="IrcIdentitiesEditDialog.on_copyButton_clicked"></a> |
|
249 <h4>IrcIdentitiesEditDialog.on_copyButton_clicked</h4> |
|
250 <b>on_copyButton_clicked</b>(<i></i>) |
|
251 |
|
252 <p> |
|
253 Private slot to copy the selected identity. |
|
254 </p> |
|
255 <a NAME="IrcIdentitiesEditDialog.on_deleteButton_clicked" ID="IrcIdentitiesEditDialog.on_deleteButton_clicked"></a> |
|
256 <h4>IrcIdentitiesEditDialog.on_deleteButton_clicked</h4> |
|
257 <b>on_deleteButton_clicked</b>(<i></i>) |
|
258 |
|
259 <p> |
|
260 Private slot to rename the selected identity. |
|
261 </p> |
|
262 <a NAME="IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged" ID="IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged"></a> |
|
263 <h4>IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged</h4> |
|
264 <b>on_identitiesCombo_currentIndexChanged</b>(<i>index</i>) |
|
265 |
|
266 <p> |
|
267 Private slot to handle the selection of an identity. |
|
268 </p> |
|
269 <dl> |
|
270 |
|
271 <dt><i>index</i> (int)</dt> |
|
272 <dd> |
|
273 index of the selected entry |
|
274 </dd> |
|
275 </dl> |
|
276 <a NAME="IrcIdentitiesEditDialog.on_nicknameAddButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameAddButton_clicked"></a> |
|
277 <h4>IrcIdentitiesEditDialog.on_nicknameAddButton_clicked</h4> |
|
278 <b>on_nicknameAddButton_clicked</b>(<i></i>) |
|
279 |
|
280 <p> |
|
281 Private slot to add a new nickname. |
|
282 </p> |
|
283 <a NAME="IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked"></a> |
|
284 <h4>IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked</h4> |
|
285 <b>on_nicknameDeleteButton_clicked</b>(<i></i>) |
|
286 |
|
287 <p> |
|
288 Private slot to delete a nick name. |
|
289 </p> |
|
290 <a NAME="IrcIdentitiesEditDialog.on_nicknameDownButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameDownButton_clicked"></a> |
|
291 <h4>IrcIdentitiesEditDialog.on_nicknameDownButton_clicked</h4> |
|
292 <b>on_nicknameDownButton_clicked</b>(<i></i>) |
|
293 |
|
294 <p> |
|
295 Private slot to move the selected entry down one row. |
|
296 </p> |
|
297 <a NAME="IrcIdentitiesEditDialog.on_nicknameEdit_textEdited" ID="IrcIdentitiesEditDialog.on_nicknameEdit_textEdited"></a> |
|
298 <h4>IrcIdentitiesEditDialog.on_nicknameEdit_textEdited</h4> |
|
299 <b>on_nicknameEdit_textEdited</b>(<i>nick</i>) |
|
300 |
|
301 <p> |
|
302 Private slot handling a change of the nick name. |
|
303 </p> |
|
304 <dl> |
|
305 |
|
306 <dt><i>nick</i></dt> |
|
307 <dd> |
|
308 new nick name (string) |
|
309 </dd> |
|
310 </dl> |
|
311 <a NAME="IrcIdentitiesEditDialog.on_nicknameUpButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameUpButton_clicked"></a> |
|
312 <h4>IrcIdentitiesEditDialog.on_nicknameUpButton_clicked</h4> |
|
313 <b>on_nicknameUpButton_clicked</b>(<i></i>) |
|
314 |
|
315 <p> |
|
316 Private slot to move the selected entry up one row. |
|
317 </p> |
|
318 <a NAME="IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged" ID="IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged"></a> |
|
319 <h4>IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged</h4> |
|
320 <b>on_nicknamesList_itemSelectionChanged</b>(<i></i>) |
|
321 |
|
322 <p> |
|
323 Private slot handling the selection of a nick name. |
|
324 </p> |
|
325 <a NAME="IrcIdentitiesEditDialog.on_renameButton_clicked" ID="IrcIdentitiesEditDialog.on_renameButton_clicked"></a> |
|
326 <h4>IrcIdentitiesEditDialog.on_renameButton_clicked</h4> |
|
327 <b>on_renameButton_clicked</b>(<i></i>) |
|
328 |
|
329 <p> |
|
330 Private slot to rename the selected identity. |
|
331 </p> |
|
332 <a NAME="IrcIdentitiesEditDialog.on_showPasswordButton_clicked" ID="IrcIdentitiesEditDialog.on_showPasswordButton_clicked"></a> |
|
333 <h4>IrcIdentitiesEditDialog.on_showPasswordButton_clicked</h4> |
|
334 <b>on_showPasswordButton_clicked</b>(<i>checked</i>) |
|
335 |
|
336 <p> |
|
337 Private slot to show or hide the password. |
|
338 </p> |
|
339 <dl> |
|
340 |
|
341 <dt><i>checked</i> (bool)</dt> |
|
342 <dd> |
|
343 state of the button |
|
344 </dd> |
|
345 </dl> |
|
346 <div align="right"><a href="#top">Up</a></div> |
|
347 <hr /> |
|
348 </body></html> |