|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Network.IRC.IrcIdentitiesEditDialog</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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Network.IRC.IrcIdentitiesEditDialog</h1> |
|
23 <p> |
|
24 Module implementing the identities management dialog. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#IrcIdentitiesEditDialog">IrcIdentitiesEditDialog</a></td> |
|
34 <td>Class implementing the identities management dialog.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="IrcIdentitiesEditDialog" ID="IrcIdentitiesEditDialog"></a> |
|
43 <h2>IrcIdentitiesEditDialog</h2> |
|
44 <p> |
|
45 Class implementing the identities management dialog. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_IrcIdentitiesEditDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#IrcIdentitiesEditDialog.__init__">IrcIdentitiesEditDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#IrcIdentitiesEditDialog.__checkCurrentIdentity">__checkCurrentIdentity</a></td> |
|
64 <td>Private method to check the data for the current identity.</td> |
|
65 </tr><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><tr> |
|
69 <td><a href="#IrcIdentitiesEditDialog.__updateIdentitiesButtons">__updateIdentitiesButtons</a></td> |
|
70 <td>Private slot to update the status of the identity related buttons.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#IrcIdentitiesEditDialog.__updateNicknameButtons">__updateNicknameButtons</a></td> |
|
73 <td>Private slot to update the nick name buttons except the up and down buttons.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#IrcIdentitiesEditDialog.__updateNicknameUpDownButtons">__updateNicknameUpDownButtons</a></td> |
|
76 <td>Private method to set the enabled state of the nick name up and down buttons.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#IrcIdentitiesEditDialog.accept">accept</a></td> |
|
79 <td>Public slot handling the acceptance of the dialog.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#IrcIdentitiesEditDialog.eventFilter">eventFilter</a></td> |
|
82 <td>Public method to handle events for other objects.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#IrcIdentitiesEditDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
85 <td>Private slot to add a new idntity.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#IrcIdentitiesEditDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
88 <td>Private slot to copy the selected identity.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#IrcIdentitiesEditDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
91 <td>Private slot to rename the selected identity.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged">on_identitiesCombo_currentIndexChanged</a></td> |
|
94 <td>Private slot to handle the selection of an identity.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#IrcIdentitiesEditDialog.on_nicknameAddButton_clicked">on_nicknameAddButton_clicked</a></td> |
|
97 <td>Private slot to add a new nickname.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked">on_nicknameDeleteButton_clicked</a></td> |
|
100 <td>Private slot to delete a nick name.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#IrcIdentitiesEditDialog.on_nicknameDownButton_clicked">on_nicknameDownButton_clicked</a></td> |
|
103 <td>Private slot to move the selected entry down one row.</td> |
|
104 </tr><tr> |
|
105 <td><a href="#IrcIdentitiesEditDialog.on_nicknameEdit_textEdited">on_nicknameEdit_textEdited</a></td> |
|
106 <td>Private slot handling a change of the nick name.</td> |
|
107 </tr><tr> |
|
108 <td><a href="#IrcIdentitiesEditDialog.on_nicknameUpButton_clicked">on_nicknameUpButton_clicked</a></td> |
|
109 <td>Private slot to move the selected entry up one row.</td> |
|
110 </tr><tr> |
|
111 <td><a href="#IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged">on_nicknamesList_itemSelectionChanged</a></td> |
|
112 <td>Private slot handling the selection of a nick name.</td> |
|
113 </tr><tr> |
|
114 <td><a href="#IrcIdentitiesEditDialog.on_renameButton_clicked">on_renameButton_clicked</a></td> |
|
115 <td>Private slot to rename the selected identity.</td> |
|
116 </tr><tr> |
|
117 <td><a href="#IrcIdentitiesEditDialog.on_showPasswordButton_clicked">on_showPasswordButton_clicked</a></td> |
|
118 <td>Private slot to show or hide the password.</td> |
|
119 </tr> |
|
120 </table> |
|
121 <h3>Static Methods</h3> |
|
122 <table> |
|
123 <tr><td>None</td></tr> |
|
124 </table> |
|
125 <a NAME="IrcIdentitiesEditDialog.__init__" ID="IrcIdentitiesEditDialog.__init__"></a> |
|
126 <h4>IrcIdentitiesEditDialog (Constructor)</h4> |
|
127 <b>IrcIdentitiesEditDialog</b>(<i>manager, identityName, parent=None</i>) |
|
128 <p> |
|
129 Constructor |
|
130 </p><dl> |
|
131 <dt><i>manager</i></dt> |
|
132 <dd> |
|
133 reference to the IRC network manager object |
|
134 (IrcNetworkManager) |
|
135 </dd><dt><i>identityName</i></dt> |
|
136 <dd> |
|
137 name of the identity to be selected (string) |
|
138 </dd><dt><i>parent</i></dt> |
|
139 <dd> |
|
140 reference to the parent widget (QWidget) |
|
141 </dd> |
|
142 </dl><a NAME="IrcIdentitiesEditDialog.__checkCurrentIdentity" ID="IrcIdentitiesEditDialog.__checkCurrentIdentity"></a> |
|
143 <h4>IrcIdentitiesEditDialog.__checkCurrentIdentity</h4> |
|
144 <b>__checkCurrentIdentity</b>(<i></i>) |
|
145 <p> |
|
146 Private method to check the data for the current identity. |
|
147 </p><dl> |
|
148 <dt>Returns:</dt> |
|
149 <dd> |
|
150 flag indicating a successful check (boolean) |
|
151 </dd> |
|
152 </dl><a NAME="IrcIdentitiesEditDialog.__refreshCurrentIdentity" ID="IrcIdentitiesEditDialog.__refreshCurrentIdentity"></a> |
|
153 <h4>IrcIdentitiesEditDialog.__refreshCurrentIdentity</h4> |
|
154 <b>__refreshCurrentIdentity</b>(<i></i>) |
|
155 <p> |
|
156 Private method to read back the data for the current identity. |
|
157 </p><a NAME="IrcIdentitiesEditDialog.__updateIdentitiesButtons" ID="IrcIdentitiesEditDialog.__updateIdentitiesButtons"></a> |
|
158 <h4>IrcIdentitiesEditDialog.__updateIdentitiesButtons</h4> |
|
159 <b>__updateIdentitiesButtons</b>(<i></i>) |
|
160 <p> |
|
161 Private slot to update the status of the identity related buttons. |
|
162 </p><a NAME="IrcIdentitiesEditDialog.__updateNicknameButtons" ID="IrcIdentitiesEditDialog.__updateNicknameButtons"></a> |
|
163 <h4>IrcIdentitiesEditDialog.__updateNicknameButtons</h4> |
|
164 <b>__updateNicknameButtons</b>(<i></i>) |
|
165 <p> |
|
166 Private slot to update the nick name buttons except the up and |
|
167 down buttons. |
|
168 </p><a NAME="IrcIdentitiesEditDialog.__updateNicknameUpDownButtons" ID="IrcIdentitiesEditDialog.__updateNicknameUpDownButtons"></a> |
|
169 <h4>IrcIdentitiesEditDialog.__updateNicknameUpDownButtons</h4> |
|
170 <b>__updateNicknameUpDownButtons</b>(<i></i>) |
|
171 <p> |
|
172 Private method to set the enabled state of the nick name up and |
|
173 down buttons. |
|
174 </p><a NAME="IrcIdentitiesEditDialog.accept" ID="IrcIdentitiesEditDialog.accept"></a> |
|
175 <h4>IrcIdentitiesEditDialog.accept</h4> |
|
176 <b>accept</b>(<i></i>) |
|
177 <p> |
|
178 Public slot handling the acceptance of the dialog. |
|
179 </p><a NAME="IrcIdentitiesEditDialog.eventFilter" ID="IrcIdentitiesEditDialog.eventFilter"></a> |
|
180 <h4>IrcIdentitiesEditDialog.eventFilter</h4> |
|
181 <b>eventFilter</b>(<i>obj, evt</i>) |
|
182 <p> |
|
183 Public method to handle events for other objects. |
|
184 </p><dl> |
|
185 <dt><i>obj</i></dt> |
|
186 <dd> |
|
187 reference to the object (QObject) |
|
188 </dd><dt><i>evt</i></dt> |
|
189 <dd> |
|
190 reference to the event (QEvent) |
|
191 </dd> |
|
192 </dl><dl> |
|
193 <dt>Returns:</dt> |
|
194 <dd> |
|
195 flag indicating that the event should be filtered out (boolean) |
|
196 </dd> |
|
197 </dl><a NAME="IrcIdentitiesEditDialog.on_addButton_clicked" ID="IrcIdentitiesEditDialog.on_addButton_clicked"></a> |
|
198 <h4>IrcIdentitiesEditDialog.on_addButton_clicked</h4> |
|
199 <b>on_addButton_clicked</b>(<i></i>) |
|
200 <p> |
|
201 Private slot to add a new idntity. |
|
202 </p><a NAME="IrcIdentitiesEditDialog.on_copyButton_clicked" ID="IrcIdentitiesEditDialog.on_copyButton_clicked"></a> |
|
203 <h4>IrcIdentitiesEditDialog.on_copyButton_clicked</h4> |
|
204 <b>on_copyButton_clicked</b>(<i></i>) |
|
205 <p> |
|
206 Private slot to copy the selected identity. |
|
207 </p><a NAME="IrcIdentitiesEditDialog.on_deleteButton_clicked" ID="IrcIdentitiesEditDialog.on_deleteButton_clicked"></a> |
|
208 <h4>IrcIdentitiesEditDialog.on_deleteButton_clicked</h4> |
|
209 <b>on_deleteButton_clicked</b>(<i></i>) |
|
210 <p> |
|
211 Private slot to rename the selected identity. |
|
212 </p><a NAME="IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged" ID="IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged"></a> |
|
213 <h4>IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged</h4> |
|
214 <b>on_identitiesCombo_currentIndexChanged</b>(<i>identity</i>) |
|
215 <p> |
|
216 Private slot to handle the selection of an identity. |
|
217 </p><dl> |
|
218 <dt><i>identity</i></dt> |
|
219 <dd> |
|
220 selected identity (string) |
|
221 </dd> |
|
222 </dl><a NAME="IrcIdentitiesEditDialog.on_nicknameAddButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameAddButton_clicked"></a> |
|
223 <h4>IrcIdentitiesEditDialog.on_nicknameAddButton_clicked</h4> |
|
224 <b>on_nicknameAddButton_clicked</b>(<i></i>) |
|
225 <p> |
|
226 Private slot to add a new nickname. |
|
227 </p><a NAME="IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked"></a> |
|
228 <h4>IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked</h4> |
|
229 <b>on_nicknameDeleteButton_clicked</b>(<i></i>) |
|
230 <p> |
|
231 Private slot to delete a nick name. |
|
232 </p><a NAME="IrcIdentitiesEditDialog.on_nicknameDownButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameDownButton_clicked"></a> |
|
233 <h4>IrcIdentitiesEditDialog.on_nicknameDownButton_clicked</h4> |
|
234 <b>on_nicknameDownButton_clicked</b>(<i></i>) |
|
235 <p> |
|
236 Private slot to move the selected entry down one row. |
|
237 </p><a NAME="IrcIdentitiesEditDialog.on_nicknameEdit_textEdited" ID="IrcIdentitiesEditDialog.on_nicknameEdit_textEdited"></a> |
|
238 <h4>IrcIdentitiesEditDialog.on_nicknameEdit_textEdited</h4> |
|
239 <b>on_nicknameEdit_textEdited</b>(<i>nick</i>) |
|
240 <p> |
|
241 Private slot handling a change of the nick name. |
|
242 </p><dl> |
|
243 <dt><i>nick</i></dt> |
|
244 <dd> |
|
245 new nick name (string) |
|
246 </dd> |
|
247 </dl><a NAME="IrcIdentitiesEditDialog.on_nicknameUpButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameUpButton_clicked"></a> |
|
248 <h4>IrcIdentitiesEditDialog.on_nicknameUpButton_clicked</h4> |
|
249 <b>on_nicknameUpButton_clicked</b>(<i></i>) |
|
250 <p> |
|
251 Private slot to move the selected entry up one row. |
|
252 </p><a NAME="IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged" ID="IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged"></a> |
|
253 <h4>IrcIdentitiesEditDialog.on_nicknamesList_itemSelectionChanged</h4> |
|
254 <b>on_nicknamesList_itemSelectionChanged</b>(<i></i>) |
|
255 <p> |
|
256 Private slot handling the selection of a nick name. |
|
257 </p><a NAME="IrcIdentitiesEditDialog.on_renameButton_clicked" ID="IrcIdentitiesEditDialog.on_renameButton_clicked"></a> |
|
258 <h4>IrcIdentitiesEditDialog.on_renameButton_clicked</h4> |
|
259 <b>on_renameButton_clicked</b>(<i></i>) |
|
260 <p> |
|
261 Private slot to rename the selected identity. |
|
262 </p><a NAME="IrcIdentitiesEditDialog.on_showPasswordButton_clicked" ID="IrcIdentitiesEditDialog.on_showPasswordButton_clicked"></a> |
|
263 <h4>IrcIdentitiesEditDialog.on_showPasswordButton_clicked</h4> |
|
264 <b>on_showPasswordButton_clicked</b>(<i>checked</i>) |
|
265 <p> |
|
266 Private slot to show or hide the password. |
|
267 </p><dl> |
|
268 <dt><i>checked</i> (bool)</dt> |
|
269 <dd> |
|
270 state of the button |
|
271 </dd> |
|
272 </dl> |
|
273 <div align="right"><a href="#top">Up</a></div> |
|
274 <hr /> |
|
275 </body></html> |