Documentation/Source/eric4.Plugins.VcsPlugins.vcsSubversion.SvnLogDialog.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
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.Plugins.VcsPlugins.vcsSubversion.SvnLogDialog</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.Plugins.VcsPlugins.vcsSubversion.SvnLogDialog</h1>
24 <p>
25 Module implementing a dialog to show the output of the svn log command process.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#SvnLogDialog">SvnLogDialog</a></td>
35 <td>Class implementing a dialog to show the output of the svn log command process.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="SvnLogDialog" ID="SvnLogDialog"></a>
44 <h2>SvnLogDialog</h2>
45 <p>
46 Class implementing a dialog to show the output of the svn log command process.
47 </p><p>
48 The dialog is nonmodal. Clicking a link in the upper text pane shows
49 a diff of the versions.
50 </p>
51 <h3>Derived from</h3>
52 QWidget, Ui_SvnLogDialog
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#SvnLogDialog.__init__">SvnLogDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#SvnLogDialog.__procFinished">__procFinished</a></td>
64 <td>Private slot connected to the finished signal.</td>
65 </tr><tr>
66 <td><a href="#SvnLogDialog.__readStderr">__readStderr</a></td>
67 <td>Private slot to handle the readyReadStandardError signal.</td>
68 </tr><tr>
69 <td><a href="#SvnLogDialog.__readStdout">__readStdout</a></td>
70 <td>Private slot to handle the readyReadStandardOutput signal.</td>
71 </tr><tr>
72 <td><a href="#SvnLogDialog.__sourceChanged">__sourceChanged</a></td>
73 <td>Private slot to handle the sourceChanged signal of the contents pane.</td>
74 </tr><tr>
75 <td><a href="#SvnLogDialog.closeEvent">closeEvent</a></td>
76 <td>Private slot implementing a close event handler.</td>
77 </tr><tr>
78 <td><a href="#SvnLogDialog.keyPressEvent">keyPressEvent</a></td>
79 <td>Protected slot to handle a key press event.</td>
80 </tr><tr>
81 <td><a href="#SvnLogDialog.on_input_returnPressed">on_input_returnPressed</a></td>
82 <td>Private slot to handle the press of the return key in the input field.</td>
83 </tr><tr>
84 <td><a href="#SvnLogDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
85 <td>Private slot to handle the password checkbox toggled.</td>
86 </tr><tr>
87 <td><a href="#SvnLogDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
88 <td>Private slot to send the input to the subversion process.</td>
89 </tr><tr>
90 <td><a href="#SvnLogDialog.start">start</a></td>
91 <td>Public slot to start the cvs log command.</td>
92 </tr>
93 </table>
94 <a NAME="SvnLogDialog.__init__" ID="SvnLogDialog.__init__"></a>
95 <h4>SvnLogDialog (Constructor)</h4>
96 <b>SvnLogDialog</b>(<i>vcs, parent = None</i>)
97 <p>
98 Constructor
99 </p><dl>
100 <dt><i>vcs</i></dt>
101 <dd>
102 reference to the vcs object
103 </dd><dt><i>parent</i></dt>
104 <dd>
105 parent widget (QWidget)
106 </dd>
107 </dl><a NAME="SvnLogDialog.__procFinished" ID="SvnLogDialog.__procFinished"></a>
108 <h4>SvnLogDialog.__procFinished</h4>
109 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
110 <p>
111 Private slot connected to the finished signal.
112 </p><dl>
113 <dt><i>exitCode</i></dt>
114 <dd>
115 exit code of the process (integer)
116 </dd><dt><i>exitStatus</i></dt>
117 <dd>
118 exit status of the process (QProcess.ExitStatus)
119 </dd>
120 </dl><a NAME="SvnLogDialog.__readStderr" ID="SvnLogDialog.__readStderr"></a>
121 <h4>SvnLogDialog.__readStderr</h4>
122 <b>__readStderr</b>(<i></i>)
123 <p>
124 Private slot to handle the readyReadStandardError signal.
125 </p><p>
126 It reads the error output of the process and inserts it into the
127 error pane.
128 </p><a NAME="SvnLogDialog.__readStdout" ID="SvnLogDialog.__readStdout"></a>
129 <h4>SvnLogDialog.__readStdout</h4>
130 <b>__readStdout</b>(<i></i>)
131 <p>
132 Private slot to handle the readyReadStandardOutput signal.
133 </p><p>
134 It reads the output of the process and inserts it into a buffer.
135 </p><a NAME="SvnLogDialog.__sourceChanged" ID="SvnLogDialog.__sourceChanged"></a>
136 <h4>SvnLogDialog.__sourceChanged</h4>
137 <b>__sourceChanged</b>(<i>url</i>)
138 <p>
139 Private slot to handle the sourceChanged signal of the contents pane.
140 </p><dl>
141 <dt><i>url</i></dt>
142 <dd>
143 the url that was clicked (QUrl)
144 </dd>
145 </dl><a NAME="SvnLogDialog.closeEvent" ID="SvnLogDialog.closeEvent"></a>
146 <h4>SvnLogDialog.closeEvent</h4>
147 <b>closeEvent</b>(<i>e</i>)
148 <p>
149 Private slot implementing a close event handler.
150 </p><dl>
151 <dt><i>e</i></dt>
152 <dd>
153 close event (QCloseEvent)
154 </dd>
155 </dl><a NAME="SvnLogDialog.keyPressEvent" ID="SvnLogDialog.keyPressEvent"></a>
156 <h4>SvnLogDialog.keyPressEvent</h4>
157 <b>keyPressEvent</b>(<i>evt</i>)
158 <p>
159 Protected slot to handle a key press event.
160 </p><dl>
161 <dt><i>evt</i></dt>
162 <dd>
163 the key press event (QKeyEvent)
164 </dd>
165 </dl><a NAME="SvnLogDialog.on_input_returnPressed" ID="SvnLogDialog.on_input_returnPressed"></a>
166 <h4>SvnLogDialog.on_input_returnPressed</h4>
167 <b>on_input_returnPressed</b>(<i></i>)
168 <p>
169 Private slot to handle the press of the return key in the input field.
170 </p><a NAME="SvnLogDialog.on_passwordCheckBox_toggled" ID="SvnLogDialog.on_passwordCheckBox_toggled"></a>
171 <h4>SvnLogDialog.on_passwordCheckBox_toggled</h4>
172 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
173 <p>
174 Private slot to handle the password checkbox toggled.
175 </p><dl>
176 <dt><i>isOn</i></dt>
177 <dd>
178 flag indicating the status of the check box (boolean)
179 </dd>
180 </dl><a NAME="SvnLogDialog.on_sendButton_clicked" ID="SvnLogDialog.on_sendButton_clicked"></a>
181 <h4>SvnLogDialog.on_sendButton_clicked</h4>
182 <b>on_sendButton_clicked</b>(<i></i>)
183 <p>
184 Private slot to send the input to the subversion process.
185 </p><a NAME="SvnLogDialog.start" ID="SvnLogDialog.start"></a>
186 <h4>SvnLogDialog.start</h4>
187 <b>start</b>(<i>fn, noEntries = 0</i>)
188 <p>
189 Public slot to start the cvs log command.
190 </p><dl>
191 <dt><i>fn</i></dt>
192 <dd>
193 filename to show the log for (string)
194 </dd><dt><i>noEntries</i></dt>
195 <dd>
196 number of entries to show (integer)
197 </dd>
198 </dl>
199 <div align="right"><a href="#top">Up</a></div>
200 <hr />
201 </body></html>

eric ide

mercurial