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