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

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

eric ide

mercurial