eric6/Documentation/Source/eric6.Network.IRC.IrcNetworkEditDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Network.IRC.IrcNetworkEditDialog</h1> 23 <h1>eric6.Network.IRC.IrcNetworkEditDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog for editing IRC network definitions. 26 Module implementing a dialog for editing IRC network definitions.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#IrcNetworkEditDialog">IrcNetworkEditDialog</a></td> 38 <td><a href="#IrcNetworkEditDialog">IrcNetworkEditDialog</a></td>
34 <td>Class implementing a dialog for editing IRC network definitions.</td> 39 <td>Class implementing a dialog for editing IRC network definitions.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="IrcNetworkEditDialog" ID="IrcNetworkEditDialog"></a> 49 <a NAME="IrcNetworkEditDialog" ID="IrcNetworkEditDialog"></a>
43 <h2>IrcNetworkEditDialog</h2> 50 <h2>IrcNetworkEditDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog for editing IRC network definitions. 53 Class implementing a dialog for editing IRC network definitions.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_IrcNetworkEditDialog 56 QDialog, Ui_IrcNetworkEditDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#IrcNetworkEditDialog.__init__">IrcNetworkEditDialog</a></td> 72 <td><a href="#IrcNetworkEditDialog.__init__">IrcNetworkEditDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#IrcNetworkEditDialog.__editChannel">__editChannel</a></td> 76 <td><a href="#IrcNetworkEditDialog.__editChannel">__editChannel</a></td>
64 <td>Private method to edit a channel.</td> 77 <td>Private method to edit a channel.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#IrcNetworkEditDialog.__refreshIdentityCombo">__refreshIdentityCombo</a></td> 80 <td><a href="#IrcNetworkEditDialog.__refreshIdentityCombo">__refreshIdentityCombo</a></td>
67 <td>Private method to refresh the identity combo.</td> 81 <td>Private method to refresh the identity combo.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#IrcNetworkEditDialog.__updateOkButton">__updateOkButton</a></td> 84 <td><a href="#IrcNetworkEditDialog.__updateOkButton">__updateOkButton</a></td>
70 <td>Private method to update the OK button state.</td> 85 <td>Private method to update the OK button state.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#IrcNetworkEditDialog.getNetwork">getNetwork</a></td> 88 <td><a href="#IrcNetworkEditDialog.getNetwork">getNetwork</a></td>
73 <td>Public method to get the network object.</td> 89 <td>Public method to get the network object.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#IrcNetworkEditDialog.on_addChannelButton_clicked">on_addChannelButton_clicked</a></td> 92 <td><a href="#IrcNetworkEditDialog.on_addChannelButton_clicked">on_addChannelButton_clicked</a></td>
76 <td>Private slot to add a channel.</td> 93 <td>Private slot to add a channel.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#IrcNetworkEditDialog.on_channelList_itemActivated">on_channelList_itemActivated</a></td> 96 <td><a href="#IrcNetworkEditDialog.on_channelList_itemActivated">on_channelList_itemActivated</a></td>
79 <td>Private slot to handle the activation of a channel entry.</td> 97 <td>Private slot to handle the activation of a channel entry.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#IrcNetworkEditDialog.on_channelList_itemSelectionChanged">on_channelList_itemSelectionChanged</a></td> 100 <td><a href="#IrcNetworkEditDialog.on_channelList_itemSelectionChanged">on_channelList_itemSelectionChanged</a></td>
82 <td>Private slot to handle changes of the selection of channels.</td> 101 <td>Private slot to handle changes of the selection of channels.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#IrcNetworkEditDialog.on_deleteChannelButton_clicked">on_deleteChannelButton_clicked</a></td> 104 <td><a href="#IrcNetworkEditDialog.on_deleteChannelButton_clicked">on_deleteChannelButton_clicked</a></td>
85 <td>Private slot to delete the selected channel.</td> 105 <td>Private slot to delete the selected channel.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#IrcNetworkEditDialog.on_editChannelButton_clicked">on_editChannelButton_clicked</a></td> 108 <td><a href="#IrcNetworkEditDialog.on_editChannelButton_clicked">on_editChannelButton_clicked</a></td>
88 <td>Private slot to edit the selected channel.</td> 109 <td>Private slot to edit the selected channel.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#IrcNetworkEditDialog.on_editIdentitiesButton_clicked">on_editIdentitiesButton_clicked</a></td> 112 <td><a href="#IrcNetworkEditDialog.on_editIdentitiesButton_clicked">on_editIdentitiesButton_clicked</a></td>
91 <td>Private slot to edit the identities.</td> 113 <td>Private slot to edit the identities.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#IrcNetworkEditDialog.on_editServerButton_clicked">on_editServerButton_clicked</a></td> 116 <td><a href="#IrcNetworkEditDialog.on_editServerButton_clicked">on_editServerButton_clicked</a></td>
94 <td>Private slot to edit the server configuration.</td> 117 <td>Private slot to edit the server configuration.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#IrcNetworkEditDialog.on_identityCombo_currentIndexChanged">on_identityCombo_currentIndexChanged</a></td> 120 <td><a href="#IrcNetworkEditDialog.on_identityCombo_currentIndexChanged">on_identityCombo_currentIndexChanged</a></td>
97 <td>Private slot to handle the selection of an identity.</td> 121 <td>Private slot to handle the selection of an identity.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#IrcNetworkEditDialog.on_networkEdit_textChanged">on_networkEdit_textChanged</a></td> 124 <td><a href="#IrcNetworkEditDialog.on_networkEdit_textChanged">on_networkEdit_textChanged</a></td>
100 <td>Private slot to handle changes of the network name.</td> 125 <td>Private slot to handle changes of the network name.</td>
101 </tr><tr> 126 </tr>
127 <tr>
102 <td><a href="#IrcNetworkEditDialog.on_serverEdit_textChanged">on_serverEdit_textChanged</a></td> 128 <td><a href="#IrcNetworkEditDialog.on_serverEdit_textChanged">on_serverEdit_textChanged</a></td>
103 <td>Private slot to handle changes of the server name.</td> 129 <td>Private slot to handle changes of the server name.</td>
104 </tr> 130 </tr>
105 </table> 131 </table>
106 <h3>Static Methods</h3> 132 <h3>Static Methods</h3>
107 <table> 133
108 <tr><td>None</td></tr> 134 <table>
109 </table> 135 <tr><td>None</td></tr>
136 </table>
137
110 <a NAME="IrcNetworkEditDialog.__init__" ID="IrcNetworkEditDialog.__init__"></a> 138 <a NAME="IrcNetworkEditDialog.__init__" ID="IrcNetworkEditDialog.__init__"></a>
111 <h4>IrcNetworkEditDialog (Constructor)</h4> 139 <h4>IrcNetworkEditDialog (Constructor)</h4>
112 <b>IrcNetworkEditDialog</b>(<i>manager, networkName, parent=None</i>) 140 <b>IrcNetworkEditDialog</b>(<i>manager, networkName, parent=None</i>)
141
113 <p> 142 <p>
114 Constructor 143 Constructor
115 </p><dl> 144 </p>
145 <dl>
146
116 <dt><i>manager</i></dt> 147 <dt><i>manager</i></dt>
117 <dd> 148 <dd>
118 reference to the IRC network manager object 149 reference to the IRC network manager object
119 (IrcNetworkManager) 150 (IrcNetworkManager)
120 </dd><dt><i>networkName</i></dt> 151 </dd>
152 <dt><i>networkName</i></dt>
121 <dd> 153 <dd>
122 name of the network to work on (string) 154 name of the network to work on (string)
123 </dd><dt><i>parent</i></dt> 155 </dd>
156 <dt><i>parent</i></dt>
124 <dd> 157 <dd>
125 reference to the parent widget (QWidget) 158 reference to the parent widget (QWidget)
126 </dd> 159 </dd>
127 </dl><a NAME="IrcNetworkEditDialog.__editChannel" ID="IrcNetworkEditDialog.__editChannel"></a> 160 </dl>
161 <a NAME="IrcNetworkEditDialog.__editChannel" ID="IrcNetworkEditDialog.__editChannel"></a>
128 <h4>IrcNetworkEditDialog.__editChannel</h4> 162 <h4>IrcNetworkEditDialog.__editChannel</h4>
129 <b>__editChannel</b>(<i>itm</i>) 163 <b>__editChannel</b>(<i>itm</i>)
164
130 <p> 165 <p>
131 Private method to edit a channel. 166 Private method to edit a channel.
132 </p><dl> 167 </p>
168 <dl>
169
133 <dt><i>itm</i></dt> 170 <dt><i>itm</i></dt>
134 <dd> 171 <dd>
135 reference to the item to be edited (QTreeWidgetItem) 172 reference to the item to be edited (QTreeWidgetItem)
136 </dd> 173 </dd>
137 </dl><a NAME="IrcNetworkEditDialog.__refreshIdentityCombo" ID="IrcNetworkEditDialog.__refreshIdentityCombo"></a> 174 </dl>
175 <a NAME="IrcNetworkEditDialog.__refreshIdentityCombo" ID="IrcNetworkEditDialog.__refreshIdentityCombo"></a>
138 <h4>IrcNetworkEditDialog.__refreshIdentityCombo</h4> 176 <h4>IrcNetworkEditDialog.__refreshIdentityCombo</h4>
139 <b>__refreshIdentityCombo</b>(<i>currentIdentity</i>) 177 <b>__refreshIdentityCombo</b>(<i>currentIdentity</i>)
178
140 <p> 179 <p>
141 Private method to refresh the identity combo. 180 Private method to refresh the identity combo.
142 </p><dl> 181 </p>
182 <dl>
183
143 <dt><i>currentIdentity</i></dt> 184 <dt><i>currentIdentity</i></dt>
144 <dd> 185 <dd>
145 name of the identity to select (string) 186 name of the identity to select (string)
146 </dd> 187 </dd>
147 </dl><a NAME="IrcNetworkEditDialog.__updateOkButton" ID="IrcNetworkEditDialog.__updateOkButton"></a> 188 </dl>
189 <a NAME="IrcNetworkEditDialog.__updateOkButton" ID="IrcNetworkEditDialog.__updateOkButton"></a>
148 <h4>IrcNetworkEditDialog.__updateOkButton</h4> 190 <h4>IrcNetworkEditDialog.__updateOkButton</h4>
149 <b>__updateOkButton</b>(<i></i>) 191 <b>__updateOkButton</b>(<i></i>)
192
150 <p> 193 <p>
151 Private method to update the OK button state. 194 Private method to update the OK button state.
152 </p><a NAME="IrcNetworkEditDialog.getNetwork" ID="IrcNetworkEditDialog.getNetwork"></a> 195 </p>
196 <a NAME="IrcNetworkEditDialog.getNetwork" ID="IrcNetworkEditDialog.getNetwork"></a>
153 <h4>IrcNetworkEditDialog.getNetwork</h4> 197 <h4>IrcNetworkEditDialog.getNetwork</h4>
154 <b>getNetwork</b>(<i></i>) 198 <b>getNetwork</b>(<i></i>)
199
155 <p> 200 <p>
156 Public method to get the network object. 201 Public method to get the network object.
157 </p><dl> 202 </p>
203 <dl>
158 <dt>Returns:</dt> 204 <dt>Returns:</dt>
159 <dd> 205 <dd>
160 edited network object (IrcNetwork) 206 edited network object (IrcNetwork)
161 </dd> 207 </dd>
162 </dl><a NAME="IrcNetworkEditDialog.on_addChannelButton_clicked" ID="IrcNetworkEditDialog.on_addChannelButton_clicked"></a> 208 </dl>
209 <a NAME="IrcNetworkEditDialog.on_addChannelButton_clicked" ID="IrcNetworkEditDialog.on_addChannelButton_clicked"></a>
163 <h4>IrcNetworkEditDialog.on_addChannelButton_clicked</h4> 210 <h4>IrcNetworkEditDialog.on_addChannelButton_clicked</h4>
164 <b>on_addChannelButton_clicked</b>(<i></i>) 211 <b>on_addChannelButton_clicked</b>(<i></i>)
212
165 <p> 213 <p>
166 Private slot to add a channel. 214 Private slot to add a channel.
167 </p><a NAME="IrcNetworkEditDialog.on_channelList_itemActivated" ID="IrcNetworkEditDialog.on_channelList_itemActivated"></a> 215 </p>
216 <a NAME="IrcNetworkEditDialog.on_channelList_itemActivated" ID="IrcNetworkEditDialog.on_channelList_itemActivated"></a>
168 <h4>IrcNetworkEditDialog.on_channelList_itemActivated</h4> 217 <h4>IrcNetworkEditDialog.on_channelList_itemActivated</h4>
169 <b>on_channelList_itemActivated</b>(<i>item, column</i>) 218 <b>on_channelList_itemActivated</b>(<i>item, column</i>)
219
170 <p> 220 <p>
171 Private slot to handle the activation of a channel entry. 221 Private slot to handle the activation of a channel entry.
172 </p><dl> 222 </p>
223 <dl>
224
173 <dt><i>item</i></dt> 225 <dt><i>item</i></dt>
174 <dd> 226 <dd>
175 reference to the activated item (QTreeWidgetItem) 227 reference to the activated item (QTreeWidgetItem)
176 </dd><dt><i>column</i></dt> 228 </dd>
229 <dt><i>column</i></dt>
177 <dd> 230 <dd>
178 column the activation occurred in (integer) 231 column the activation occurred in (integer)
179 </dd> 232 </dd>
180 </dl><a NAME="IrcNetworkEditDialog.on_channelList_itemSelectionChanged" ID="IrcNetworkEditDialog.on_channelList_itemSelectionChanged"></a> 233 </dl>
234 <a NAME="IrcNetworkEditDialog.on_channelList_itemSelectionChanged" ID="IrcNetworkEditDialog.on_channelList_itemSelectionChanged"></a>
181 <h4>IrcNetworkEditDialog.on_channelList_itemSelectionChanged</h4> 235 <h4>IrcNetworkEditDialog.on_channelList_itemSelectionChanged</h4>
182 <b>on_channelList_itemSelectionChanged</b>(<i></i>) 236 <b>on_channelList_itemSelectionChanged</b>(<i></i>)
237
183 <p> 238 <p>
184 Private slot to handle changes of the selection of channels. 239 Private slot to handle changes of the selection of channels.
185 </p><a NAME="IrcNetworkEditDialog.on_deleteChannelButton_clicked" ID="IrcNetworkEditDialog.on_deleteChannelButton_clicked"></a> 240 </p>
241 <a NAME="IrcNetworkEditDialog.on_deleteChannelButton_clicked" ID="IrcNetworkEditDialog.on_deleteChannelButton_clicked"></a>
186 <h4>IrcNetworkEditDialog.on_deleteChannelButton_clicked</h4> 242 <h4>IrcNetworkEditDialog.on_deleteChannelButton_clicked</h4>
187 <b>on_deleteChannelButton_clicked</b>(<i></i>) 243 <b>on_deleteChannelButton_clicked</b>(<i></i>)
244
188 <p> 245 <p>
189 Private slot to delete the selected channel. 246 Private slot to delete the selected channel.
190 </p><a NAME="IrcNetworkEditDialog.on_editChannelButton_clicked" ID="IrcNetworkEditDialog.on_editChannelButton_clicked"></a> 247 </p>
248 <a NAME="IrcNetworkEditDialog.on_editChannelButton_clicked" ID="IrcNetworkEditDialog.on_editChannelButton_clicked"></a>
191 <h4>IrcNetworkEditDialog.on_editChannelButton_clicked</h4> 249 <h4>IrcNetworkEditDialog.on_editChannelButton_clicked</h4>
192 <b>on_editChannelButton_clicked</b>(<i></i>) 250 <b>on_editChannelButton_clicked</b>(<i></i>)
251
193 <p> 252 <p>
194 Private slot to edit the selected channel. 253 Private slot to edit the selected channel.
195 </p><a NAME="IrcNetworkEditDialog.on_editIdentitiesButton_clicked" ID="IrcNetworkEditDialog.on_editIdentitiesButton_clicked"></a> 254 </p>
255 <a NAME="IrcNetworkEditDialog.on_editIdentitiesButton_clicked" ID="IrcNetworkEditDialog.on_editIdentitiesButton_clicked"></a>
196 <h4>IrcNetworkEditDialog.on_editIdentitiesButton_clicked</h4> 256 <h4>IrcNetworkEditDialog.on_editIdentitiesButton_clicked</h4>
197 <b>on_editIdentitiesButton_clicked</b>(<i></i>) 257 <b>on_editIdentitiesButton_clicked</b>(<i></i>)
258
198 <p> 259 <p>
199 Private slot to edit the identities. 260 Private slot to edit the identities.
200 </p><a NAME="IrcNetworkEditDialog.on_editServerButton_clicked" ID="IrcNetworkEditDialog.on_editServerButton_clicked"></a> 261 </p>
262 <a NAME="IrcNetworkEditDialog.on_editServerButton_clicked" ID="IrcNetworkEditDialog.on_editServerButton_clicked"></a>
201 <h4>IrcNetworkEditDialog.on_editServerButton_clicked</h4> 263 <h4>IrcNetworkEditDialog.on_editServerButton_clicked</h4>
202 <b>on_editServerButton_clicked</b>(<i></i>) 264 <b>on_editServerButton_clicked</b>(<i></i>)
265
203 <p> 266 <p>
204 Private slot to edit the server configuration. 267 Private slot to edit the server configuration.
205 </p><a NAME="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged" ID="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged"></a> 268 </p>
269 <a NAME="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged" ID="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged"></a>
206 <h4>IrcNetworkEditDialog.on_identityCombo_currentIndexChanged</h4> 270 <h4>IrcNetworkEditDialog.on_identityCombo_currentIndexChanged</h4>
207 <b>on_identityCombo_currentIndexChanged</b>(<i>identity</i>) 271 <b>on_identityCombo_currentIndexChanged</b>(<i>identity</i>)
272
208 <p> 273 <p>
209 Private slot to handle the selection of an identity. 274 Private slot to handle the selection of an identity.
210 </p><dl> 275 </p>
276 <dl>
277
211 <dt><i>identity</i></dt> 278 <dt><i>identity</i></dt>
212 <dd> 279 <dd>
213 selected entity (string) 280 selected entity (string)
214 </dd> 281 </dd>
215 </dl><a NAME="IrcNetworkEditDialog.on_networkEdit_textChanged" ID="IrcNetworkEditDialog.on_networkEdit_textChanged"></a> 282 </dl>
283 <a NAME="IrcNetworkEditDialog.on_networkEdit_textChanged" ID="IrcNetworkEditDialog.on_networkEdit_textChanged"></a>
216 <h4>IrcNetworkEditDialog.on_networkEdit_textChanged</h4> 284 <h4>IrcNetworkEditDialog.on_networkEdit_textChanged</h4>
217 <b>on_networkEdit_textChanged</b>(<i>txt</i>) 285 <b>on_networkEdit_textChanged</b>(<i>txt</i>)
286
218 <p> 287 <p>
219 Private slot to handle changes of the network name. 288 Private slot to handle changes of the network name.
220 </p><dl> 289 </p>
290 <dl>
291
221 <dt><i>txt</i></dt> 292 <dt><i>txt</i></dt>
222 <dd> 293 <dd>
223 text entered into the network name edit (string) 294 text entered into the network name edit (string)
224 </dd> 295 </dd>
225 </dl><a NAME="IrcNetworkEditDialog.on_serverEdit_textChanged" ID="IrcNetworkEditDialog.on_serverEdit_textChanged"></a> 296 </dl>
297 <a NAME="IrcNetworkEditDialog.on_serverEdit_textChanged" ID="IrcNetworkEditDialog.on_serverEdit_textChanged"></a>
226 <h4>IrcNetworkEditDialog.on_serverEdit_textChanged</h4> 298 <h4>IrcNetworkEditDialog.on_serverEdit_textChanged</h4>
227 <b>on_serverEdit_textChanged</b>(<i>txt</i>) 299 <b>on_serverEdit_textChanged</b>(<i>txt</i>)
300
228 <p> 301 <p>
229 Private slot to handle changes of the server name. 302 Private slot to handle changes of the server name.
230 </p><dl> 303 </p>
304 <dl>
305
231 <dt><i>txt</i></dt> 306 <dt><i>txt</i></dt>
232 <dd> 307 <dd>
233 text entered into the server name edit (string) 308 text entered into the server name edit (string)
234 </dd> 309 </dd>
235 </dl> 310 </dl>

eric ide

mercurial