|
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.IrcNetworkEditDialog</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.IrcNetworkEditDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog for editing IRC network definitions. |
|
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="#IrcNetworkEditDialog">IrcNetworkEditDialog</a></td> |
|
35 <td>Class implementing a dialog for editing IRC network definitions.</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="IrcNetworkEditDialog" ID="IrcNetworkEditDialog"></a> |
|
44 <h2>IrcNetworkEditDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog for editing IRC network definitions. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_IrcNetworkEditDialog |
|
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="#IrcNetworkEditDialog.__init__">IrcNetworkEditDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#IrcNetworkEditDialog.__editChannel">__editChannel</a></td> |
|
65 <td>Private method to edit a channel.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#IrcNetworkEditDialog.__refreshIdentityCombo">__refreshIdentityCombo</a></td> |
|
68 <td>Private method to refresh the identity combo.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#IrcNetworkEditDialog.__updateOkButton">__updateOkButton</a></td> |
|
71 <td>Private method to update the OK button state.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#IrcNetworkEditDialog.getNetwork">getNetwork</a></td> |
|
74 <td>Public method to get the network object.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#IrcNetworkEditDialog.on_addChannelButton_clicked">on_addChannelButton_clicked</a></td> |
|
77 <td>Private slot to add a channel.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#IrcNetworkEditDialog.on_channelList_itemActivated">on_channelList_itemActivated</a></td> |
|
80 <td>Private slot to handle the activation of a channel entry.</td> |
|
81 </tr><tr> |
|
82 <td><a href="#IrcNetworkEditDialog.on_channelList_itemSelectionChanged">on_channelList_itemSelectionChanged</a></td> |
|
83 <td>Private slot to handle changes of the selection of channels.</td> |
|
84 </tr><tr> |
|
85 <td><a href="#IrcNetworkEditDialog.on_deleteChannelButton_clicked">on_deleteChannelButton_clicked</a></td> |
|
86 <td>Private slot to delete the selected channel.</td> |
|
87 </tr><tr> |
|
88 <td><a href="#IrcNetworkEditDialog.on_editChannelButton_clicked">on_editChannelButton_clicked</a></td> |
|
89 <td>Private slot to edit the selected channel.</td> |
|
90 </tr><tr> |
|
91 <td><a href="#IrcNetworkEditDialog.on_editIdentitiesButton_clicked">on_editIdentitiesButton_clicked</a></td> |
|
92 <td>Private slot to edit the identities.</td> |
|
93 </tr><tr> |
|
94 <td><a href="#IrcNetworkEditDialog.on_editServerButton_clicked">on_editServerButton_clicked</a></td> |
|
95 <td>Private slot to edit the server configuration.</td> |
|
96 </tr><tr> |
|
97 <td><a href="#IrcNetworkEditDialog.on_identityCombo_currentIndexChanged">on_identityCombo_currentIndexChanged</a></td> |
|
98 <td>Private slot to handle the selection of an identity.</td> |
|
99 </tr><tr> |
|
100 <td><a href="#IrcNetworkEditDialog.on_networkEdit_textChanged">on_networkEdit_textChanged</a></td> |
|
101 <td>Private slot to handle changes of the network name.</td> |
|
102 </tr><tr> |
|
103 <td><a href="#IrcNetworkEditDialog.on_serverEdit_textChanged">on_serverEdit_textChanged</a></td> |
|
104 <td>Private slot to handle changes of the server name.</td> |
|
105 </tr> |
|
106 </table> |
|
107 <h3>Static Methods</h3> |
|
108 <table> |
|
109 <tr><td>None</td></tr> |
|
110 </table> |
|
111 <a NAME="IrcNetworkEditDialog.__init__" ID="IrcNetworkEditDialog.__init__"></a> |
|
112 <h4>IrcNetworkEditDialog (Constructor)</h4> |
|
113 <b>IrcNetworkEditDialog</b>(<i>manager, networkName, parent=None</i>) |
|
114 <p> |
|
115 Constructor |
|
116 </p><dl> |
|
117 <dt><i>manager</i></dt> |
|
118 <dd> |
|
119 reference to the IRC network manager object (IrcNetworkManager) |
|
120 </dd><dt><i>networkName</i></dt> |
|
121 <dd> |
|
122 name of the network to work on (string) |
|
123 </dd><dt><i>parent</i></dt> |
|
124 <dd> |
|
125 reference to the parent widget (QWidget) |
|
126 </dd> |
|
127 </dl><a NAME="IrcNetworkEditDialog.__editChannel" ID="IrcNetworkEditDialog.__editChannel"></a> |
|
128 <h4>IrcNetworkEditDialog.__editChannel</h4> |
|
129 <b>__editChannel</b>(<i>itm</i>) |
|
130 <p> |
|
131 Private method to edit a channel. |
|
132 </p><dl> |
|
133 <dt><i>itm</i></dt> |
|
134 <dd> |
|
135 reference to the item to be edited (QTreeWidgetItem) |
|
136 </dd> |
|
137 </dl><a NAME="IrcNetworkEditDialog.__refreshIdentityCombo" ID="IrcNetworkEditDialog.__refreshIdentityCombo"></a> |
|
138 <h4>IrcNetworkEditDialog.__refreshIdentityCombo</h4> |
|
139 <b>__refreshIdentityCombo</b>(<i>currentIdentity</i>) |
|
140 <p> |
|
141 Private method to refresh the identity combo. |
|
142 </p><dl> |
|
143 <dt><i>currentIdentity</i></dt> |
|
144 <dd> |
|
145 name of the identity to select (string) |
|
146 </dd> |
|
147 </dl><a NAME="IrcNetworkEditDialog.__updateOkButton" ID="IrcNetworkEditDialog.__updateOkButton"></a> |
|
148 <h4>IrcNetworkEditDialog.__updateOkButton</h4> |
|
149 <b>__updateOkButton</b>(<i></i>) |
|
150 <p> |
|
151 Private method to update the OK button state. |
|
152 </p><a NAME="IrcNetworkEditDialog.getNetwork" ID="IrcNetworkEditDialog.getNetwork"></a> |
|
153 <h4>IrcNetworkEditDialog.getNetwork</h4> |
|
154 <b>getNetwork</b>(<i></i>) |
|
155 <p> |
|
156 Public method to get the network object. |
|
157 </p><dl> |
|
158 <dt>Returns:</dt> |
|
159 <dd> |
|
160 edited network object (IrcNetwork) |
|
161 </dd> |
|
162 </dl><a NAME="IrcNetworkEditDialog.on_addChannelButton_clicked" ID="IrcNetworkEditDialog.on_addChannelButton_clicked"></a> |
|
163 <h4>IrcNetworkEditDialog.on_addChannelButton_clicked</h4> |
|
164 <b>on_addChannelButton_clicked</b>(<i></i>) |
|
165 <p> |
|
166 Private slot to add a channel. |
|
167 </p><a NAME="IrcNetworkEditDialog.on_channelList_itemActivated" ID="IrcNetworkEditDialog.on_channelList_itemActivated"></a> |
|
168 <h4>IrcNetworkEditDialog.on_channelList_itemActivated</h4> |
|
169 <b>on_channelList_itemActivated</b>(<i>item, column</i>) |
|
170 <p> |
|
171 Private slot to handle the activation of a channel entry. |
|
172 </p><dl> |
|
173 <dt><i>item</i></dt> |
|
174 <dd> |
|
175 reference to the activated item (QTreeWidgetItem) |
|
176 </dd><dt><i>column</i></dt> |
|
177 <dd> |
|
178 column the activation occurred in (integer) |
|
179 </dd> |
|
180 </dl><a NAME="IrcNetworkEditDialog.on_channelList_itemSelectionChanged" ID="IrcNetworkEditDialog.on_channelList_itemSelectionChanged"></a> |
|
181 <h4>IrcNetworkEditDialog.on_channelList_itemSelectionChanged</h4> |
|
182 <b>on_channelList_itemSelectionChanged</b>(<i></i>) |
|
183 <p> |
|
184 Private slot to handle changes of the selection of channels. |
|
185 </p><a NAME="IrcNetworkEditDialog.on_deleteChannelButton_clicked" ID="IrcNetworkEditDialog.on_deleteChannelButton_clicked"></a> |
|
186 <h4>IrcNetworkEditDialog.on_deleteChannelButton_clicked</h4> |
|
187 <b>on_deleteChannelButton_clicked</b>(<i></i>) |
|
188 <p> |
|
189 Private slot to delete the selected channel. |
|
190 </p><a NAME="IrcNetworkEditDialog.on_editChannelButton_clicked" ID="IrcNetworkEditDialog.on_editChannelButton_clicked"></a> |
|
191 <h4>IrcNetworkEditDialog.on_editChannelButton_clicked</h4> |
|
192 <b>on_editChannelButton_clicked</b>(<i></i>) |
|
193 <p> |
|
194 Private slot to edit the selected channel. |
|
195 </p><a NAME="IrcNetworkEditDialog.on_editIdentitiesButton_clicked" ID="IrcNetworkEditDialog.on_editIdentitiesButton_clicked"></a> |
|
196 <h4>IrcNetworkEditDialog.on_editIdentitiesButton_clicked</h4> |
|
197 <b>on_editIdentitiesButton_clicked</b>(<i></i>) |
|
198 <p> |
|
199 Private slot to edit the identities. |
|
200 </p><a NAME="IrcNetworkEditDialog.on_editServerButton_clicked" ID="IrcNetworkEditDialog.on_editServerButton_clicked"></a> |
|
201 <h4>IrcNetworkEditDialog.on_editServerButton_clicked</h4> |
|
202 <b>on_editServerButton_clicked</b>(<i></i>) |
|
203 <p> |
|
204 Private slot to edit the server configuration. |
|
205 </p><a NAME="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged" ID="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged"></a> |
|
206 <h4>IrcNetworkEditDialog.on_identityCombo_currentIndexChanged</h4> |
|
207 <b>on_identityCombo_currentIndexChanged</b>(<i>identity</i>) |
|
208 <p> |
|
209 Private slot to handle the selection of an identity. |
|
210 </p><dl> |
|
211 <dt><i>identity</i></dt> |
|
212 <dd> |
|
213 selected entity (string) |
|
214 </dd> |
|
215 </dl><a NAME="IrcNetworkEditDialog.on_networkEdit_textChanged" ID="IrcNetworkEditDialog.on_networkEdit_textChanged"></a> |
|
216 <h4>IrcNetworkEditDialog.on_networkEdit_textChanged</h4> |
|
217 <b>on_networkEdit_textChanged</b>(<i>txt</i>) |
|
218 <p> |
|
219 Private slot to handle changes of the network name. |
|
220 </p><dl> |
|
221 <dt><i>txt</i></dt> |
|
222 <dd> |
|
223 text entered into the network name edit (string) |
|
224 </dd> |
|
225 </dl><a NAME="IrcNetworkEditDialog.on_serverEdit_textChanged" ID="IrcNetworkEditDialog.on_serverEdit_textChanged"></a> |
|
226 <h4>IrcNetworkEditDialog.on_serverEdit_textChanged</h4> |
|
227 <b>on_serverEdit_textChanged</b>(<i>txt</i>) |
|
228 <p> |
|
229 Private slot to handle changes of the server name. |
|
230 </p><dl> |
|
231 <dt><i>txt</i></dt> |
|
232 <dd> |
|
233 text entered into the server name edit (string) |
|
234 </dd> |
|
235 </dl> |
|
236 <div align="right"><a href="#top">Up</a></div> |
|
237 <hr /> |
|
238 </body></html> |