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.__finish">__finish</a></td> |
63 <td><a href="#SvnDiffDialog.__finish">__finish</a></td> |
64 <td>Private slot called when the user pressed the button.</td> |
64 <td>Private slot called when the user pressed the button.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#SvnDiffDialog.__getDiffSummaryKind">__getDiffSummaryKind</a></td> |
66 <td><a href="#SvnDiffDialog.__getDiffSummaryKind">__getDiffSummaryKind</a></td> |
67 <td>Private method to get a string descripion of the diff summary.</td> |
67 <td>Private method to get a string descripion of the diff summary.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SvnDiffDialog.__getVersionArg">__getVersionArg</a></td> |
69 <td><a href="#SvnDiffDialog.__getVersionArg">__getVersionArg</a></td> |
70 <td>Private method to get a pysvn revision object for the given version number.</td> |
70 <td>Private method to get a pysvn revision object for the given version number.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SvnDiffDialog.__showError">__showError</a></td> |
72 <td><a href="#SvnDiffDialog.__showError">__showError</a></td> |
73 <td>Private slot to show an error message.</td> |
73 <td>Private slot to show an error message.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#SvnDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
75 <td><a href="#SvnDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
76 <td>Private slot called by a button of the button box clicked.</td> |
76 <td>Private slot called by a button of the button box clicked.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#SvnDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> |
78 <td><a href="#SvnDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> |
79 <td>Private slot to handle the Save button press.</td> |
79 <td>Private slot to handle the Save button press.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#SvnDiffDialog.start">start</a></td> |
81 <td><a href="#SvnDiffDialog.start">start</a></td> |
82 <td>Public slot to start the svn diff command.</td> |
82 <td>Public slot to start the svn diff command.</td> |
83 </tr> |
83 </tr> |
84 </table> |
84 </table> |
85 <a NAME="SvnDiffDialog.__init__" ID="SvnDiffDialog.__init__"></a> |
85 <a NAME="SvnDiffDialog.__init__" ID="SvnDiffDialog.__init__"></a> |
86 <h4>SvnDiffDialog (Constructor)</h4> |
86 <h4>SvnDiffDialog (Constructor)</h4> |
87 <b>SvnDiffDialog</b>(<i>vcs, parent = None</i>) |
87 <b>SvnDiffDialog</b>(<i>vcs, parent = None</i>) |
88 <p> |
88 <p> |
89 Constructor |
89 Constructor |
90 </p><dl> |
90 </p><dl> |
91 <dt><i>vcs</i></dt> |
91 <dt><i>vcs</i></dt> |
92 <dd> |
92 <dd> |
93 reference to the vcs object |
93 reference to the vcs object |
94 </dd><dt><i>parent</i></dt> |
94 </dd><dt><i>parent</i></dt> |
95 <dd> |
95 <dd> |
96 parent widget (QWidget) |
96 parent widget (QWidget) |
97 </dd> |
97 </dd> |
98 </dl><a NAME="SvnDiffDialog.__appendText" ID="SvnDiffDialog.__appendText"></a> |
98 </dl><a NAME="SvnDiffDialog.__appendText" ID="SvnDiffDialog.__appendText"></a> |
99 <h4>SvnDiffDialog.__appendText</h4> |
99 <h4>SvnDiffDialog.__appendText</h4> |
100 <b>__appendText</b>(<i>line</i>) |
100 <b>__appendText</b>(<i>line</i>) |
101 <p> |
101 <p> |
102 Private method to append text to the end of the contents pane. |
102 Private method to append text to the end of the contents pane. |
103 </p><dl> |
103 </p><dl> |
104 <dt><i>line</i></dt> |
104 <dt><i>line</i></dt> |
105 <dd> |
105 <dd> |
106 line of text to insert (string) |
106 line of text to insert (string) |
107 </dd> |
107 </dd> |
108 </dl><a NAME="SvnDiffDialog.__finish" ID="SvnDiffDialog.__finish"></a> |
108 </dl><a NAME="SvnDiffDialog.__finish" ID="SvnDiffDialog.__finish"></a> |
109 <h4>SvnDiffDialog.__finish</h4> |
109 <h4>SvnDiffDialog.__finish</h4> |
110 <b>__finish</b>(<i></i>) |
110 <b>__finish</b>(<i></i>) |
111 <p> |
111 <p> |
112 Private slot called when the user pressed the button. |
112 Private slot called when the user pressed the button. |
113 </p><a NAME="SvnDiffDialog.__getDiffSummaryKind" ID="SvnDiffDialog.__getDiffSummaryKind"></a> |
113 </p><a NAME="SvnDiffDialog.__getDiffSummaryKind" ID="SvnDiffDialog.__getDiffSummaryKind"></a> |
114 <h4>SvnDiffDialog.__getDiffSummaryKind</h4> |
114 <h4>SvnDiffDialog.__getDiffSummaryKind</h4> |
115 <b>__getDiffSummaryKind</b>(<i>summaryKind</i>) |
115 <b>__getDiffSummaryKind</b>(<i>summaryKind</i>) |
116 <p> |
116 <p> |
117 Private method to get a string descripion of the diff summary. |
117 Private method to get a string descripion of the diff summary. |
118 </p><dl> |
118 </p><dl> |
119 <dt><i>summaryKind</i></dt> |
119 <dt><i>summaryKind</i></dt> |
120 <dd> |
120 <dd> |
121 (pysvn.diff_summarize.summarize_kind) |
121 (pysvn.diff_summarize.summarize_kind) |
122 </dd> |
122 </dd> |
123 </dl><dl> |
123 </dl><dl> |
124 <dt>Returns:</dt> |
124 <dt>Returns:</dt> |
125 <dd> |
125 <dd> |
126 one letter string indicating the change type (string) |
126 one letter string indicating the change type (string) |
127 </dd> |
127 </dd> |
128 </dl><a NAME="SvnDiffDialog.__getVersionArg" ID="SvnDiffDialog.__getVersionArg"></a> |
128 </dl><a NAME="SvnDiffDialog.__getVersionArg" ID="SvnDiffDialog.__getVersionArg"></a> |
129 <h4>SvnDiffDialog.__getVersionArg</h4> |
129 <h4>SvnDiffDialog.__getVersionArg</h4> |
130 <b>__getVersionArg</b>(<i>version</i>) |
130 <b>__getVersionArg</b>(<i>version</i>) |
131 <p> |
131 <p> |
132 Private method to get a pysvn revision object for the given version number. |
132 Private method to get a pysvn revision object for the given version number. |
133 </p><dl> |
133 </p><dl> |
134 <dt><i>version</i></dt> |
134 <dt><i>version</i></dt> |
135 <dd> |
135 <dd> |
136 revision (integer or string) |
136 revision (integer or string) |
137 </dd> |
137 </dd> |
138 </dl><dl> |
138 </dl><dl> |
139 <dt>Returns:</dt> |
139 <dt>Returns:</dt> |
140 <dd> |
140 <dd> |
141 revision object (pysvn.Revision) |
141 revision object (pysvn.Revision) |
142 </dd> |
142 </dd> |
143 </dl><a NAME="SvnDiffDialog.__showError" ID="SvnDiffDialog.__showError"></a> |
143 </dl><a NAME="SvnDiffDialog.__showError" ID="SvnDiffDialog.__showError"></a> |
144 <h4>SvnDiffDialog.__showError</h4> |
144 <h4>SvnDiffDialog.__showError</h4> |
145 <b>__showError</b>(<i>msg</i>) |
145 <b>__showError</b>(<i>msg</i>) |
146 <p> |
146 <p> |
147 Private slot to show an error message. |
147 Private slot to show an error message. |
148 </p><dl> |
148 </p><dl> |
149 <dt><i>msg</i></dt> |
149 <dt><i>msg</i></dt> |
150 <dd> |
150 <dd> |
151 error message to show (string) |
151 error message to show (string) |
152 </dd> |
152 </dd> |
153 </dl><a NAME="SvnDiffDialog.on_buttonBox_clicked" ID="SvnDiffDialog.on_buttonBox_clicked"></a> |
153 </dl><a NAME="SvnDiffDialog.on_buttonBox_clicked" ID="SvnDiffDialog.on_buttonBox_clicked"></a> |
154 <h4>SvnDiffDialog.on_buttonBox_clicked</h4> |
154 <h4>SvnDiffDialog.on_buttonBox_clicked</h4> |
155 <b>on_buttonBox_clicked</b>(<i>button</i>) |
155 <b>on_buttonBox_clicked</b>(<i>button</i>) |
156 <p> |
156 <p> |
157 Private slot called by a button of the button box clicked. |
157 Private slot called by a button of the button box clicked. |
158 </p><dl> |
158 </p><dl> |
159 <dt><i>button</i></dt> |
159 <dt><i>button</i></dt> |
160 <dd> |
160 <dd> |
161 button that was clicked (QAbstractButton) |
161 button that was clicked (QAbstractButton) |
162 </dd> |
162 </dd> |
163 </dl><a NAME="SvnDiffDialog.on_saveButton_clicked" ID="SvnDiffDialog.on_saveButton_clicked"></a> |
163 </dl><a NAME="SvnDiffDialog.on_saveButton_clicked" ID="SvnDiffDialog.on_saveButton_clicked"></a> |
164 <h4>SvnDiffDialog.on_saveButton_clicked</h4> |
164 <h4>SvnDiffDialog.on_saveButton_clicked</h4> |
165 <b>on_saveButton_clicked</b>(<i></i>) |
165 <b>on_saveButton_clicked</b>(<i></i>) |
166 <p> |
166 <p> |
167 Private slot to handle the Save button press. |
167 Private slot to handle the Save button press. |
168 </p><p> |
168 </p><p> |
169 It saves the diff shown in the dialog to a file in the local |
169 It saves the diff shown in the dialog to a file in the local |
170 filesystem. |
170 filesystem. |
171 </p><a NAME="SvnDiffDialog.start" ID="SvnDiffDialog.start"></a> |
171 </p><a NAME="SvnDiffDialog.start" ID="SvnDiffDialog.start"></a> |
172 <h4>SvnDiffDialog.start</h4> |
172 <h4>SvnDiffDialog.start</h4> |
173 <b>start</b>(<i>fn, versions = None, urls = None, summary = False, pegRev = None</i>) |
173 <b>start</b>(<i>fn, versions = None, urls = None, summary = False, pegRev = None</i>) |
174 <p> |
174 <p> |
175 Public slot to start the svn diff command. |
175 Public slot to start the svn diff command. |
176 </p><dl> |
176 </p><dl> |
177 <dt><i>fn</i></dt> |
177 <dt><i>fn</i></dt> |
178 <dd> |
178 <dd> |
179 filename to be diffed (string) |
179 filename to be diffed (string) |
180 </dd><dt><i>versions</i></dt> |
180 </dd><dt><i>versions</i></dt> |
181 <dd> |
181 <dd> |
182 list of versions to be diffed (list of up to 2 integer or None) |
182 list of versions to be diffed (list of up to 2 integer or None) |
183 </dd><dt><i>urls=</i></dt> |
183 </dd><dt><i>urls=</i></dt> |
184 <dd> |
184 <dd> |
185 list of repository URLs (list of 2 strings) |
185 list of repository URLs (list of 2 strings) |
186 </dd><dt><i>summary=</i></dt> |
186 </dd><dt><i>summary=</i></dt> |
187 <dd> |
187 <dd> |
188 flag indicating a summarizing diff |
188 flag indicating a summarizing diff |
189 (only valid for URL diffs) (boolean) |
189 (only valid for URL diffs) (boolean) |
190 </dd><dt><i>pegRev=</i></dt> |
190 </dd><dt><i>pegRev=</i></dt> |
191 <dd> |
191 <dd> |
192 revision number the filename is valid (integer) |
192 revision number the filename is valid (integer) |
193 </dd> |
193 </dd> |
194 </dl> |
194 </dl> |
195 <div align="right"><a href="#top">Up</a></div> |
195 <div align="right"><a href="#top">Up</a></div> |
196 <hr /> |
196 <hr /> |
197 </body></html> |
197 </body></html> |