--- a/Documentation/Source/eric5.UI.LogView.html Mon Apr 30 10:25:49 2012 +0200 +++ b/Documentation/Source/eric5.UI.LogView.html Mon Apr 30 19:19:17 2012 +0200 @@ -32,6 +32,9 @@ <table> <tr> <td><a href="#LogViewer">LogViewer</a></td> +<td>Class implementing the containing widget for the log viewer.</td> +</tr><tr> +<td><a href="#LogViewerEdit">LogViewerEdit</a></td> <td>Class providing a specialized text edit for displaying logging information.</td> </tr> </table> @@ -43,10 +46,10 @@ <a NAME="LogViewer" ID="LogViewer"></a> <h2>LogViewer</h2> <p> - Class providing a specialized text edit for displaying logging information. + Class implementing the containing widget for the log viewer. </p> <h3>Derived from</h3> -QTextEdit +QWidget <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> @@ -61,15 +64,6 @@ <td><a href="#LogViewer.__init__">LogViewer</a></td> <td>Constructor</td> </tr><tr> -<td><a href="#LogViewer.__appendText">__appendText</a></td> -<td>Public method to append text to the end.</td> -</tr><tr> -<td><a href="#LogViewer.__configure">__configure</a></td> -<td>Private method to open the configuration dialog.</td> -</tr><tr> -<td><a href="#LogViewer.__handleShowContextMenu">__handleShowContextMenu</a></td> -<td>Private slot to show the context menu.</td> -</tr><tr> <td><a href="#LogViewer.appendToStderr">appendToStderr</a></td> <td>Public slot to appand text to the "stderr" tab.</td> </tr><tr> @@ -78,6 +72,9 @@ </tr><tr> <td><a href="#LogViewer.preferencesChanged">preferencesChanged</a></td> <td>Public slot to handle a change of the preferences.</td> +</tr><tr> +<td><a href="#LogViewer.showFind">showFind</a></td> +<td>Public method to display the search widget.</td> </tr> </table> <h3>Static Methods</h3> @@ -94,34 +91,6 @@ <dd> reference to the parent widget (QWidget) </dd> -</dl><a NAME="LogViewer.__appendText" ID="LogViewer.__appendText"></a> -<h4>LogViewer.__appendText</h4> -<b>__appendText</b>(<i>txt, error=False</i>) -<p> - Public method to append text to the end. -</p><dl> -<dt><i>txt</i></dt> -<dd> -text to insert (string) -</dd><dt><i>error</i></dt> -<dd> -flag indicating to insert error text (boolean) -</dd> -</dl><a NAME="LogViewer.__configure" ID="LogViewer.__configure"></a> -<h4>LogViewer.__configure</h4> -<b>__configure</b>(<i></i>) -<p> - Private method to open the configuration dialog. -</p><a NAME="LogViewer.__handleShowContextMenu" ID="LogViewer.__handleShowContextMenu"></a> -<h4>LogViewer.__handleShowContextMenu</h4> -<b>__handleShowContextMenu</b>(<i>coord</i>) -<p> - Private slot to show the context menu. -</p><dl> -<dt><i>coord</i></dt> -<dd> -the position of the mouse pointer (QPoint) -</dd> </dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a> <h4>LogViewer.appendToStderr</h4> <b>appendToStderr</b>(<i>txt</i>) @@ -147,6 +116,163 @@ <b>preferencesChanged</b>(<i></i>) <p> Public slot to handle a change of the preferences. +</p><a NAME="LogViewer.showFind" ID="LogViewer.showFind"></a> +<h4>LogViewer.showFind</h4> +<b>showFind</b>(<i>txt=""</i>) +<p> + Public method to display the search widget. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text to be shown in the combo (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="LogViewerEdit" ID="LogViewerEdit"></a> +<h2>LogViewerEdit</h2> +<p> + Class providing a specialized text edit for displaying logging information. +</p> +<h3>Derived from</h3> +QTextEdit +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#LogViewerEdit.__init__">LogViewerEdit</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#LogViewerEdit.__appendText">__appendText</a></td> +<td>Public method to append text to the end.</td> +</tr><tr> +<td><a href="#LogViewerEdit.__configure">__configure</a></td> +<td>Private method to open the configuration dialog.</td> +</tr><tr> +<td><a href="#LogViewerEdit.__find">__find</a></td> +<td>Private slot to show the find widget.</td> +</tr><tr> +<td><a href="#LogViewerEdit.__handleShowContextMenu">__handleShowContextMenu</a></td> +<td>Private slot to show the context menu.</td> +</tr><tr> +<td><a href="#LogViewerEdit.appendToStderr">appendToStderr</a></td> +<td>Public slot to appand text to the "stderr" tab.</td> +</tr><tr> +<td><a href="#LogViewerEdit.appendToStdout">appendToStdout</a></td> +<td>Public slot to appand text to the "stdout" tab.</td> +</tr><tr> +<td><a href="#LogViewerEdit.keyPressEvent">keyPressEvent</a></td> +<td>Protected method handling key press events.</td> +</tr><tr> +<td><a href="#LogViewerEdit.preferencesChanged">preferencesChanged</a></td> +<td>Public slot to handle a change of the preferences.</td> +</tr><tr> +<td><a href="#LogViewerEdit.searchNext">searchNext</a></td> +<td>Public method to search the next occurrence of the given text.</td> +</tr><tr> +<td><a href="#LogViewerEdit.searchPrev">searchPrev</a></td> +<td>Public method to search the previous occurrence of the given text.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="LogViewerEdit.__init__" ID="LogViewerEdit.__init__"></a> +<h4>LogViewerEdit (Constructor)</h4> +<b>LogViewerEdit</b>(<i>parent=None</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl><a NAME="LogViewerEdit.__appendText" ID="LogViewerEdit.__appendText"></a> +<h4>LogViewerEdit.__appendText</h4> +<b>__appendText</b>(<i>txt, error=False</i>) +<p> + Public method to append text to the end. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text to insert (string) +</dd><dt><i>error</i></dt> +<dd> +flag indicating to insert error text (boolean) +</dd> +</dl><a NAME="LogViewerEdit.__configure" ID="LogViewerEdit.__configure"></a> +<h4>LogViewerEdit.__configure</h4> +<b>__configure</b>(<i></i>) +<p> + Private method to open the configuration dialog. +</p><a NAME="LogViewerEdit.__find" ID="LogViewerEdit.__find"></a> +<h4>LogViewerEdit.__find</h4> +<b>__find</b>(<i></i>) +<p> + Private slot to show the find widget. +</p><a NAME="LogViewerEdit.__handleShowContextMenu" ID="LogViewerEdit.__handleShowContextMenu"></a> +<h4>LogViewerEdit.__handleShowContextMenu</h4> +<b>__handleShowContextMenu</b>(<i>coord</i>) +<p> + Private slot to show the context menu. +</p><dl> +<dt><i>coord</i></dt> +<dd> +the position of the mouse pointer (QPoint) +</dd> +</dl><a NAME="LogViewerEdit.appendToStderr" ID="LogViewerEdit.appendToStderr"></a> +<h4>LogViewerEdit.appendToStderr</h4> +<b>appendToStderr</b>(<i>txt</i>) +<p> + Public slot to appand text to the "stderr" tab. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text to be appended (string) +</dd> +</dl><a NAME="LogViewerEdit.appendToStdout" ID="LogViewerEdit.appendToStdout"></a> +<h4>LogViewerEdit.appendToStdout</h4> +<b>appendToStdout</b>(<i>txt</i>) +<p> + Public slot to appand text to the "stdout" tab. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text to be appended (string) +</dd> +</dl><a NAME="LogViewerEdit.keyPressEvent" ID="LogViewerEdit.keyPressEvent"></a> +<h4>LogViewerEdit.keyPressEvent</h4> +<b>keyPressEvent</b>(<i>evt</i>) +<p> + Protected method handling key press events. +</p><dl> +<dt><i>evt</i></dt> +<dd> +key press event (QKeyEvent) +</dd> +</dl><a NAME="LogViewerEdit.preferencesChanged" ID="LogViewerEdit.preferencesChanged"></a> +<h4>LogViewerEdit.preferencesChanged</h4> +<b>preferencesChanged</b>(<i></i>) +<p> + Public slot to handle a change of the preferences. +</p><a NAME="LogViewerEdit.searchNext" ID="LogViewerEdit.searchNext"></a> +<h4>LogViewerEdit.searchNext</h4> +<b>searchNext</b>(<i>txt, caseSensitive, wholeWord</i>) +<p> + Public method to search the next occurrence of the given text. +</p><a NAME="LogViewerEdit.searchPrev" ID="LogViewerEdit.searchPrev"></a> +<h4>LogViewerEdit.searchPrev</h4> +<b>searchPrev</b>(<i>txt, caseSensitive, wholeWord</i>) +<p> + Public method to search the previous occurrence of the given text. </p> <div align="right"><a href="#top">Up</a></div> <hr />