53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#SvnDiffDialog.__init__">SvnDiffDialog</a></td> |
57 <td><a href="#SvnDiffDialog.__init__">SvnDiffDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#SvnDiffDialog.__appendText">__appendText</a></td> |
60 <td><a href="#SvnDiffDialog.__appendText">__appendText</a></td> |
61 <td>Private method to append text to the end of the contents pane.</td> |
61 <td>Private method to append text to the end of the contents pane.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#SvnDiffDialog.__getVersionArg">__getVersionArg</a></td> |
63 <td><a href="#SvnDiffDialog.__getVersionArg">__getVersionArg</a></td> |
64 <td>Private method to get a svn revision argument for the given revision.</td> |
64 <td>Private method to get a svn revision argument for the given revision.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#SvnDiffDialog.__procFinished">__procFinished</a></td> |
66 <td><a href="#SvnDiffDialog.__procFinished">__procFinished</a></td> |
67 <td>Private slot connected to the finished signal.</td> |
67 <td>Private slot connected to the finished signal.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SvnDiffDialog.__readStderr">__readStderr</a></td> |
69 <td><a href="#SvnDiffDialog.__readStderr">__readStderr</a></td> |
70 <td>Private slot to handle the readyReadStandardError signal.</td> |
70 <td>Private slot to handle the readyReadStandardError signal.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SvnDiffDialog.__readStdout">__readStdout</a></td> |
72 <td><a href="#SvnDiffDialog.__readStdout">__readStdout</a></td> |
73 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
73 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#SvnDiffDialog.closeEvent">closeEvent</a></td> |
75 <td><a href="#SvnDiffDialog.closeEvent">closeEvent</a></td> |
76 <td>Private slot implementing a close event handler.</td> |
76 <td>Private slot implementing a close event handler.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#SvnDiffDialog.keyPressEvent">keyPressEvent</a></td> |
78 <td><a href="#SvnDiffDialog.keyPressEvent">keyPressEvent</a></td> |
79 <td>Protected slot to handle a key press event.</td> |
79 <td>Protected slot to handle a key press event.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#SvnDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
81 <td><a href="#SvnDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
82 <td>Private slot called by a button of the button box clicked.</td> |
82 <td>Private slot called by a button of the button box clicked.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#SvnDiffDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
84 <td><a href="#SvnDiffDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
85 <td>Private slot to handle the press of the return key in the input field.</td> |
85 <td>Private slot to handle the press of the return key in the input field.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#SvnDiffDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
87 <td><a href="#SvnDiffDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
88 <td>Private slot to handle the password checkbox toggled.</td> |
88 <td>Private slot to handle the password checkbox toggled.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#SvnDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> |
90 <td><a href="#SvnDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> |
91 <td>Private slot to handle the Save button press.</td> |
91 <td>Private slot to handle the Save button press.</td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#SvnDiffDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
93 <td><a href="#SvnDiffDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
94 <td>Private slot to send the input to the subversion process.</td> |
94 <td>Private slot to send the input to the subversion process.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#SvnDiffDialog.start">start</a></td> |
96 <td><a href="#SvnDiffDialog.start">start</a></td> |
97 <td>Public slot to start the svn diff command.</td> |
97 <td>Public slot to start the svn diff command.</td> |
98 </tr> |
98 </tr> |
99 </table> |
99 </table> |
100 <a NAME="SvnDiffDialog.__init__" ID="SvnDiffDialog.__init__"></a> |
100 <a NAME="SvnDiffDialog.__init__" ID="SvnDiffDialog.__init__"></a> |
101 <h4>SvnDiffDialog (Constructor)</h4> |
101 <h4>SvnDiffDialog (Constructor)</h4> |
102 <b>SvnDiffDialog</b>(<i>vcs, parent = None</i>) |
102 <b>SvnDiffDialog</b>(<i>vcs, parent = None</i>) |
103 <p> |
103 <p> |
104 Constructor |
104 Constructor |
105 </p><dl> |
105 </p><dl> |
106 <dt><i>vcs</i></dt> |
106 <dt><i>vcs</i></dt> |
107 <dd> |
107 <dd> |
108 reference to the vcs object |
108 reference to the vcs object |
109 </dd><dt><i>parent</i></dt> |
109 </dd><dt><i>parent</i></dt> |
110 <dd> |
110 <dd> |
111 parent widget (QWidget) |
111 parent widget (QWidget) |
112 </dd> |
112 </dd> |
113 </dl><a NAME="SvnDiffDialog.__appendText" ID="SvnDiffDialog.__appendText"></a> |
113 </dl><a NAME="SvnDiffDialog.__appendText" ID="SvnDiffDialog.__appendText"></a> |
114 <h4>SvnDiffDialog.__appendText</h4> |
114 <h4>SvnDiffDialog.__appendText</h4> |
115 <b>__appendText</b>(<i>txt, format</i>) |
115 <b>__appendText</b>(<i>txt, format</i>) |
116 <p> |
116 <p> |
117 Private method to append text to the end of the contents pane. |
117 Private method to append text to the end of the contents pane. |
118 </p><dl> |
118 </p><dl> |
119 <dt><i>txt</i></dt> |
119 <dt><i>txt</i></dt> |
120 <dd> |
120 <dd> |
121 text to insert (string) |
121 text to insert (string) |
122 </dd><dt><i>format</i></dt> |
122 </dd><dt><i>format</i></dt> |
123 <dd> |
123 <dd> |
124 text format to be used (QTextCharFormat) |
124 text format to be used (QTextCharFormat) |
125 </dd> |
125 </dd> |
126 </dl><a NAME="SvnDiffDialog.__getVersionArg" ID="SvnDiffDialog.__getVersionArg"></a> |
126 </dl><a NAME="SvnDiffDialog.__getVersionArg" ID="SvnDiffDialog.__getVersionArg"></a> |
127 <h4>SvnDiffDialog.__getVersionArg</h4> |
127 <h4>SvnDiffDialog.__getVersionArg</h4> |
128 <b>__getVersionArg</b>(<i>version</i>) |
128 <b>__getVersionArg</b>(<i>version</i>) |
129 <p> |
129 <p> |
130 Private method to get a svn revision argument for the given revision. |
130 Private method to get a svn revision argument for the given revision. |
131 </p><dl> |
131 </p><dl> |
132 <dt><i>version</i></dt> |
132 <dt><i>version</i></dt> |
133 <dd> |
133 <dd> |
134 revision (integer or string) |
134 revision (integer or string) |
135 </dd> |
135 </dd> |
136 </dl><dl> |
136 </dl><dl> |
137 <dt>Returns:</dt> |
137 <dt>Returns:</dt> |
138 <dd> |
138 <dd> |
139 version argument (string) |
139 version argument (string) |
140 </dd> |
140 </dd> |
141 </dl><a NAME="SvnDiffDialog.__procFinished" ID="SvnDiffDialog.__procFinished"></a> |
141 </dl><a NAME="SvnDiffDialog.__procFinished" ID="SvnDiffDialog.__procFinished"></a> |
142 <h4>SvnDiffDialog.__procFinished</h4> |
142 <h4>SvnDiffDialog.__procFinished</h4> |
143 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
143 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
144 <p> |
144 <p> |
145 Private slot connected to the finished signal. |
145 Private slot connected to the finished signal. |
146 </p><dl> |
146 </p><dl> |
147 <dt><i>exitCode</i></dt> |
147 <dt><i>exitCode</i></dt> |
148 <dd> |
148 <dd> |
149 exit code of the process (integer) |
149 exit code of the process (integer) |
150 </dd><dt><i>exitStatus</i></dt> |
150 </dd><dt><i>exitStatus</i></dt> |
151 <dd> |
151 <dd> |
152 exit status of the process (QProcess.ExitStatus) |
152 exit status of the process (QProcess.ExitStatus) |
153 </dd> |
153 </dd> |
154 </dl><a NAME="SvnDiffDialog.__readStderr" ID="SvnDiffDialog.__readStderr"></a> |
154 </dl><a NAME="SvnDiffDialog.__readStderr" ID="SvnDiffDialog.__readStderr"></a> |
155 <h4>SvnDiffDialog.__readStderr</h4> |
155 <h4>SvnDiffDialog.__readStderr</h4> |
156 <b>__readStderr</b>(<i></i>) |
156 <b>__readStderr</b>(<i></i>) |
157 <p> |
157 <p> |
158 Private slot to handle the readyReadStandardError signal. |
158 Private slot to handle the readyReadStandardError signal. |
159 </p><p> |
159 </p><p> |
160 It reads the error output of the process and inserts it into the |
160 It reads the error output of the process and inserts it into the |
161 error pane. |
161 error pane. |
162 </p><a NAME="SvnDiffDialog.__readStdout" ID="SvnDiffDialog.__readStdout"></a> |
162 </p><a NAME="SvnDiffDialog.__readStdout" ID="SvnDiffDialog.__readStdout"></a> |
163 <h4>SvnDiffDialog.__readStdout</h4> |
163 <h4>SvnDiffDialog.__readStdout</h4> |
164 <b>__readStdout</b>(<i></i>) |
164 <b>__readStdout</b>(<i></i>) |
165 <p> |
165 <p> |
166 Private slot to handle the readyReadStandardOutput signal. |
166 Private slot to handle the readyReadStandardOutput signal. |
167 </p><p> |
167 </p><p> |
168 It reads the output of the process, formats it and inserts it into |
168 It reads the output of the process, formats it and inserts it into |
169 the contents pane. |
169 the contents pane. |
170 </p><a NAME="SvnDiffDialog.closeEvent" ID="SvnDiffDialog.closeEvent"></a> |
170 </p><a NAME="SvnDiffDialog.closeEvent" ID="SvnDiffDialog.closeEvent"></a> |
171 <h4>SvnDiffDialog.closeEvent</h4> |
171 <h4>SvnDiffDialog.closeEvent</h4> |
172 <b>closeEvent</b>(<i>e</i>) |
172 <b>closeEvent</b>(<i>e</i>) |
173 <p> |
173 <p> |
174 Private slot implementing a close event handler. |
174 Private slot implementing a close event handler. |
175 </p><dl> |
175 </p><dl> |
176 <dt><i>e</i></dt> |
176 <dt><i>e</i></dt> |
177 <dd> |
177 <dd> |
178 close event (QCloseEvent) |
178 close event (QCloseEvent) |
179 </dd> |
179 </dd> |
180 </dl><a NAME="SvnDiffDialog.keyPressEvent" ID="SvnDiffDialog.keyPressEvent"></a> |
180 </dl><a NAME="SvnDiffDialog.keyPressEvent" ID="SvnDiffDialog.keyPressEvent"></a> |
181 <h4>SvnDiffDialog.keyPressEvent</h4> |
181 <h4>SvnDiffDialog.keyPressEvent</h4> |
182 <b>keyPressEvent</b>(<i>evt</i>) |
182 <b>keyPressEvent</b>(<i>evt</i>) |
183 <p> |
183 <p> |
184 Protected slot to handle a key press event. |
184 Protected slot to handle a key press event. |
185 </p><dl> |
185 </p><dl> |
186 <dt><i>evt</i></dt> |
186 <dt><i>evt</i></dt> |
187 <dd> |
187 <dd> |
188 the key press event (QKeyEvent) |
188 the key press event (QKeyEvent) |
189 </dd> |
189 </dd> |
190 </dl><a NAME="SvnDiffDialog.on_buttonBox_clicked" ID="SvnDiffDialog.on_buttonBox_clicked"></a> |
190 </dl><a NAME="SvnDiffDialog.on_buttonBox_clicked" ID="SvnDiffDialog.on_buttonBox_clicked"></a> |
191 <h4>SvnDiffDialog.on_buttonBox_clicked</h4> |
191 <h4>SvnDiffDialog.on_buttonBox_clicked</h4> |
192 <b>on_buttonBox_clicked</b>(<i>button</i>) |
192 <b>on_buttonBox_clicked</b>(<i>button</i>) |
193 <p> |
193 <p> |
194 Private slot called by a button of the button box clicked. |
194 Private slot called by a button of the button box clicked. |
195 </p><dl> |
195 </p><dl> |
196 <dt><i>button</i></dt> |
196 <dt><i>button</i></dt> |
197 <dd> |
197 <dd> |
198 button that was clicked (QAbstractButton) |
198 button that was clicked (QAbstractButton) |
199 </dd> |
199 </dd> |
200 </dl><a NAME="SvnDiffDialog.on_input_returnPressed" ID="SvnDiffDialog.on_input_returnPressed"></a> |
200 </dl><a NAME="SvnDiffDialog.on_input_returnPressed" ID="SvnDiffDialog.on_input_returnPressed"></a> |
201 <h4>SvnDiffDialog.on_input_returnPressed</h4> |
201 <h4>SvnDiffDialog.on_input_returnPressed</h4> |
202 <b>on_input_returnPressed</b>(<i></i>) |
202 <b>on_input_returnPressed</b>(<i></i>) |
203 <p> |
203 <p> |
204 Private slot to handle the press of the return key in the input field. |
204 Private slot to handle the press of the return key in the input field. |
205 </p><a NAME="SvnDiffDialog.on_passwordCheckBox_toggled" ID="SvnDiffDialog.on_passwordCheckBox_toggled"></a> |
205 </p><a NAME="SvnDiffDialog.on_passwordCheckBox_toggled" ID="SvnDiffDialog.on_passwordCheckBox_toggled"></a> |
206 <h4>SvnDiffDialog.on_passwordCheckBox_toggled</h4> |
206 <h4>SvnDiffDialog.on_passwordCheckBox_toggled</h4> |
207 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
207 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
208 <p> |
208 <p> |
209 Private slot to handle the password checkbox toggled. |
209 Private slot to handle the password checkbox toggled. |
210 </p><dl> |
210 </p><dl> |
211 <dt><i>isOn</i></dt> |
211 <dt><i>isOn</i></dt> |
212 <dd> |
212 <dd> |
213 flag indicating the status of the check box (boolean) |
213 flag indicating the status of the check box (boolean) |
214 </dd> |
214 </dd> |
215 </dl><a NAME="SvnDiffDialog.on_saveButton_clicked" ID="SvnDiffDialog.on_saveButton_clicked"></a> |
215 </dl><a NAME="SvnDiffDialog.on_saveButton_clicked" ID="SvnDiffDialog.on_saveButton_clicked"></a> |
216 <h4>SvnDiffDialog.on_saveButton_clicked</h4> |
216 <h4>SvnDiffDialog.on_saveButton_clicked</h4> |
217 <b>on_saveButton_clicked</b>(<i></i>) |
217 <b>on_saveButton_clicked</b>(<i></i>) |
218 <p> |
218 <p> |
219 Private slot to handle the Save button press. |
219 Private slot to handle the Save button press. |
220 </p><p> |
220 </p><p> |
221 It saves the diff shown in the dialog to a file in the local |
221 It saves the diff shown in the dialog to a file in the local |
222 filesystem. |
222 filesystem. |
223 </p><a NAME="SvnDiffDialog.on_sendButton_clicked" ID="SvnDiffDialog.on_sendButton_clicked"></a> |
223 </p><a NAME="SvnDiffDialog.on_sendButton_clicked" ID="SvnDiffDialog.on_sendButton_clicked"></a> |
224 <h4>SvnDiffDialog.on_sendButton_clicked</h4> |
224 <h4>SvnDiffDialog.on_sendButton_clicked</h4> |
225 <b>on_sendButton_clicked</b>(<i></i>) |
225 <b>on_sendButton_clicked</b>(<i></i>) |
226 <p> |
226 <p> |
227 Private slot to send the input to the subversion process. |
227 Private slot to send the input to the subversion process. |
228 </p><a NAME="SvnDiffDialog.start" ID="SvnDiffDialog.start"></a> |
228 </p><a NAME="SvnDiffDialog.start" ID="SvnDiffDialog.start"></a> |
229 <h4>SvnDiffDialog.start</h4> |
229 <h4>SvnDiffDialog.start</h4> |
230 <b>start</b>(<i>fn, versions = None, urls = None, summary = False</i>) |
230 <b>start</b>(<i>fn, versions = None, urls = None, summary = False</i>) |
231 <p> |
231 <p> |
232 Public slot to start the svn diff command. |
232 Public slot to start the svn diff command. |
233 </p><dl> |
233 </p><dl> |
234 <dt><i>fn</i></dt> |
234 <dt><i>fn</i></dt> |
235 <dd> |
235 <dd> |
236 filename to be diffed (string) |
236 filename to be diffed (string) |
237 </dd><dt><i>versions</i></dt> |
237 </dd><dt><i>versions</i></dt> |
238 <dd> |
238 <dd> |
239 list of versions to be diffed (list of up to 2 strings or None) |
239 list of versions to be diffed (list of up to 2 strings or None) |
240 </dd><dt><i>urls=</i></dt> |
240 </dd><dt><i>urls=</i></dt> |
241 <dd> |
241 <dd> |
242 list of repository URLs (list of 2 strings) |
242 list of repository URLs (list of 2 strings) |
243 </dd><dt><i>summary=</i></dt> |
243 </dd><dt><i>summary=</i></dt> |
244 <dd> |
244 <dd> |
245 flag indicating a summarizing diff |
245 flag indicating a summarizing diff |
246 (only valid for URL diffs) (boolean) |
246 (only valid for URL diffs) (boolean) |
247 </dd> |
247 </dd> |
248 </dl> |
248 </dl> |
249 <div align="right"><a href="#top">Up</a></div> |
249 <div align="right"><a href="#top">Up</a></div> |
250 <hr /> |
250 <hr /> |
251 </body></html> |
251 </body></html> |