|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Network.IRC.IrcNetworkListDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Network.IRC.IrcNetworkListDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to list the configured IRC networks. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#IrcNetworkListDialog">IrcNetworkListDialog</a></td> |
|
39 <td>Class implementing a dialog to list the configured IRC networks.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="IrcNetworkListDialog" ID="IrcNetworkListDialog"></a> |
|
50 <h2>IrcNetworkListDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to list the configured IRC networks. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_IrcNetworkListDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#IrcNetworkListDialog.__init__">IrcNetworkListDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#IrcNetworkListDialog.__checkButtons">__checkButtons</a></td> |
|
77 <td>Private slot to set the enabled state of the buttons.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#IrcNetworkListDialog.__refreshNetworkEntry">__refreshNetworkEntry</a></td> |
|
81 <td>Private method to (re-)set the data of a network entry.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#IrcNetworkListDialog.__refreshNetworksList">__refreshNetworksList</a></td> |
|
85 <td>Private method to refresh the complete networks list.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#IrcNetworkListDialog.__resizeColumns">__resizeColumns</a></td> |
|
89 <td>Private slot to resize all columns to their contents.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#IrcNetworkListDialog.__setAutoConnectEntry">__setAutoConnectEntry</a></td> |
|
93 <td>Private method to set the auto-connect entry of a network item.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#IrcNetworkListDialog.on_autoConnectButton_clicked">on_autoConnectButton_clicked</a></td> |
|
97 <td>Private slot handling the auto-connect selection.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#IrcNetworkListDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
101 <td>Private slot to delete the selected entry.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#IrcNetworkListDialog.on_editButton_clicked">on_editButton_clicked</a></td> |
|
105 <td>Private slot to edit the selected network.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#IrcNetworkListDialog.on_editIdentitiesButton_clicked">on_editIdentitiesButton_clicked</a></td> |
|
109 <td>Private slot to edit the identities.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#IrcNetworkListDialog.on_networksList_itemCollapsed">on_networksList_itemCollapsed</a></td> |
|
113 <td>Private slot handling the collapse of a top level item.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#IrcNetworkListDialog.on_networksList_itemExpanded">on_networksList_itemExpanded</a></td> |
|
117 <td>Private slot handling the expansion of a top level item.</td> |
|
118 </tr> |
|
119 <tr> |
|
120 <td><a href="#IrcNetworkListDialog.on_networksList_itemSelectionChanged">on_networksList_itemSelectionChanged</a></td> |
|
121 <td>Private slot to handle changes of the selection of networks.</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td><a href="#IrcNetworkListDialog.on_newButton_clicked">on_newButton_clicked</a></td> |
|
125 <td>Private slot to add a new network entry.</td> |
|
126 </tr> |
|
127 </table> |
|
128 <h3>Static Methods</h3> |
|
129 |
|
130 <table> |
|
131 <tr><td>None</td></tr> |
|
132 </table> |
|
133 |
|
134 <a NAME="IrcNetworkListDialog.__init__" ID="IrcNetworkListDialog.__init__"></a> |
|
135 <h4>IrcNetworkListDialog (Constructor)</h4> |
|
136 <b>IrcNetworkListDialog</b>(<i>manager, parent=None</i>) |
|
137 |
|
138 <p> |
|
139 Constructor |
|
140 </p> |
|
141 <dl> |
|
142 |
|
143 <dt><i>manager</i></dt> |
|
144 <dd> |
|
145 reference to the IRC network manager (IrcNetworkManager) |
|
146 </dd> |
|
147 <dt><i>parent</i></dt> |
|
148 <dd> |
|
149 reference to the parent widget (QWidget) |
|
150 </dd> |
|
151 </dl> |
|
152 <a NAME="IrcNetworkListDialog.__checkButtons" ID="IrcNetworkListDialog.__checkButtons"></a> |
|
153 <h4>IrcNetworkListDialog.__checkButtons</h4> |
|
154 <b>__checkButtons</b>(<i></i>) |
|
155 |
|
156 <p> |
|
157 Private slot to set the enabled state of the buttons. |
|
158 </p> |
|
159 <a NAME="IrcNetworkListDialog.__refreshNetworkEntry" ID="IrcNetworkListDialog.__refreshNetworkEntry"></a> |
|
160 <h4>IrcNetworkListDialog.__refreshNetworkEntry</h4> |
|
161 <b>__refreshNetworkEntry</b>(<i>itm</i>) |
|
162 |
|
163 <p> |
|
164 Private method to (re-)set the data of a network entry. |
|
165 </p> |
|
166 <dl> |
|
167 |
|
168 <dt><i>itm</i></dt> |
|
169 <dd> |
|
170 reference to the network entry (QTreeWidgetItem) |
|
171 </dd> |
|
172 </dl> |
|
173 <a NAME="IrcNetworkListDialog.__refreshNetworksList" ID="IrcNetworkListDialog.__refreshNetworksList"></a> |
|
174 <h4>IrcNetworkListDialog.__refreshNetworksList</h4> |
|
175 <b>__refreshNetworksList</b>(<i></i>) |
|
176 |
|
177 <p> |
|
178 Private method to refresh the complete networks list. |
|
179 </p> |
|
180 <a NAME="IrcNetworkListDialog.__resizeColumns" ID="IrcNetworkListDialog.__resizeColumns"></a> |
|
181 <h4>IrcNetworkListDialog.__resizeColumns</h4> |
|
182 <b>__resizeColumns</b>(<i></i>) |
|
183 |
|
184 <p> |
|
185 Private slot to resize all columns to their contents. |
|
186 </p> |
|
187 <a NAME="IrcNetworkListDialog.__setAutoConnectEntry" ID="IrcNetworkListDialog.__setAutoConnectEntry"></a> |
|
188 <h4>IrcNetworkListDialog.__setAutoConnectEntry</h4> |
|
189 <b>__setAutoConnectEntry</b>(<i>itm, on</i>) |
|
190 |
|
191 <p> |
|
192 Private method to set the auto-connect entry of a network item. |
|
193 </p> |
|
194 <dl> |
|
195 |
|
196 <dt><i>itm</i></dt> |
|
197 <dd> |
|
198 reference to the network item (QTreeWidgetItem) |
|
199 </dd> |
|
200 <dt><i>on</i></dt> |
|
201 <dd> |
|
202 flag indicating the auto-connect state (boolean) |
|
203 </dd> |
|
204 </dl> |
|
205 <a NAME="IrcNetworkListDialog.on_autoConnectButton_clicked" ID="IrcNetworkListDialog.on_autoConnectButton_clicked"></a> |
|
206 <h4>IrcNetworkListDialog.on_autoConnectButton_clicked</h4> |
|
207 <b>on_autoConnectButton_clicked</b>(<i>checked</i>) |
|
208 |
|
209 <p> |
|
210 Private slot handling the auto-connect selection. |
|
211 </p> |
|
212 <dl> |
|
213 |
|
214 <dt><i>checked</i></dt> |
|
215 <dd> |
|
216 flag indicating the state of the button (boolean) |
|
217 </dd> |
|
218 </dl> |
|
219 <a NAME="IrcNetworkListDialog.on_deleteButton_clicked" ID="IrcNetworkListDialog.on_deleteButton_clicked"></a> |
|
220 <h4>IrcNetworkListDialog.on_deleteButton_clicked</h4> |
|
221 <b>on_deleteButton_clicked</b>(<i></i>) |
|
222 |
|
223 <p> |
|
224 Private slot to delete the selected entry. |
|
225 </p> |
|
226 <a NAME="IrcNetworkListDialog.on_editButton_clicked" ID="IrcNetworkListDialog.on_editButton_clicked"></a> |
|
227 <h4>IrcNetworkListDialog.on_editButton_clicked</h4> |
|
228 <b>on_editButton_clicked</b>(<i></i>) |
|
229 |
|
230 <p> |
|
231 Private slot to edit the selected network. |
|
232 </p> |
|
233 <a NAME="IrcNetworkListDialog.on_editIdentitiesButton_clicked" ID="IrcNetworkListDialog.on_editIdentitiesButton_clicked"></a> |
|
234 <h4>IrcNetworkListDialog.on_editIdentitiesButton_clicked</h4> |
|
235 <b>on_editIdentitiesButton_clicked</b>(<i></i>) |
|
236 |
|
237 <p> |
|
238 Private slot to edit the identities. |
|
239 </p> |
|
240 <a NAME="IrcNetworkListDialog.on_networksList_itemCollapsed" ID="IrcNetworkListDialog.on_networksList_itemCollapsed"></a> |
|
241 <h4>IrcNetworkListDialog.on_networksList_itemCollapsed</h4> |
|
242 <b>on_networksList_itemCollapsed</b>(<i>item</i>) |
|
243 |
|
244 <p> |
|
245 Private slot handling the collapse of a top level item. |
|
246 </p> |
|
247 <dl> |
|
248 |
|
249 <dt><i>item</i></dt> |
|
250 <dd> |
|
251 reference to the collapsed item (QTreeWidgetItem) |
|
252 </dd> |
|
253 </dl> |
|
254 <a NAME="IrcNetworkListDialog.on_networksList_itemExpanded" ID="IrcNetworkListDialog.on_networksList_itemExpanded"></a> |
|
255 <h4>IrcNetworkListDialog.on_networksList_itemExpanded</h4> |
|
256 <b>on_networksList_itemExpanded</b>(<i>item</i>) |
|
257 |
|
258 <p> |
|
259 Private slot handling the expansion of a top level item. |
|
260 </p> |
|
261 <dl> |
|
262 |
|
263 <dt><i>item</i></dt> |
|
264 <dd> |
|
265 reference to the expanded item (QTreeWidgetItem) |
|
266 </dd> |
|
267 </dl> |
|
268 <a NAME="IrcNetworkListDialog.on_networksList_itemSelectionChanged" ID="IrcNetworkListDialog.on_networksList_itemSelectionChanged"></a> |
|
269 <h4>IrcNetworkListDialog.on_networksList_itemSelectionChanged</h4> |
|
270 <b>on_networksList_itemSelectionChanged</b>(<i></i>) |
|
271 |
|
272 <p> |
|
273 Private slot to handle changes of the selection of networks. |
|
274 </p> |
|
275 <a NAME="IrcNetworkListDialog.on_newButton_clicked" ID="IrcNetworkListDialog.on_newButton_clicked"></a> |
|
276 <h4>IrcNetworkListDialog.on_newButton_clicked</h4> |
|
277 <b>on_newButton_clicked</b>(<i></i>) |
|
278 |
|
279 <p> |
|
280 Private slot to add a new network entry. |
|
281 </p> |
|
282 <div align="right"><a href="#top">Up</a></div> |
|
283 <hr /> |
|
284 </body></html> |