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