80 <table> |
80 <table> |
81 <tr><td>None</td></tr> |
81 <tr><td>None</td></tr> |
82 </table> |
82 </table> |
83 <a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a> |
83 <a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a> |
84 <h4>LogViewer (Constructor)</h4> |
84 <h4>LogViewer (Constructor)</h4> |
85 <b>LogViewer</b>(<i>parent=None</i>) |
85 <b>LogViewer</b>(<i>ui, parent=None</i>) |
86 <p> |
86 <p> |
87 Constructor |
87 Constructor |
88 </p><dl> |
88 </p><dl> |
89 <dt><i>parent</i></dt> |
89 <dt><i>ui</i></dt> |
|
90 <dd> |
|
91 reference to the main window (UserInterface) |
|
92 </dd><dt><i>parent</i></dt> |
90 <dd> |
93 <dd> |
91 reference to the parent widget (QWidget) |
94 reference to the parent widget (QWidget) |
92 </dd> |
95 </dd> |
93 </dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a> |
96 </dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a> |
94 <h4>LogViewer.appendToStderr</h4> |
97 <h4>LogViewer.appendToStderr</h4> |
160 <td>Private method to append text to the end.</td> |
163 <td>Private method to append text to the end.</td> |
161 </tr><tr> |
164 </tr><tr> |
162 <td><a href="#LogViewerEdit.__configure">__configure</a></td> |
165 <td><a href="#LogViewerEdit.__configure">__configure</a></td> |
163 <td>Private method to open the configuration dialog.</td> |
166 <td>Private method to open the configuration dialog.</td> |
164 </tr><tr> |
167 </tr><tr> |
|
168 <td><a href="#LogViewerEdit.__filterMessage">__filterMessage</a></td> |
|
169 <td>Private method to filter messages.</td> |
|
170 </tr><tr> |
165 <td><a href="#LogViewerEdit.__find">__find</a></td> |
171 <td><a href="#LogViewerEdit.__find">__find</a></td> |
166 <td>Private slot to show the find widget.</td> |
172 <td>Private slot to show the find widget.</td> |
167 </tr><tr> |
173 </tr><tr> |
168 <td><a href="#LogViewerEdit.__handleShowContextMenu">__handleShowContextMenu</a></td> |
174 <td><a href="#LogViewerEdit.__handleShowContextMenu">__handleShowContextMenu</a></td> |
169 <td>Private slot to show the context menu.</td> |
175 <td>Private slot to show the context menu.</td> |
201 <dd> |
207 <dd> |
202 reference to the parent widget (QWidget) |
208 reference to the parent widget (QWidget) |
203 </dd> |
209 </dd> |
204 </dl><a NAME="LogViewerEdit.__appendText" ID="LogViewerEdit.__appendText"></a> |
210 </dl><a NAME="LogViewerEdit.__appendText" ID="LogViewerEdit.__appendText"></a> |
205 <h4>LogViewerEdit.__appendText</h4> |
211 <h4>LogViewerEdit.__appendText</h4> |
206 <b>__appendText</b>(<i>txt, error=False</i>) |
212 <b>__appendText</b>(<i>txt, isErrorMessage=False</i>) |
207 <p> |
213 <p> |
208 Private method to append text to the end. |
214 Private method to append text to the end. |
209 </p><dl> |
215 </p><dl> |
210 <dt><i>txt</i></dt> |
216 <dt><i>txt</i></dt> |
211 <dd> |
217 <dd> |
212 text to insert (string) |
218 text to insert (string) |
213 </dd><dt><i>error</i></dt> |
219 </dd><dt><i>isErrorMessage</i></dt> |
214 <dd> |
220 <dd> |
215 flag indicating to insert error text (boolean) |
221 flag indicating to insert error text (boolean) |
216 </dd> |
222 </dd> |
217 </dl><a NAME="LogViewerEdit.__configure" ID="LogViewerEdit.__configure"></a> |
223 </dl><a NAME="LogViewerEdit.__configure" ID="LogViewerEdit.__configure"></a> |
218 <h4>LogViewerEdit.__configure</h4> |
224 <h4>LogViewerEdit.__configure</h4> |
219 <b>__configure</b>(<i></i>) |
225 <b>__configure</b>(<i></i>) |
220 <p> |
226 <p> |
221 Private method to open the configuration dialog. |
227 Private method to open the configuration dialog. |
222 </p><a NAME="LogViewerEdit.__find" ID="LogViewerEdit.__find"></a> |
228 </p><a NAME="LogViewerEdit.__filterMessage" ID="LogViewerEdit.__filterMessage"></a> |
|
229 <h4>LogViewerEdit.__filterMessage</h4> |
|
230 <b>__filterMessage</b>(<i>message, isErrorMessage=False</i>) |
|
231 <p> |
|
232 Private method to filter messages. |
|
233 </p><dl> |
|
234 <dt><i>message</i></dt> |
|
235 <dd> |
|
236 message to be checked (string) |
|
237 </dd><dt><i>isErrorMessage</i></dt> |
|
238 <dd> |
|
239 flag indicating to check an error message |
|
240 (boolean) |
|
241 </dd> |
|
242 </dl><dl> |
|
243 <dt>Returns:</dt> |
|
244 <dd> |
|
245 flag indicating that the message should be filtered out |
|
246 (boolean) |
|
247 </dd> |
|
248 </dl><a NAME="LogViewerEdit.__find" ID="LogViewerEdit.__find"></a> |
223 <h4>LogViewerEdit.__find</h4> |
249 <h4>LogViewerEdit.__find</h4> |
224 <b>__find</b>(<i></i>) |
250 <b>__find</b>(<i></i>) |
225 <p> |
251 <p> |
226 Private slot to show the find widget. |
252 Private slot to show the find widget. |
227 </p><a NAME="LogViewerEdit.__handleShowContextMenu" ID="LogViewerEdit.__handleShowContextMenu"></a> |
253 </p><a NAME="LogViewerEdit.__handleShowContextMenu" ID="LogViewerEdit.__handleShowContextMenu"></a> |
242 </p><dl> |
268 </p><dl> |
243 <dt><i>txt</i></dt> |
269 <dt><i>txt</i></dt> |
244 <dd> |
270 <dd> |
245 text to be appended (string) |
271 text to be appended (string) |
246 </dd> |
272 </dd> |
|
273 </dl><dl> |
|
274 <dt>Returns:</dt> |
|
275 <dd> |
|
276 flag indicating text was appended (boolean) |
|
277 </dd> |
247 </dl><a NAME="LogViewerEdit.appendToStdout" ID="LogViewerEdit.appendToStdout"></a> |
278 </dl><a NAME="LogViewerEdit.appendToStdout" ID="LogViewerEdit.appendToStdout"></a> |
248 <h4>LogViewerEdit.appendToStdout</h4> |
279 <h4>LogViewerEdit.appendToStdout</h4> |
249 <b>appendToStdout</b>(<i>txt</i>) |
280 <b>appendToStdout</b>(<i>txt</i>) |
250 <p> |
281 <p> |
251 Public slot to appand text to the "stdout" tab. |
282 Public slot to appand text to the "stdout" tab. |
252 </p><dl> |
283 </p><dl> |
253 <dt><i>txt</i></dt> |
284 <dt><i>txt</i></dt> |
254 <dd> |
285 <dd> |
255 text to be appended (string) |
286 text to be appended (string) |
|
287 </dd> |
|
288 </dl><dl> |
|
289 <dt>Returns:</dt> |
|
290 <dd> |
|
291 flag indicating text was appended (boolean) |
256 </dd> |
292 </dd> |
257 </dl><a NAME="LogViewerEdit.keyPressEvent" ID="LogViewerEdit.keyPressEvent"></a> |
293 </dl><a NAME="LogViewerEdit.keyPressEvent" ID="LogViewerEdit.keyPressEvent"></a> |
258 <h4>LogViewerEdit.keyPressEvent</h4> |
294 <h4>LogViewerEdit.keyPressEvent</h4> |
259 <b>keyPressEvent</b>(<i>evt</i>) |
295 <b>keyPressEvent</b>(<i>evt</i>) |
260 <p> |
296 <p> |