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

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Network.IRC.IrcNetworkEditDialog</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.IrcNetworkEditDialog</h1>
23 <p>
24 Module implementing a dialog for editing IRC network definitions.
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="#IrcNetworkEditDialog">IrcNetworkEditDialog</a></td>
34 <td>Class implementing a dialog for editing IRC network definitions.</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="IrcNetworkEditDialog" ID="IrcNetworkEditDialog"></a>
43 <h2>IrcNetworkEditDialog</h2>
44 <p>
45 Class implementing a dialog for editing IRC network definitions.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_IrcNetworkEditDialog
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="#IrcNetworkEditDialog.__init__">IrcNetworkEditDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#IrcNetworkEditDialog.__editChannel">__editChannel</a></td>
64 <td>Private method to edit a channel.</td>
65 </tr><tr>
66 <td><a href="#IrcNetworkEditDialog.__refreshIdentityCombo">__refreshIdentityCombo</a></td>
67 <td>Private method to refresh the identity combo.</td>
68 </tr><tr>
69 <td><a href="#IrcNetworkEditDialog.__updateOkButton">__updateOkButton</a></td>
70 <td>Private method to update the OK button state.</td>
71 </tr><tr>
72 <td><a href="#IrcNetworkEditDialog.getNetwork">getNetwork</a></td>
73 <td>Public method to get the network object.</td>
74 </tr><tr>
75 <td><a href="#IrcNetworkEditDialog.on_addChannelButton_clicked">on_addChannelButton_clicked</a></td>
76 <td>Private slot to add a channel.</td>
77 </tr><tr>
78 <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>
80 </tr><tr>
81 <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>
83 </tr><tr>
84 <td><a href="#IrcNetworkEditDialog.on_deleteChannelButton_clicked">on_deleteChannelButton_clicked</a></td>
85 <td>Private slot to delete the selected channel.</td>
86 </tr><tr>
87 <td><a href="#IrcNetworkEditDialog.on_editChannelButton_clicked">on_editChannelButton_clicked</a></td>
88 <td>Private slot to edit the selected channel.</td>
89 </tr><tr>
90 <td><a href="#IrcNetworkEditDialog.on_editIdentitiesButton_clicked">on_editIdentitiesButton_clicked</a></td>
91 <td>Private slot to edit the identities.</td>
92 </tr><tr>
93 <td><a href="#IrcNetworkEditDialog.on_editServerButton_clicked">on_editServerButton_clicked</a></td>
94 <td>Private slot to edit the server configuration.</td>
95 </tr><tr>
96 <td><a href="#IrcNetworkEditDialog.on_identityCombo_currentIndexChanged">on_identityCombo_currentIndexChanged</a></td>
97 <td>Private slot to handle the selection of an identity.</td>
98 </tr><tr>
99 <td><a href="#IrcNetworkEditDialog.on_networkEdit_textChanged">on_networkEdit_textChanged</a></td>
100 <td>Private slot to handle changes of the network name.</td>
101 </tr><tr>
102 <td><a href="#IrcNetworkEditDialog.on_serverEdit_textChanged">on_serverEdit_textChanged</a></td>
103 <td>Private slot to handle changes of the server name.</td>
104 </tr>
105 </table>
106 <h3>Static Methods</h3>
107 <table>
108 <tr><td>None</td></tr>
109 </table>
110 <a NAME="IrcNetworkEditDialog.__init__" ID="IrcNetworkEditDialog.__init__"></a>
111 <h4>IrcNetworkEditDialog (Constructor)</h4>
112 <b>IrcNetworkEditDialog</b>(<i>manager, networkName, parent=None</i>)
113 <p>
114 Constructor
115 </p><dl>
116 <dt><i>manager</i></dt>
117 <dd>
118 reference to the IRC network manager object
119 (IrcNetworkManager)
120 </dd><dt><i>networkName</i></dt>
121 <dd>
122 name of the network to work on (string)
123 </dd><dt><i>parent</i></dt>
124 <dd>
125 reference to the parent widget (QWidget)
126 </dd>
127 </dl><a NAME="IrcNetworkEditDialog.__editChannel" ID="IrcNetworkEditDialog.__editChannel"></a>
128 <h4>IrcNetworkEditDialog.__editChannel</h4>
129 <b>__editChannel</b>(<i>itm</i>)
130 <p>
131 Private method to edit a channel.
132 </p><dl>
133 <dt><i>itm</i></dt>
134 <dd>
135 reference to the item to be edited (QTreeWidgetItem)
136 </dd>
137 </dl><a NAME="IrcNetworkEditDialog.__refreshIdentityCombo" ID="IrcNetworkEditDialog.__refreshIdentityCombo"></a>
138 <h4>IrcNetworkEditDialog.__refreshIdentityCombo</h4>
139 <b>__refreshIdentityCombo</b>(<i>currentIdentity</i>)
140 <p>
141 Private method to refresh the identity combo.
142 </p><dl>
143 <dt><i>currentIdentity</i></dt>
144 <dd>
145 name of the identity to select (string)
146 </dd>
147 </dl><a NAME="IrcNetworkEditDialog.__updateOkButton" ID="IrcNetworkEditDialog.__updateOkButton"></a>
148 <h4>IrcNetworkEditDialog.__updateOkButton</h4>
149 <b>__updateOkButton</b>(<i></i>)
150 <p>
151 Private method to update the OK button state.
152 </p><a NAME="IrcNetworkEditDialog.getNetwork" ID="IrcNetworkEditDialog.getNetwork"></a>
153 <h4>IrcNetworkEditDialog.getNetwork</h4>
154 <b>getNetwork</b>(<i></i>)
155 <p>
156 Public method to get the network object.
157 </p><dl>
158 <dt>Returns:</dt>
159 <dd>
160 edited network object (IrcNetwork)
161 </dd>
162 </dl><a NAME="IrcNetworkEditDialog.on_addChannelButton_clicked" ID="IrcNetworkEditDialog.on_addChannelButton_clicked"></a>
163 <h4>IrcNetworkEditDialog.on_addChannelButton_clicked</h4>
164 <b>on_addChannelButton_clicked</b>(<i></i>)
165 <p>
166 Private slot to add a channel.
167 </p><a NAME="IrcNetworkEditDialog.on_channelList_itemActivated" ID="IrcNetworkEditDialog.on_channelList_itemActivated"></a>
168 <h4>IrcNetworkEditDialog.on_channelList_itemActivated</h4>
169 <b>on_channelList_itemActivated</b>(<i>item, column</i>)
170 <p>
171 Private slot to handle the activation of a channel entry.
172 </p><dl>
173 <dt><i>item</i></dt>
174 <dd>
175 reference to the activated item (QTreeWidgetItem)
176 </dd><dt><i>column</i></dt>
177 <dd>
178 column the activation occurred in (integer)
179 </dd>
180 </dl><a NAME="IrcNetworkEditDialog.on_channelList_itemSelectionChanged" ID="IrcNetworkEditDialog.on_channelList_itemSelectionChanged"></a>
181 <h4>IrcNetworkEditDialog.on_channelList_itemSelectionChanged</h4>
182 <b>on_channelList_itemSelectionChanged</b>(<i></i>)
183 <p>
184 Private slot to handle changes of the selection of channels.
185 </p><a NAME="IrcNetworkEditDialog.on_deleteChannelButton_clicked" ID="IrcNetworkEditDialog.on_deleteChannelButton_clicked"></a>
186 <h4>IrcNetworkEditDialog.on_deleteChannelButton_clicked</h4>
187 <b>on_deleteChannelButton_clicked</b>(<i></i>)
188 <p>
189 Private slot to delete the selected channel.
190 </p><a NAME="IrcNetworkEditDialog.on_editChannelButton_clicked" ID="IrcNetworkEditDialog.on_editChannelButton_clicked"></a>
191 <h4>IrcNetworkEditDialog.on_editChannelButton_clicked</h4>
192 <b>on_editChannelButton_clicked</b>(<i></i>)
193 <p>
194 Private slot to edit the selected channel.
195 </p><a NAME="IrcNetworkEditDialog.on_editIdentitiesButton_clicked" ID="IrcNetworkEditDialog.on_editIdentitiesButton_clicked"></a>
196 <h4>IrcNetworkEditDialog.on_editIdentitiesButton_clicked</h4>
197 <b>on_editIdentitiesButton_clicked</b>(<i></i>)
198 <p>
199 Private slot to edit the identities.
200 </p><a NAME="IrcNetworkEditDialog.on_editServerButton_clicked" ID="IrcNetworkEditDialog.on_editServerButton_clicked"></a>
201 <h4>IrcNetworkEditDialog.on_editServerButton_clicked</h4>
202 <b>on_editServerButton_clicked</b>(<i></i>)
203 <p>
204 Private slot to edit the server configuration.
205 </p><a NAME="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged" ID="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged"></a>
206 <h4>IrcNetworkEditDialog.on_identityCombo_currentIndexChanged</h4>
207 <b>on_identityCombo_currentIndexChanged</b>(<i>identity</i>)
208 <p>
209 Private slot to handle the selection of an identity.
210 </p><dl>
211 <dt><i>identity</i></dt>
212 <dd>
213 selected entity (string)
214 </dd>
215 </dl><a NAME="IrcNetworkEditDialog.on_networkEdit_textChanged" ID="IrcNetworkEditDialog.on_networkEdit_textChanged"></a>
216 <h4>IrcNetworkEditDialog.on_networkEdit_textChanged</h4>
217 <b>on_networkEdit_textChanged</b>(<i>txt</i>)
218 <p>
219 Private slot to handle changes of the network name.
220 </p><dl>
221 <dt><i>txt</i></dt>
222 <dd>
223 text entered into the network name edit (string)
224 </dd>
225 </dl><a NAME="IrcNetworkEditDialog.on_serverEdit_textChanged" ID="IrcNetworkEditDialog.on_serverEdit_textChanged"></a>
226 <h4>IrcNetworkEditDialog.on_serverEdit_textChanged</h4>
227 <b>on_serverEdit_textChanged</b>(<i>txt</i>)
228 <p>
229 Private slot to handle changes of the server name.
230 </p><dl>
231 <dt><i>txt</i></dt>
232 <dd>
233 text entered into the server name edit (string)
234 </dd>
235 </dl>
236 <div align="right"><a href="#top">Up</a></div>
237 <hr />
238 </body></html>

eric ide

mercurial