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