Documentation/Source/eric5.UI.LogView.html

changeset 1823
21d988eaf1bf
parent 1229
a8207dc73672
child 1830
f2fccb8c2ab4
equal deleted inserted replaced
1822:6ee4a434e64c 1823:21d988eaf1bf
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#LogViewer">LogViewer</a></td> 34 <td><a href="#LogViewer">LogViewer</a></td>
35 <td>Class implementing the containing widget for the log viewer.</td>
36 </tr><tr>
37 <td><a href="#LogViewerEdit">LogViewerEdit</a></td>
35 <td>Class providing a specialized text edit for displaying logging information.</td> 38 <td>Class providing a specialized text edit for displaying logging information.</td>
36 </tr> 39 </tr>
37 </table> 40 </table>
38 <h3>Functions</h3> 41 <h3>Functions</h3>
39 <table> 42 <table>
41 </table> 44 </table>
42 <hr /><hr /> 45 <hr /><hr />
43 <a NAME="LogViewer" ID="LogViewer"></a> 46 <a NAME="LogViewer" ID="LogViewer"></a>
44 <h2>LogViewer</h2> 47 <h2>LogViewer</h2>
45 <p> 48 <p>
49 Class implementing the containing widget for the log viewer.
50 </p>
51 <h3>Derived from</h3>
52 QWidget
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Class Methods</h3>
58 <table>
59 <tr><td>None</td></tr>
60 </table>
61 <h3>Methods</h3>
62 <table>
63 <tr>
64 <td><a href="#LogViewer.__init__">LogViewer</a></td>
65 <td>Constructor</td>
66 </tr><tr>
67 <td><a href="#LogViewer.appendToStderr">appendToStderr</a></td>
68 <td>Public slot to appand text to the "stderr" tab.</td>
69 </tr><tr>
70 <td><a href="#LogViewer.appendToStdout">appendToStdout</a></td>
71 <td>Public slot to appand text to the "stdout" tab.</td>
72 </tr><tr>
73 <td><a href="#LogViewer.preferencesChanged">preferencesChanged</a></td>
74 <td>Public slot to handle a change of the preferences.</td>
75 </tr><tr>
76 <td><a href="#LogViewer.showFind">showFind</a></td>
77 <td>Public method to display the search widget.</td>
78 </tr>
79 </table>
80 <h3>Static Methods</h3>
81 <table>
82 <tr><td>None</td></tr>
83 </table>
84 <a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a>
85 <h4>LogViewer (Constructor)</h4>
86 <b>LogViewer</b>(<i>parent=None</i>)
87 <p>
88 Constructor
89 </p><dl>
90 <dt><i>parent</i></dt>
91 <dd>
92 reference to the parent widget (QWidget)
93 </dd>
94 </dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a>
95 <h4>LogViewer.appendToStderr</h4>
96 <b>appendToStderr</b>(<i>txt</i>)
97 <p>
98 Public slot to appand text to the "stderr" tab.
99 </p><dl>
100 <dt><i>txt</i></dt>
101 <dd>
102 text to be appended (string)
103 </dd>
104 </dl><a NAME="LogViewer.appendToStdout" ID="LogViewer.appendToStdout"></a>
105 <h4>LogViewer.appendToStdout</h4>
106 <b>appendToStdout</b>(<i>txt</i>)
107 <p>
108 Public slot to appand text to the "stdout" tab.
109 </p><dl>
110 <dt><i>txt</i></dt>
111 <dd>
112 text to be appended (string)
113 </dd>
114 </dl><a NAME="LogViewer.preferencesChanged" ID="LogViewer.preferencesChanged"></a>
115 <h4>LogViewer.preferencesChanged</h4>
116 <b>preferencesChanged</b>(<i></i>)
117 <p>
118 Public slot to handle a change of the preferences.
119 </p><a NAME="LogViewer.showFind" ID="LogViewer.showFind"></a>
120 <h4>LogViewer.showFind</h4>
121 <b>showFind</b>(<i>txt=""</i>)
122 <p>
123 Public method to display the search widget.
124 </p><dl>
125 <dt><i>txt</i></dt>
126 <dd>
127 text to be shown in the combo (string)
128 </dd>
129 </dl>
130 <div align="right"><a href="#top">Up</a></div>
131 <hr /><hr />
132 <a NAME="LogViewerEdit" ID="LogViewerEdit"></a>
133 <h2>LogViewerEdit</h2>
134 <p>
46 Class providing a specialized text edit for displaying logging information. 135 Class providing a specialized text edit for displaying logging information.
47 </p> 136 </p>
48 <h3>Derived from</h3> 137 <h3>Derived from</h3>
49 QTextEdit 138 QTextEdit
50 <h3>Class Attributes</h3> 139 <h3>Class Attributes</h3>
56 <tr><td>None</td></tr> 145 <tr><td>None</td></tr>
57 </table> 146 </table>
58 <h3>Methods</h3> 147 <h3>Methods</h3>
59 <table> 148 <table>
60 <tr> 149 <tr>
61 <td><a href="#LogViewer.__init__">LogViewer</a></td> 150 <td><a href="#LogViewerEdit.__init__">LogViewerEdit</a></td>
62 <td>Constructor</td> 151 <td>Constructor</td>
63 </tr><tr> 152 </tr><tr>
64 <td><a href="#LogViewer.__appendText">__appendText</a></td> 153 <td><a href="#LogViewerEdit.__appendText">__appendText</a></td>
65 <td>Public method to append text to the end.</td> 154 <td>Public method to append text to the end.</td>
66 </tr><tr> 155 </tr><tr>
67 <td><a href="#LogViewer.__configure">__configure</a></td> 156 <td><a href="#LogViewerEdit.__configure">__configure</a></td>
68 <td>Private method to open the configuration dialog.</td> 157 <td>Private method to open the configuration dialog.</td>
69 </tr><tr> 158 </tr><tr>
70 <td><a href="#LogViewer.__handleShowContextMenu">__handleShowContextMenu</a></td> 159 <td><a href="#LogViewerEdit.__find">__find</a></td>
160 <td>Private slot to show the find widget.</td>
161 </tr><tr>
162 <td><a href="#LogViewerEdit.__handleShowContextMenu">__handleShowContextMenu</a></td>
71 <td>Private slot to show the context menu.</td> 163 <td>Private slot to show the context menu.</td>
72 </tr><tr> 164 </tr><tr>
73 <td><a href="#LogViewer.appendToStderr">appendToStderr</a></td> 165 <td><a href="#LogViewerEdit.appendToStderr">appendToStderr</a></td>
74 <td>Public slot to appand text to the "stderr" tab.</td> 166 <td>Public slot to appand text to the "stderr" tab.</td>
75 </tr><tr> 167 </tr><tr>
76 <td><a href="#LogViewer.appendToStdout">appendToStdout</a></td> 168 <td><a href="#LogViewerEdit.appendToStdout">appendToStdout</a></td>
77 <td>Public slot to appand text to the "stdout" tab.</td> 169 <td>Public slot to appand text to the "stdout" tab.</td>
78 </tr><tr> 170 </tr><tr>
79 <td><a href="#LogViewer.preferencesChanged">preferencesChanged</a></td> 171 <td><a href="#LogViewerEdit.keyPressEvent">keyPressEvent</a></td>
172 <td>Protected method handling key press events.</td>
173 </tr><tr>
174 <td><a href="#LogViewerEdit.preferencesChanged">preferencesChanged</a></td>
80 <td>Public slot to handle a change of the preferences.</td> 175 <td>Public slot to handle a change of the preferences.</td>
176 </tr><tr>
177 <td><a href="#LogViewerEdit.searchNext">searchNext</a></td>
178 <td>Public method to search the next occurrence of the given text.</td>
179 </tr><tr>
180 <td><a href="#LogViewerEdit.searchPrev">searchPrev</a></td>
181 <td>Public method to search the previous occurrence of the given text.</td>
81 </tr> 182 </tr>
82 </table> 183 </table>
83 <h3>Static Methods</h3> 184 <h3>Static Methods</h3>
84 <table> 185 <table>
85 <tr><td>None</td></tr> 186 <tr><td>None</td></tr>
86 </table> 187 </table>
87 <a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a> 188 <a NAME="LogViewerEdit.__init__" ID="LogViewerEdit.__init__"></a>
88 <h4>LogViewer (Constructor)</h4> 189 <h4>LogViewerEdit (Constructor)</h4>
89 <b>LogViewer</b>(<i>parent=None</i>) 190 <b>LogViewerEdit</b>(<i>parent=None</i>)
90 <p> 191 <p>
91 Constructor 192 Constructor
92 </p><dl> 193 </p><dl>
93 <dt><i>parent</i></dt> 194 <dt><i>parent</i></dt>
94 <dd> 195 <dd>
95 reference to the parent widget (QWidget) 196 reference to the parent widget (QWidget)
96 </dd> 197 </dd>
97 </dl><a NAME="LogViewer.__appendText" ID="LogViewer.__appendText"></a> 198 </dl><a NAME="LogViewerEdit.__appendText" ID="LogViewerEdit.__appendText"></a>
98 <h4>LogViewer.__appendText</h4> 199 <h4>LogViewerEdit.__appendText</h4>
99 <b>__appendText</b>(<i>txt, error=False</i>) 200 <b>__appendText</b>(<i>txt, error=False</i>)
100 <p> 201 <p>
101 Public method to append text to the end. 202 Public method to append text to the end.
102 </p><dl> 203 </p><dl>
103 <dt><i>txt</i></dt> 204 <dt><i>txt</i></dt>
105 text to insert (string) 206 text to insert (string)
106 </dd><dt><i>error</i></dt> 207 </dd><dt><i>error</i></dt>
107 <dd> 208 <dd>
108 flag indicating to insert error text (boolean) 209 flag indicating to insert error text (boolean)
109 </dd> 210 </dd>
110 </dl><a NAME="LogViewer.__configure" ID="LogViewer.__configure"></a> 211 </dl><a NAME="LogViewerEdit.__configure" ID="LogViewerEdit.__configure"></a>
111 <h4>LogViewer.__configure</h4> 212 <h4>LogViewerEdit.__configure</h4>
112 <b>__configure</b>(<i></i>) 213 <b>__configure</b>(<i></i>)
113 <p> 214 <p>
114 Private method to open the configuration dialog. 215 Private method to open the configuration dialog.
115 </p><a NAME="LogViewer.__handleShowContextMenu" ID="LogViewer.__handleShowContextMenu"></a> 216 </p><a NAME="LogViewerEdit.__find" ID="LogViewerEdit.__find"></a>
116 <h4>LogViewer.__handleShowContextMenu</h4> 217 <h4>LogViewerEdit.__find</h4>
218 <b>__find</b>(<i></i>)
219 <p>
220 Private slot to show the find widget.
221 </p><a NAME="LogViewerEdit.__handleShowContextMenu" ID="LogViewerEdit.__handleShowContextMenu"></a>
222 <h4>LogViewerEdit.__handleShowContextMenu</h4>
117 <b>__handleShowContextMenu</b>(<i>coord</i>) 223 <b>__handleShowContextMenu</b>(<i>coord</i>)
118 <p> 224 <p>
119 Private slot to show the context menu. 225 Private slot to show the context menu.
120 </p><dl> 226 </p><dl>
121 <dt><i>coord</i></dt> 227 <dt><i>coord</i></dt>
122 <dd> 228 <dd>
123 the position of the mouse pointer (QPoint) 229 the position of the mouse pointer (QPoint)
124 </dd> 230 </dd>
125 </dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a> 231 </dl><a NAME="LogViewerEdit.appendToStderr" ID="LogViewerEdit.appendToStderr"></a>
126 <h4>LogViewer.appendToStderr</h4> 232 <h4>LogViewerEdit.appendToStderr</h4>
127 <b>appendToStderr</b>(<i>txt</i>) 233 <b>appendToStderr</b>(<i>txt</i>)
128 <p> 234 <p>
129 Public slot to appand text to the "stderr" tab. 235 Public slot to appand text to the "stderr" tab.
130 </p><dl> 236 </p><dl>
131 <dt><i>txt</i></dt> 237 <dt><i>txt</i></dt>
132 <dd> 238 <dd>
133 text to be appended (string) 239 text to be appended (string)
134 </dd> 240 </dd>
135 </dl><a NAME="LogViewer.appendToStdout" ID="LogViewer.appendToStdout"></a> 241 </dl><a NAME="LogViewerEdit.appendToStdout" ID="LogViewerEdit.appendToStdout"></a>
136 <h4>LogViewer.appendToStdout</h4> 242 <h4>LogViewerEdit.appendToStdout</h4>
137 <b>appendToStdout</b>(<i>txt</i>) 243 <b>appendToStdout</b>(<i>txt</i>)
138 <p> 244 <p>
139 Public slot to appand text to the "stdout" tab. 245 Public slot to appand text to the "stdout" tab.
140 </p><dl> 246 </p><dl>
141 <dt><i>txt</i></dt> 247 <dt><i>txt</i></dt>
142 <dd> 248 <dd>
143 text to be appended (string) 249 text to be appended (string)
144 </dd> 250 </dd>
145 </dl><a NAME="LogViewer.preferencesChanged" ID="LogViewer.preferencesChanged"></a> 251 </dl><a NAME="LogViewerEdit.keyPressEvent" ID="LogViewerEdit.keyPressEvent"></a>
146 <h4>LogViewer.preferencesChanged</h4> 252 <h4>LogViewerEdit.keyPressEvent</h4>
253 <b>keyPressEvent</b>(<i>evt</i>)
254 <p>
255 Protected method handling key press events.
256 </p><dl>
257 <dt><i>evt</i></dt>
258 <dd>
259 key press event (QKeyEvent)
260 </dd>
261 </dl><a NAME="LogViewerEdit.preferencesChanged" ID="LogViewerEdit.preferencesChanged"></a>
262 <h4>LogViewerEdit.preferencesChanged</h4>
147 <b>preferencesChanged</b>(<i></i>) 263 <b>preferencesChanged</b>(<i></i>)
148 <p> 264 <p>
149 Public slot to handle a change of the preferences. 265 Public slot to handle a change of the preferences.
266 </p><a NAME="LogViewerEdit.searchNext" ID="LogViewerEdit.searchNext"></a>
267 <h4>LogViewerEdit.searchNext</h4>
268 <b>searchNext</b>(<i>txt, caseSensitive, wholeWord</i>)
269 <p>
270 Public method to search the next occurrence of the given text.
271 </p><a NAME="LogViewerEdit.searchPrev" ID="LogViewerEdit.searchPrev"></a>
272 <h4>LogViewerEdit.searchPrev</h4>
273 <b>searchPrev</b>(<i>txt, caseSensitive, wholeWord</i>)
274 <p>
275 Public method to search the previous occurrence of the given text.
150 </p> 276 </p>
151 <div align="right"><a href="#top">Up</a></div> 277 <div align="right"><a href="#top">Up</a></div>
152 <hr /> 278 <hr />
153 </body></html> 279 </body></html>

eric ide

mercurial