~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/Documentation/Source/eric4.UI.LogView.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
 
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
 
4
<html><head>
 
5
<title>eric4.UI.LogView</title>
 
6
<style>
 
7
body {
 
8
    background:white;
 
9
    margin: 0em 1em 10em 1em;
 
10
    color: black;
 
11
}
 
12
 
 
13
h1 { color: white; background: #4FA4FF; }
 
14
h2 { color: white; background: #4FA4FF; }
 
15
h3 { color: white; background: #00557F; }
 
16
h4 { color: white; background: #00557F; }
 
17
    
 
18
a { color: #AA5500; }
 
19
 
 
20
</style>
 
21
</head>
 
22
<body><a NAME="top" ID="top"></a>
 
23
<h1>eric4.UI.LogView</h1>
 
24
<p>
 
25
Module implementing the log viewer widget and the log widget.
 
26
</p>
 
27
<h3>Classes</h3>
 
28
<table>
 
29
<tr>
 
30
<td><a href="#LogViewer">LogViewer</a></td>
 
31
<td>Class to provide a widget for displaying logging information.</td>
 
32
</tr><tr>
 
33
<td><a href="#LogWidget">LogWidget</a></td>
 
34
<td>Class providing a specialized text edit for displaying logging information.</td>
 
35
</tr>
 
36
</table>
 
37
<h3>Functions</h3>
 
38
<table>
 
39
<tr><td>None</td></tr>
 
40
</table>
 
41
<hr /><hr />
 
42
<a NAME="LogViewer" ID="LogViewer"></a>
 
43
<h2>LogViewer</h2>
 
44
<p>
 
45
    Class to provide a widget for displaying logging information.
 
46
</p>
 
47
<h3>Derived from</h3>
 
48
E4TabWidget
 
49
<h3>Methods</h3>
 
50
<table>
 
51
<tr>
 
52
<td><a href="#LogViewer.__init__">LogViewer</a></td>
 
53
<td>Constructor</td>
 
54
</tr><tr>
 
55
<td><a href="#LogViewer.__handleClear">__handleClear</a></td>
 
56
<td>Private slot to handle the clear tab menu entry.</td>
 
57
</tr><tr>
 
58
<td><a href="#LogViewer.__handleCopy">__handleCopy</a></td>
 
59
<td>Private slot to handle the copy tab menu entry.</td>
 
60
</tr><tr>
 
61
<td><a href="#LogViewer.__handleSelectAll">__handleSelectAll</a></td>
 
62
<td>Private slot to handle the select all tab menu entry.</td>
 
63
</tr><tr>
 
64
<td><a href="#LogViewer.__handleShowContextMenu">__handleShowContextMenu</a></td>
 
65
<td>Private slot to show the tab context menu.</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.showLogTab">showLogTab</a></td>
 
74
<td>Public method to show a particular Log-Viewer tab.</td>
 
75
</tr>
 
76
</table>
 
77
<p><a NAME="LogViewer.__init__" ID="LogViewer.__init__"></a>
 
78
<h4>LogViewer (Constructor)</h4>
 
79
<b>LogViewer</b>(<i>parent = None</i>)
 
80
<p>
 
81
        Constructor
 
82
</p><dl>
 
83
<dt><i>parent</i></dt>
 
84
<dd>
 
85
reference to the parent widget (QWidget)
 
86
</dd>
 
87
</dl><a NAME="LogViewer.__handleClear" ID="LogViewer.__handleClear"></a>
 
88
<h4>LogViewer.__handleClear</h4>
 
89
<b>__handleClear</b>(<i></i>)
 
90
<p>
 
91
        Private slot to handle the clear tab menu entry.
 
92
</p><a NAME="LogViewer.__handleCopy" ID="LogViewer.__handleCopy"></a>
 
93
<h4>LogViewer.__handleCopy</h4>
 
94
<b>__handleCopy</b>(<i></i>)
 
95
<p>
 
96
        Private slot to handle the copy tab menu entry.
 
97
</p><a NAME="LogViewer.__handleSelectAll" ID="LogViewer.__handleSelectAll"></a>
 
98
<h4>LogViewer.__handleSelectAll</h4>
 
99
<b>__handleSelectAll</b>(<i></i>)
 
100
<p>
 
101
        Private slot to handle the select all tab menu entry.
 
102
</p><a NAME="LogViewer.__handleShowContextMenu" ID="LogViewer.__handleShowContextMenu"></a>
 
103
<h4>LogViewer.__handleShowContextMenu</h4>
 
104
<b>__handleShowContextMenu</b>(<i>coord, index</i>)
 
105
<p>
 
106
        Private slot to show the tab context menu.
 
107
</p><dl>
 
108
<dt><i>coord</i></dt>
 
109
<dd>
 
110
the position of the mouse pointer (QPoint)
 
111
</dd><dt><i>index</i></dt>
 
112
<dd>
 
113
index of the tab the menu is requested for (integer)
 
114
</dd>
 
115
</dl><a NAME="LogViewer.appendToStderr" ID="LogViewer.appendToStderr"></a>
 
116
<h4>LogViewer.appendToStderr</h4>
 
117
<b>appendToStderr</b>(<i>txt</i>)
 
118
<p>
 
119
        Public slot to appand text to the "stderr" tab.
 
120
</p><dl>
 
121
<dt><i>txt</i></dt>
 
122
<dd>
 
123
text to be appended (string or QString)
 
124
</dd>
 
125
</dl><a NAME="LogViewer.appendToStdout" ID="LogViewer.appendToStdout"></a>
 
126
<h4>LogViewer.appendToStdout</h4>
 
127
<b>appendToStdout</b>(<i>txt</i>)
 
128
<p>
 
129
        Public slot to appand text to the "stdout" tab.
 
130
</p><dl>
 
131
<dt><i>txt</i></dt>
 
132
<dd>
 
133
text to be appended (string or QString)
 
134
</dd>
 
135
</dl><a NAME="LogViewer.showLogTab" ID="LogViewer.showLogTab"></a>
 
136
<h4>LogViewer.showLogTab</h4>
 
137
<b>showLogTab</b>(<i>tabname</i>)
 
138
<p>
 
139
        Public method to show a particular Log-Viewer tab.
 
140
</p><dl>
 
141
<dt><i>tabname</i></dt>
 
142
<dd>
 
143
string naming the tab to be shown ("stdout", "stderr")
 
144
</dd>
 
145
</dl></p>
 
146
<div align="right"><a href="#top">Up</a></div>
 
147
<hr /><hr />
 
148
<a NAME="LogWidget" ID="LogWidget"></a>
 
149
<h2>LogWidget</h2>
 
150
<p>
 
151
    Class providing a specialized text edit for displaying logging information.
 
152
</p>
 
153
<h3>Derived from</h3>
 
154
QTextEdit
 
155
<h3>Methods</h3>
 
156
<table>
 
157
<tr>
 
158
<td><a href="#LogWidget.__init__">LogWidget</a></td>
 
159
<td>Constructor</td>
 
160
</tr><tr>
 
161
<td><a href="#LogWidget.__handleShowContextMenu">__handleShowContextMenu</a></td>
 
162
<td>Private slot to show the context menu.</td>
 
163
</tr><tr>
 
164
<td><a href="#LogWidget.appendText">appendText</a></td>
 
165
<td>Public method to append text to the end.</td>
 
166
</tr>
 
167
</table>
 
168
<p><a NAME="LogWidget.__init__" ID="LogWidget.__init__"></a>
 
169
<h4>LogWidget (Constructor)</h4>
 
170
<b>LogWidget</b>(<i>parent = None</i>)
 
171
<p>
 
172
        Constructor
 
173
</p><dl>
 
174
<dt><i>parent</i></dt>
 
175
<dd>
 
176
reference to the parent widget (QWidget)
 
177
</dd>
 
178
</dl><a NAME="LogWidget.__handleShowContextMenu" ID="LogWidget.__handleShowContextMenu"></a>
 
179
<h4>LogWidget.__handleShowContextMenu</h4>
 
180
<b>__handleShowContextMenu</b>(<i>coord</i>)
 
181
<p>
 
182
        Private slot to show the context menu.
 
183
</p><dl>
 
184
<dt><i>coord</i></dt>
 
185
<dd>
 
186
the position of the mouse pointer (QPoint)
 
187
</dd>
 
188
</dl><a NAME="LogWidget.appendText" ID="LogWidget.appendText"></a>
 
189
<h4>LogWidget.appendText</h4>
 
190
<b>appendText</b>(<i>txt</i>)
 
191
<p>
 
192
        Public method to append text to the end.
 
193
</p><dl>
 
194
<dt><i>txt</i></dt>
 
195
<dd>
 
196
text to insert (QString)
 
197
</dd>
 
198
</dl></p>
 
199
<div align="right"><a href="#top">Up</a></div>
 
200
<hr />
 
201
</body></html>
 
 
b'\\ No newline at end of file'