16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.UI.LogView</h1> |
23 <h1>eric6.UI.LogView</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the log viewer widget and the log widget. |
26 Module implementing the log viewer widget and the log widget. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#LogViewer">LogViewer</a></td> |
38 <td><a href="#LogViewer">LogViewer</a></td> |
34 <td>Class implementing the containing widget for the log viewer.</td> |
39 <td>Class implementing the containing widget for the log viewer.</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#LogViewerEdit">LogViewerEdit</a></td> |
42 <td><a href="#LogViewerEdit">LogViewerEdit</a></td> |
37 <td>Class providing a specialized text edit for displaying logging information.</td> |
43 <td>Class providing a specialized text edit for displaying logging information.</td> |
38 </tr> |
44 </tr> |
39 </table> |
45 </table> |
40 <h3>Functions</h3> |
46 <h3>Functions</h3> |
41 <table> |
47 |
42 <tr><td>None</td></tr> |
48 <table> |
43 </table> |
49 <tr><td>None</td></tr> |
44 <hr /><hr /> |
50 </table> |
|
51 <hr /> |
|
52 <hr /> |
45 <a NAME="LogViewer" ID="LogViewer"></a> |
53 <a NAME="LogViewer" ID="LogViewer"></a> |
46 <h2>LogViewer</h2> |
54 <h2>LogViewer</h2> |
|
55 |
47 <p> |
56 <p> |
48 Class implementing the containing widget for the log viewer. |
57 Class implementing the containing widget for the log viewer. |
49 </p> |
58 </p> |
50 <h3>Derived from</h3> |
59 <h3>Derived from</h3> |
51 QWidget |
60 QWidget |
52 <h3>Class Attributes</h3> |
61 <h3>Class Attributes</h3> |
|
62 |
53 <table> |
63 <table> |
54 <tr><td>None</td></tr> |
64 <tr><td>None</td></tr> |
55 </table> |
65 </table> |
56 <h3>Class Methods</h3> |
66 <h3>Class Methods</h3> |
|
67 |
57 <table> |
68 <table> |
58 <tr><td>None</td></tr> |
69 <tr><td>None</td></tr> |
59 </table> |
70 </table> |
60 <h3>Methods</h3> |
71 <h3>Methods</h3> |
61 <table> |
72 |
|
73 <table> |
|
74 |
62 <tr> |
75 <tr> |
63 <td><a href="#LogViewer.__init__">LogViewer</a></td> |
76 <td><a href="#LogViewer.__init__">LogViewer</a></td> |
64 <td>Constructor</td> |
77 <td>Constructor</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#LogViewer.appendToStderr">appendToStderr</a></td> |
80 <td><a href="#LogViewer.appendToStderr">appendToStderr</a></td> |
67 <td>Public slot to appand text to the "stderr" tab.</td> |
81 <td>Public slot to appand text to the "stderr" tab.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#LogViewer.appendToStdout">appendToStdout</a></td> |
84 <td><a href="#LogViewer.appendToStdout">appendToStdout</a></td> |
70 <td>Public slot to appand text to the "stdout" tab.</td> |
85 <td>Public slot to appand text to the "stdout" tab.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#LogViewer.preferencesChanged">preferencesChanged</a></td> |
88 <td><a href="#LogViewer.preferencesChanged">preferencesChanged</a></td> |
73 <td>Public slot to handle a change of the preferences.</td> |
89 <td>Public slot to handle a change of the preferences.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#LogViewer.showFind">showFind</a></td> |
92 <td><a href="#LogViewer.showFind">showFind</a></td> |
76 <td>Public method to display the search widget.</td> |
93 <td>Public method to display the search widget.</td> |
77 </tr> |
94 </tr> |
78 </table> |
95 </table> |
79 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
80 <table> |
97 |
81 <tr><td>None</td></tr> |
98 <table> |
82 </table> |
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
83 <a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a> |
102 <a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a> |
84 <h4>LogViewer (Constructor)</h4> |
103 <h4>LogViewer (Constructor)</h4> |
85 <b>LogViewer</b>(<i>ui, parent=None</i>) |
104 <b>LogViewer</b>(<i>ui, parent=None</i>) |
|
105 |
86 <p> |
106 <p> |
87 Constructor |
107 Constructor |
88 </p><dl> |
108 </p> |
|
109 <dl> |
|
110 |
89 <dt><i>ui</i></dt> |
111 <dt><i>ui</i></dt> |
90 <dd> |
112 <dd> |
91 reference to the main window (UserInterface) |
113 reference to the main window (UserInterface) |
92 </dd><dt><i>parent</i></dt> |
114 </dd> |
|
115 <dt><i>parent</i></dt> |
93 <dd> |
116 <dd> |
94 reference to the parent widget (QWidget) |
117 reference to the parent widget (QWidget) |
95 </dd> |
118 </dd> |
96 </dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a> |
119 </dl> |
|
120 <a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a> |
97 <h4>LogViewer.appendToStderr</h4> |
121 <h4>LogViewer.appendToStderr</h4> |
98 <b>appendToStderr</b>(<i>txt</i>) |
122 <b>appendToStderr</b>(<i>txt</i>) |
|
123 |
99 <p> |
124 <p> |
100 Public slot to appand text to the "stderr" tab. |
125 Public slot to appand text to the "stderr" tab. |
101 </p><dl> |
126 </p> |
|
127 <dl> |
|
128 |
102 <dt><i>txt</i></dt> |
129 <dt><i>txt</i></dt> |
103 <dd> |
130 <dd> |
104 text to be appended (string) |
131 text to be appended (string) |
105 </dd> |
132 </dd> |
106 </dl><a NAME="LogViewer.appendToStdout" ID="LogViewer.appendToStdout"></a> |
133 </dl> |
|
134 <a NAME="LogViewer.appendToStdout" ID="LogViewer.appendToStdout"></a> |
107 <h4>LogViewer.appendToStdout</h4> |
135 <h4>LogViewer.appendToStdout</h4> |
108 <b>appendToStdout</b>(<i>txt</i>) |
136 <b>appendToStdout</b>(<i>txt</i>) |
|
137 |
109 <p> |
138 <p> |
110 Public slot to appand text to the "stdout" tab. |
139 Public slot to appand text to the "stdout" tab. |
111 </p><dl> |
140 </p> |
|
141 <dl> |
|
142 |
112 <dt><i>txt</i></dt> |
143 <dt><i>txt</i></dt> |
113 <dd> |
144 <dd> |
114 text to be appended (string) |
145 text to be appended (string) |
115 </dd> |
146 </dd> |
116 </dl><a NAME="LogViewer.preferencesChanged" ID="LogViewer.preferencesChanged"></a> |
147 </dl> |
|
148 <a NAME="LogViewer.preferencesChanged" ID="LogViewer.preferencesChanged"></a> |
117 <h4>LogViewer.preferencesChanged</h4> |
149 <h4>LogViewer.preferencesChanged</h4> |
118 <b>preferencesChanged</b>(<i></i>) |
150 <b>preferencesChanged</b>(<i></i>) |
|
151 |
119 <p> |
152 <p> |
120 Public slot to handle a change of the preferences. |
153 Public slot to handle a change of the preferences. |
121 </p><a NAME="LogViewer.showFind" ID="LogViewer.showFind"></a> |
154 </p> |
|
155 <a NAME="LogViewer.showFind" ID="LogViewer.showFind"></a> |
122 <h4>LogViewer.showFind</h4> |
156 <h4>LogViewer.showFind</h4> |
123 <b>showFind</b>(<i>txt=""</i>) |
157 <b>showFind</b>(<i>txt=""</i>) |
|
158 |
124 <p> |
159 <p> |
125 Public method to display the search widget. |
160 Public method to display the search widget. |
126 </p><dl> |
161 </p> |
|
162 <dl> |
|
163 |
127 <dt><i>txt</i></dt> |
164 <dt><i>txt</i></dt> |
128 <dd> |
165 <dd> |
129 text to be shown in the combo (string) |
166 text to be shown in the combo (string) |
130 </dd> |
167 </dd> |
131 </dl> |
168 </dl> |
132 <div align="right"><a href="#top">Up</a></div> |
169 <div align="right"><a href="#top">Up</a></div> |
133 <hr /><hr /> |
170 <hr /> |
|
171 <hr /> |
134 <a NAME="LogViewerEdit" ID="LogViewerEdit"></a> |
172 <a NAME="LogViewerEdit" ID="LogViewerEdit"></a> |
135 <h2>LogViewerEdit</h2> |
173 <h2>LogViewerEdit</h2> |
|
174 |
136 <p> |
175 <p> |
137 Class providing a specialized text edit for displaying logging information. |
176 Class providing a specialized text edit for displaying logging information. |
138 </p><h3>Signals</h3> |
177 </p> |
139 <dl> |
178 <h3>Signals</h3> |
|
179 <dl> |
|
180 |
140 <dt>searchStringFound(found)</dt> |
181 <dt>searchStringFound(found)</dt> |
141 <dd> |
182 <dd> |
142 emitted to indicate the search result |
183 emitted to indicate the search result |
143 (boolean) |
184 (boolean) |
144 </dd> |
185 </dd> |
145 </dl> |
186 </dl> |
146 <h3>Derived from</h3> |
187 <h3>Derived from</h3> |
147 QTextEdit |
188 QTextEdit |
148 <h3>Class Attributes</h3> |
189 <h3>Class Attributes</h3> |
|
190 |
149 <table> |
191 <table> |
150 <tr><td>None</td></tr> |
192 <tr><td>None</td></tr> |
151 </table> |
193 </table> |
152 <h3>Class Methods</h3> |
194 <h3>Class Methods</h3> |
|
195 |
153 <table> |
196 <table> |
154 <tr><td>None</td></tr> |
197 <tr><td>None</td></tr> |
155 </table> |
198 </table> |
156 <h3>Methods</h3> |
199 <h3>Methods</h3> |
157 <table> |
200 |
|
201 <table> |
|
202 |
158 <tr> |
203 <tr> |
159 <td><a href="#LogViewerEdit.__init__">LogViewerEdit</a></td> |
204 <td><a href="#LogViewerEdit.__init__">LogViewerEdit</a></td> |
160 <td>Constructor</td> |
205 <td>Constructor</td> |
161 </tr><tr> |
206 </tr> |
|
207 <tr> |
162 <td><a href="#LogViewerEdit.__appendText">__appendText</a></td> |
208 <td><a href="#LogViewerEdit.__appendText">__appendText</a></td> |
163 <td>Private method to append text to the end.</td> |
209 <td>Private method to append text to the end.</td> |
164 </tr><tr> |
210 </tr> |
|
211 <tr> |
165 <td><a href="#LogViewerEdit.__configure">__configure</a></td> |
212 <td><a href="#LogViewerEdit.__configure">__configure</a></td> |
166 <td>Private method to open the configuration dialog.</td> |
213 <td>Private method to open the configuration dialog.</td> |
167 </tr><tr> |
214 </tr> |
|
215 <tr> |
168 <td><a href="#LogViewerEdit.__filterMessage">__filterMessage</a></td> |
216 <td><a href="#LogViewerEdit.__filterMessage">__filterMessage</a></td> |
169 <td>Private method to filter messages.</td> |
217 <td>Private method to filter messages.</td> |
170 </tr><tr> |
218 </tr> |
|
219 <tr> |
171 <td><a href="#LogViewerEdit.__find">__find</a></td> |
220 <td><a href="#LogViewerEdit.__find">__find</a></td> |
172 <td>Private slot to show the find widget.</td> |
221 <td>Private slot to show the find widget.</td> |
173 </tr><tr> |
222 </tr> |
|
223 <tr> |
174 <td><a href="#LogViewerEdit.__handleShowContextMenu">__handleShowContextMenu</a></td> |
224 <td><a href="#LogViewerEdit.__handleShowContextMenu">__handleShowContextMenu</a></td> |
175 <td>Private slot to show the context menu.</td> |
225 <td>Private slot to show the context menu.</td> |
176 </tr><tr> |
226 </tr> |
|
227 <tr> |
177 <td><a href="#LogViewerEdit.appendToStderr">appendToStderr</a></td> |
228 <td><a href="#LogViewerEdit.appendToStderr">appendToStderr</a></td> |
178 <td>Public slot to appand text to the "stderr" tab.</td> |
229 <td>Public slot to appand text to the "stderr" tab.</td> |
179 </tr><tr> |
230 </tr> |
|
231 <tr> |
180 <td><a href="#LogViewerEdit.appendToStdout">appendToStdout</a></td> |
232 <td><a href="#LogViewerEdit.appendToStdout">appendToStdout</a></td> |
181 <td>Public slot to appand text to the "stdout" tab.</td> |
233 <td>Public slot to appand text to the "stdout" tab.</td> |
182 </tr><tr> |
234 </tr> |
|
235 <tr> |
183 <td><a href="#LogViewerEdit.keyPressEvent">keyPressEvent</a></td> |
236 <td><a href="#LogViewerEdit.keyPressEvent">keyPressEvent</a></td> |
184 <td>Protected method handling key press events.</td> |
237 <td>Protected method handling key press events.</td> |
185 </tr><tr> |
238 </tr> |
|
239 <tr> |
186 <td><a href="#LogViewerEdit.preferencesChanged">preferencesChanged</a></td> |
240 <td><a href="#LogViewerEdit.preferencesChanged">preferencesChanged</a></td> |
187 <td>Public slot to handle a change of the preferences.</td> |
241 <td>Public slot to handle a change of the preferences.</td> |
188 </tr><tr> |
242 </tr> |
|
243 <tr> |
189 <td><a href="#LogViewerEdit.searchNext">searchNext</a></td> |
244 <td><a href="#LogViewerEdit.searchNext">searchNext</a></td> |
190 <td>Public method to search the next occurrence of the given text.</td> |
245 <td>Public method to search the next occurrence of the given text.</td> |
191 </tr><tr> |
246 </tr> |
|
247 <tr> |
192 <td><a href="#LogViewerEdit.searchPrev">searchPrev</a></td> |
248 <td><a href="#LogViewerEdit.searchPrev">searchPrev</a></td> |
193 <td>Public method to search the previous occurrence of the given text.</td> |
249 <td>Public method to search the previous occurrence of the given text.</td> |
194 </tr> |
250 </tr> |
195 </table> |
251 </table> |
196 <h3>Static Methods</h3> |
252 <h3>Static Methods</h3> |
197 <table> |
253 |
198 <tr><td>None</td></tr> |
254 <table> |
199 </table> |
255 <tr><td>None</td></tr> |
|
256 </table> |
|
257 |
200 <a NAME="LogViewerEdit.__init__" ID="LogViewerEdit.__init__"></a> |
258 <a NAME="LogViewerEdit.__init__" ID="LogViewerEdit.__init__"></a> |
201 <h4>LogViewerEdit (Constructor)</h4> |
259 <h4>LogViewerEdit (Constructor)</h4> |
202 <b>LogViewerEdit</b>(<i>parent=None</i>) |
260 <b>LogViewerEdit</b>(<i>parent=None</i>) |
|
261 |
203 <p> |
262 <p> |
204 Constructor |
263 Constructor |
205 </p><dl> |
264 </p> |
|
265 <dl> |
|
266 |
206 <dt><i>parent</i></dt> |
267 <dt><i>parent</i></dt> |
207 <dd> |
268 <dd> |
208 reference to the parent widget (QWidget) |
269 reference to the parent widget (QWidget) |
209 </dd> |
270 </dd> |
210 </dl><a NAME="LogViewerEdit.__appendText" ID="LogViewerEdit.__appendText"></a> |
271 </dl> |
|
272 <a NAME="LogViewerEdit.__appendText" ID="LogViewerEdit.__appendText"></a> |
211 <h4>LogViewerEdit.__appendText</h4> |
273 <h4>LogViewerEdit.__appendText</h4> |
212 <b>__appendText</b>(<i>txt, isErrorMessage=False</i>) |
274 <b>__appendText</b>(<i>txt, isErrorMessage=False</i>) |
|
275 |
213 <p> |
276 <p> |
214 Private method to append text to the end. |
277 Private method to append text to the end. |
215 </p><dl> |
278 </p> |
|
279 <dl> |
|
280 |
216 <dt><i>txt</i></dt> |
281 <dt><i>txt</i></dt> |
217 <dd> |
282 <dd> |
218 text to insert (string) |
283 text to insert (string) |
219 </dd><dt><i>isErrorMessage</i></dt> |
284 </dd> |
|
285 <dt><i>isErrorMessage</i></dt> |
220 <dd> |
286 <dd> |
221 flag indicating to insert error text (boolean) |
287 flag indicating to insert error text (boolean) |
222 </dd> |
288 </dd> |
223 </dl><a NAME="LogViewerEdit.__configure" ID="LogViewerEdit.__configure"></a> |
289 </dl> |
|
290 <a NAME="LogViewerEdit.__configure" ID="LogViewerEdit.__configure"></a> |
224 <h4>LogViewerEdit.__configure</h4> |
291 <h4>LogViewerEdit.__configure</h4> |
225 <b>__configure</b>(<i></i>) |
292 <b>__configure</b>(<i></i>) |
|
293 |
226 <p> |
294 <p> |
227 Private method to open the configuration dialog. |
295 Private method to open the configuration dialog. |
228 </p><a NAME="LogViewerEdit.__filterMessage" ID="LogViewerEdit.__filterMessage"></a> |
296 </p> |
|
297 <a NAME="LogViewerEdit.__filterMessage" ID="LogViewerEdit.__filterMessage"></a> |
229 <h4>LogViewerEdit.__filterMessage</h4> |
298 <h4>LogViewerEdit.__filterMessage</h4> |
230 <b>__filterMessage</b>(<i>message, isErrorMessage=False</i>) |
299 <b>__filterMessage</b>(<i>message, isErrorMessage=False</i>) |
|
300 |
231 <p> |
301 <p> |
232 Private method to filter messages. |
302 Private method to filter messages. |
233 </p><dl> |
303 </p> |
|
304 <dl> |
|
305 |
234 <dt><i>message</i></dt> |
306 <dt><i>message</i></dt> |
235 <dd> |
307 <dd> |
236 message to be checked (string) |
308 message to be checked (string) |
237 </dd><dt><i>isErrorMessage</i></dt> |
309 </dd> |
|
310 <dt><i>isErrorMessage</i></dt> |
238 <dd> |
311 <dd> |
239 flag indicating to check an error message |
312 flag indicating to check an error message |
240 (boolean) |
313 (boolean) |
241 </dd> |
314 </dd> |
242 </dl><dl> |
315 </dl> |
|
316 <dl> |
243 <dt>Returns:</dt> |
317 <dt>Returns:</dt> |
244 <dd> |
318 <dd> |
245 flag indicating that the message should be filtered out |
319 flag indicating that the message should be filtered out |
246 (boolean) |
320 (boolean) |
247 </dd> |
321 </dd> |
248 </dl><a NAME="LogViewerEdit.__find" ID="LogViewerEdit.__find"></a> |
322 </dl> |
|
323 <a NAME="LogViewerEdit.__find" ID="LogViewerEdit.__find"></a> |
249 <h4>LogViewerEdit.__find</h4> |
324 <h4>LogViewerEdit.__find</h4> |
250 <b>__find</b>(<i></i>) |
325 <b>__find</b>(<i></i>) |
|
326 |
251 <p> |
327 <p> |
252 Private slot to show the find widget. |
328 Private slot to show the find widget. |
253 </p><a NAME="LogViewerEdit.__handleShowContextMenu" ID="LogViewerEdit.__handleShowContextMenu"></a> |
329 </p> |
|
330 <a NAME="LogViewerEdit.__handleShowContextMenu" ID="LogViewerEdit.__handleShowContextMenu"></a> |
254 <h4>LogViewerEdit.__handleShowContextMenu</h4> |
331 <h4>LogViewerEdit.__handleShowContextMenu</h4> |
255 <b>__handleShowContextMenu</b>(<i>coord</i>) |
332 <b>__handleShowContextMenu</b>(<i>coord</i>) |
|
333 |
256 <p> |
334 <p> |
257 Private slot to show the context menu. |
335 Private slot to show the context menu. |
258 </p><dl> |
336 </p> |
|
337 <dl> |
|
338 |
259 <dt><i>coord</i></dt> |
339 <dt><i>coord</i></dt> |
260 <dd> |
340 <dd> |
261 the position of the mouse pointer (QPoint) |
341 the position of the mouse pointer (QPoint) |
262 </dd> |
342 </dd> |
263 </dl><a NAME="LogViewerEdit.appendToStderr" ID="LogViewerEdit.appendToStderr"></a> |
343 </dl> |
|
344 <a NAME="LogViewerEdit.appendToStderr" ID="LogViewerEdit.appendToStderr"></a> |
264 <h4>LogViewerEdit.appendToStderr</h4> |
345 <h4>LogViewerEdit.appendToStderr</h4> |
265 <b>appendToStderr</b>(<i>txt</i>) |
346 <b>appendToStderr</b>(<i>txt</i>) |
|
347 |
266 <p> |
348 <p> |
267 Public slot to appand text to the "stderr" tab. |
349 Public slot to appand text to the "stderr" tab. |
268 </p><dl> |
350 </p> |
|
351 <dl> |
|
352 |
269 <dt><i>txt</i></dt> |
353 <dt><i>txt</i></dt> |
270 <dd> |
354 <dd> |
271 text to be appended (string) |
355 text to be appended (string) |
272 </dd> |
356 </dd> |
273 </dl><dl> |
357 </dl> |
|
358 <dl> |
274 <dt>Returns:</dt> |
359 <dt>Returns:</dt> |
275 <dd> |
360 <dd> |
276 flag indicating text was appended (boolean) |
361 flag indicating text was appended (boolean) |
277 </dd> |
362 </dd> |
278 </dl><a NAME="LogViewerEdit.appendToStdout" ID="LogViewerEdit.appendToStdout"></a> |
363 </dl> |
|
364 <a NAME="LogViewerEdit.appendToStdout" ID="LogViewerEdit.appendToStdout"></a> |
279 <h4>LogViewerEdit.appendToStdout</h4> |
365 <h4>LogViewerEdit.appendToStdout</h4> |
280 <b>appendToStdout</b>(<i>txt</i>) |
366 <b>appendToStdout</b>(<i>txt</i>) |
|
367 |
281 <p> |
368 <p> |
282 Public slot to appand text to the "stdout" tab. |
369 Public slot to appand text to the "stdout" tab. |
283 </p><dl> |
370 </p> |
|
371 <dl> |
|
372 |
284 <dt><i>txt</i></dt> |
373 <dt><i>txt</i></dt> |
285 <dd> |
374 <dd> |
286 text to be appended (string) |
375 text to be appended (string) |
287 </dd> |
376 </dd> |
288 </dl><dl> |
377 </dl> |
|
378 <dl> |
289 <dt>Returns:</dt> |
379 <dt>Returns:</dt> |
290 <dd> |
380 <dd> |
291 flag indicating text was appended (boolean) |
381 flag indicating text was appended (boolean) |
292 </dd> |
382 </dd> |
293 </dl><a NAME="LogViewerEdit.keyPressEvent" ID="LogViewerEdit.keyPressEvent"></a> |
383 </dl> |
|
384 <a NAME="LogViewerEdit.keyPressEvent" ID="LogViewerEdit.keyPressEvent"></a> |
294 <h4>LogViewerEdit.keyPressEvent</h4> |
385 <h4>LogViewerEdit.keyPressEvent</h4> |
295 <b>keyPressEvent</b>(<i>evt</i>) |
386 <b>keyPressEvent</b>(<i>evt</i>) |
|
387 |
296 <p> |
388 <p> |
297 Protected method handling key press events. |
389 Protected method handling key press events. |
298 </p><dl> |
390 </p> |
|
391 <dl> |
|
392 |
299 <dt><i>evt</i></dt> |
393 <dt><i>evt</i></dt> |
300 <dd> |
394 <dd> |
301 key press event (QKeyEvent) |
395 key press event (QKeyEvent) |
302 </dd> |
396 </dd> |
303 </dl><a NAME="LogViewerEdit.preferencesChanged" ID="LogViewerEdit.preferencesChanged"></a> |
397 </dl> |
|
398 <a NAME="LogViewerEdit.preferencesChanged" ID="LogViewerEdit.preferencesChanged"></a> |
304 <h4>LogViewerEdit.preferencesChanged</h4> |
399 <h4>LogViewerEdit.preferencesChanged</h4> |
305 <b>preferencesChanged</b>(<i></i>) |
400 <b>preferencesChanged</b>(<i></i>) |
|
401 |
306 <p> |
402 <p> |
307 Public slot to handle a change of the preferences. |
403 Public slot to handle a change of the preferences. |
308 </p><a NAME="LogViewerEdit.searchNext" ID="LogViewerEdit.searchNext"></a> |
404 </p> |
|
405 <a NAME="LogViewerEdit.searchNext" ID="LogViewerEdit.searchNext"></a> |
309 <h4>LogViewerEdit.searchNext</h4> |
406 <h4>LogViewerEdit.searchNext</h4> |
310 <b>searchNext</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
407 <b>searchNext</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
|
408 |
311 <p> |
409 <p> |
312 Public method to search the next occurrence of the given text. |
410 Public method to search the next occurrence of the given text. |
313 </p><dl> |
411 </p> |
|
412 <dl> |
|
413 |
314 <dt><i>txt</i> (str)</dt> |
414 <dt><i>txt</i> (str)</dt> |
315 <dd> |
415 <dd> |
316 text to search for |
416 text to search for |
317 </dd><dt><i>caseSensitive</i> (bool)</dt> |
417 </dd> |
|
418 <dt><i>caseSensitive</i> (bool)</dt> |
318 <dd> |
419 <dd> |
319 flag indicating to perform a case sensitive |
420 flag indicating to perform a case sensitive |
320 search |
421 search |
321 </dd><dt><i>wholeWord</i> (bool)</dt> |
422 </dd> |
|
423 <dt><i>wholeWord</i> (bool)</dt> |
322 <dd> |
424 <dd> |
323 flag indicating to search for whole words |
425 flag indicating to search for whole words |
324 only |
426 only |
325 </dd><dt><i>regexp</i> (bool)</dt> |
427 </dd> |
|
428 <dt><i>regexp</i> (bool)</dt> |
326 <dd> |
429 <dd> |
327 flag indicating a regular expression search |
430 flag indicating a regular expression search |
328 </dd> |
431 </dd> |
329 </dl><a NAME="LogViewerEdit.searchPrev" ID="LogViewerEdit.searchPrev"></a> |
432 </dl> |
|
433 <a NAME="LogViewerEdit.searchPrev" ID="LogViewerEdit.searchPrev"></a> |
330 <h4>LogViewerEdit.searchPrev</h4> |
434 <h4>LogViewerEdit.searchPrev</h4> |
331 <b>searchPrev</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
435 <b>searchPrev</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
|
436 |
332 <p> |
437 <p> |
333 Public method to search the previous occurrence of the given text. |
438 Public method to search the previous occurrence of the given text. |
334 </p><dl> |
439 </p> |
|
440 <dl> |
|
441 |
335 <dt><i>txt</i> (str)</dt> |
442 <dt><i>txt</i> (str)</dt> |
336 <dd> |
443 <dd> |
337 text to search for |
444 text to search for |
338 </dd><dt><i>caseSensitive</i> (bool)</dt> |
445 </dd> |
|
446 <dt><i>caseSensitive</i> (bool)</dt> |
339 <dd> |
447 <dd> |
340 flag indicating to perform a case sensitive |
448 flag indicating to perform a case sensitive |
341 search |
449 search |
342 </dd><dt><i>wholeWord</i> (bool)</dt> |
450 </dd> |
|
451 <dt><i>wholeWord</i> (bool)</dt> |
343 <dd> |
452 <dd> |
344 flag indicating to search for whole words |
453 flag indicating to search for whole words |
345 only |
454 only |
346 </dd><dt><i>regexp</i> (bool)</dt> |
455 </dd> |
|
456 <dt><i>regexp</i> (bool)</dt> |
347 <dd> |
457 <dd> |
348 flag indicating a regular expression search |
458 flag indicating a regular expression search |
349 </dd> |
459 </dd> |
350 </dl> |
460 </dl> |
351 <div align="right"><a href="#top">Up</a></div> |
461 <div align="right"><a href="#top">Up</a></div> |