78 <table> |
78 <table> |
79 <tr> |
79 <tr> |
80 <td><a href="#ChatWidget.__init__">ChatWidget</a></td> |
80 <td><a href="#ChatWidget.__init__">ChatWidget</a></td> |
81 <td>Constructor</td> |
81 <td>Constructor</td> |
82 </tr><tr> |
82 </tr><tr> |
|
83 <td><a href="#ChatWidget.__clearChat">__clearChat</a></td> |
|
84 <td>Private slot to clear the contents of the chat display.</td> |
|
85 </tr><tr> |
|
86 <td><a href="#ChatWidget.__copyChat">__copyChat</a></td> |
|
87 <td>Private slot to copy the contents of the chat display to the clipboard.</td> |
|
88 </tr><tr> |
83 <td><a href="#ChatWidget.__editorCommandMessage">__editorCommandMessage</a></td> |
89 <td><a href="#ChatWidget.__editorCommandMessage">__editorCommandMessage</a></td> |
84 <td>Private slot to handle editor command messages from the client.</td> |
90 <td>Private slot to handle editor command messages from the client.</td> |
85 </tr><tr> |
91 </tr><tr> |
86 <td><a href="#ChatWidget.__handleMessage">__handleMessage</a></td> |
92 <td><a href="#ChatWidget.__handleMessage">__handleMessage</a></td> |
87 <td>Private slot handling the Return key pressed in the message edit.</td> |
93 <td>Private slot handling the Return key pressed in the message edit.</td> |
93 <td>Private slot handling a new participant joining.</td> |
99 <td>Private slot handling a new participant joining.</td> |
94 </tr><tr> |
100 </tr><tr> |
95 <td><a href="#ChatWidget.__participantLeft">__participantLeft</a></td> |
101 <td><a href="#ChatWidget.__participantLeft">__participantLeft</a></td> |
96 <td>Private slot handling a participant leaving the session.</td> |
102 <td>Private slot handling a participant leaving the session.</td> |
97 </tr><tr> |
103 </tr><tr> |
|
104 <td><a href="#ChatWidget.__saveChat">__saveChat</a></td> |
|
105 <td>Private slot to save the contents of the chat display.</td> |
|
106 </tr><tr> |
98 <td><a href="#ChatWidget.__setConnected">__setConnected</a></td> |
107 <td><a href="#ChatWidget.__setConnected">__setConnected</a></td> |
99 <td>Private slot to set the connected state.</td> |
108 <td>Private slot to set the connected state.</td> |
100 </tr><tr> |
109 </tr><tr> |
101 <td><a href="#ChatWidget.__showErrorMessage">__showErrorMessage</a></td> |
110 <td><a href="#ChatWidget.__showErrorMessage">__showErrorMessage</a></td> |
102 <td>Private slot to show an error message.</td> |
111 <td>Private slot to show an error message.</td> |
110 <td><a href="#ChatWidget.getClient">getClient</a></td> |
119 <td><a href="#ChatWidget.getClient">getClient</a></td> |
111 <td>Public method to get a reference to the cooperation client.</td> |
120 <td>Public method to get a reference to the cooperation client.</td> |
112 </tr><tr> |
121 </tr><tr> |
113 <td><a href="#ChatWidget.on_cancelEditButton_clicked">on_cancelEditButton_clicked</a></td> |
122 <td><a href="#ChatWidget.on_cancelEditButton_clicked">on_cancelEditButton_clicked</a></td> |
114 <td>Private slot to cancel a shared edit session.</td> |
123 <td>Private slot to cancel a shared edit session.</td> |
|
124 </tr><tr> |
|
125 <td><a href="#ChatWidget.on_chatEdit_customContextMenuRequested">on_chatEdit_customContextMenuRequested</a></td> |
|
126 <td>Private slot to show the context menu for the chat.</td> |
115 </tr><tr> |
127 </tr><tr> |
116 <td><a href="#ChatWidget.on_connectButton_clicked">on_connectButton_clicked</a></td> |
128 <td><a href="#ChatWidget.on_connectButton_clicked">on_connectButton_clicked</a></td> |
117 <td>Private slot initiating the connection.</td> |
129 <td>Private slot initiating the connection.</td> |
118 </tr><tr> |
130 </tr><tr> |
119 <td><a href="#ChatWidget.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
131 <td><a href="#ChatWidget.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
146 port to be used for the cooperation server (integer) |
158 port to be used for the cooperation server (integer) |
147 </dd><dt><i>parent</i></dt> |
159 </dd><dt><i>parent</i></dt> |
148 <dd> |
160 <dd> |
149 reference to the parent widget (QWidget) |
161 reference to the parent widget (QWidget) |
150 </dd> |
162 </dd> |
151 </dl><a NAME="ChatWidget.__editorCommandMessage" ID="ChatWidget.__editorCommandMessage"></a> |
163 </dl><a NAME="ChatWidget.__clearChat" ID="ChatWidget.__clearChat"></a> |
|
164 <h4>ChatWidget.__clearChat</h4> |
|
165 <b>__clearChat</b>(<i></i>) |
|
166 <p> |
|
167 Private slot to clear the contents of the chat display. |
|
168 </p><a NAME="ChatWidget.__copyChat" ID="ChatWidget.__copyChat"></a> |
|
169 <h4>ChatWidget.__copyChat</h4> |
|
170 <b>__copyChat</b>(<i></i>) |
|
171 <p> |
|
172 Private slot to copy the contents of the chat display to the clipboard. |
|
173 </p><a NAME="ChatWidget.__editorCommandMessage" ID="ChatWidget.__editorCommandMessage"></a> |
152 <h4>ChatWidget.__editorCommandMessage</h4> |
174 <h4>ChatWidget.__editorCommandMessage</h4> |
153 <b>__editorCommandMessage</b>(<i>hash, fileName, message</i>) |
175 <b>__editorCommandMessage</b>(<i>hash, fileName, message</i>) |
154 <p> |
176 <p> |
155 Private slot to handle editor command messages from the client. |
177 Private slot to handle editor command messages from the client. |
156 </p><dl> |
178 </p><dl> |
192 </p><dl> |
214 </p><dl> |
193 <dt><i>nick</i></dt> |
215 <dt><i>nick</i></dt> |
194 <dd> |
216 <dd> |
195 nick name of the participant (string) |
217 nick name of the participant (string) |
196 </dd> |
218 </dd> |
197 </dl><a NAME="ChatWidget.__setConnected" ID="ChatWidget.__setConnected"></a> |
219 </dl><a NAME="ChatWidget.__saveChat" ID="ChatWidget.__saveChat"></a> |
|
220 <h4>ChatWidget.__saveChat</h4> |
|
221 <b>__saveChat</b>(<i></i>) |
|
222 <p> |
|
223 Private slot to save the contents of the chat display. |
|
224 </p><a NAME="ChatWidget.__setConnected" ID="ChatWidget.__setConnected"></a> |
198 <h4>ChatWidget.__setConnected</h4> |
225 <h4>ChatWidget.__setConnected</h4> |
199 <b>__setConnected</b>(<i>connected</i>) |
226 <b>__setConnected</b>(<i>connected</i>) |
200 <p> |
227 <p> |
201 Private slot to set the connected state. |
228 Private slot to set the connected state. |
202 </p><dl> |
229 </p><dl> |
245 </p><a NAME="ChatWidget.on_cancelEditButton_clicked" ID="ChatWidget.on_cancelEditButton_clicked"></a> |
272 </p><a NAME="ChatWidget.on_cancelEditButton_clicked" ID="ChatWidget.on_cancelEditButton_clicked"></a> |
246 <h4>ChatWidget.on_cancelEditButton_clicked</h4> |
273 <h4>ChatWidget.on_cancelEditButton_clicked</h4> |
247 <b>on_cancelEditButton_clicked</b>(<i></i>) |
274 <b>on_cancelEditButton_clicked</b>(<i></i>) |
248 <p> |
275 <p> |
249 Private slot to cancel a shared edit session. |
276 Private slot to cancel a shared edit session. |
250 </p><a NAME="ChatWidget.on_connectButton_clicked" ID="ChatWidget.on_connectButton_clicked"></a> |
277 </p><a NAME="ChatWidget.on_chatEdit_customContextMenuRequested" ID="ChatWidget.on_chatEdit_customContextMenuRequested"></a> |
|
278 <h4>ChatWidget.on_chatEdit_customContextMenuRequested</h4> |
|
279 <b>on_chatEdit_customContextMenuRequested</b>(<i>pos</i>) |
|
280 <p> |
|
281 Private slot to show the context menu for the chat. |
|
282 </p><dl> |
|
283 <dt><i>pos</i></dt> |
|
284 <dd> |
|
285 the position of the mouse pointer (QPoint) |
|
286 </dd> |
|
287 </dl><a NAME="ChatWidget.on_connectButton_clicked" ID="ChatWidget.on_connectButton_clicked"></a> |
251 <h4>ChatWidget.on_connectButton_clicked</h4> |
288 <h4>ChatWidget.on_connectButton_clicked</h4> |
252 <b>on_connectButton_clicked</b>(<i></i>) |
289 <b>on_connectButton_clicked</b>(<i></i>) |
253 <p> |
290 <p> |
254 Private slot initiating the connection. |
291 Private slot initiating the connection. |
255 </p><a NAME="ChatWidget.on_hostEdit_textChanged" ID="ChatWidget.on_hostEdit_textChanged"></a> |
292 </p><a NAME="ChatWidget.on_hostEdit_textChanged" ID="ChatWidget.on_hostEdit_textChanged"></a> |