|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to show the output of the svn blame command. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#SvnBlameDialog">SvnBlameDialog</a></td> |
|
39 <td>Class implementing a dialog to show the output of the svn blame command.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="SvnBlameDialog" ID="SvnBlameDialog"></a> |
|
50 <h2>SvnBlameDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to show the output of the svn blame command. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, SvnDialogMixin, Ui_SvnBlameDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#SvnBlameDialog.__init__">SvnBlameDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#SvnBlameDialog.__finish">__finish</a></td> |
|
77 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#SvnBlameDialog.__generateItem">__generateItem</a></td> |
|
81 <td>Private method to generate a blame item in the blame list.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#SvnBlameDialog.__resizeColumns">__resizeColumns</a></td> |
|
85 <td>Private method to resize the list columns.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#SvnBlameDialog.__showError">__showError</a></td> |
|
89 <td>Private slot to show an error message.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#SvnBlameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
93 <td>Private slot called by a button of the button box clicked.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#SvnBlameDialog.start">start</a></td> |
|
97 <td>Public slot to start the svn blame command.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 |
|
102 <table> |
|
103 <tr><td>None</td></tr> |
|
104 </table> |
|
105 |
|
106 <a NAME="SvnBlameDialog.__init__" ID="SvnBlameDialog.__init__"></a> |
|
107 <h4>SvnBlameDialog (Constructor)</h4> |
|
108 <b>SvnBlameDialog</b>(<i>vcs, parent=None</i>) |
|
109 |
|
110 <p> |
|
111 Constructor |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>vcs</i></dt> |
|
116 <dd> |
|
117 reference to the vcs object |
|
118 </dd> |
|
119 <dt><i>parent</i></dt> |
|
120 <dd> |
|
121 parent widget (QWidget) |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="SvnBlameDialog.__finish" ID="SvnBlameDialog.__finish"></a> |
|
125 <h4>SvnBlameDialog.__finish</h4> |
|
126 <b>__finish</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Private slot called when the process finished or the user pressed the |
|
130 button. |
|
131 </p> |
|
132 <a NAME="SvnBlameDialog.__generateItem" ID="SvnBlameDialog.__generateItem"></a> |
|
133 <h4>SvnBlameDialog.__generateItem</h4> |
|
134 <b>__generateItem</b>(<i>revision, author, lineno, text</i>) |
|
135 |
|
136 <p> |
|
137 Private method to generate a blame item in the blame list. |
|
138 </p> |
|
139 <dl> |
|
140 |
|
141 <dt><i>revision</i></dt> |
|
142 <dd> |
|
143 revision string (string) |
|
144 </dd> |
|
145 <dt><i>author</i></dt> |
|
146 <dd> |
|
147 author of the change (string) |
|
148 </dd> |
|
149 <dt><i>lineno</i></dt> |
|
150 <dd> |
|
151 linenumber (string) |
|
152 </dd> |
|
153 <dt><i>text</i></dt> |
|
154 <dd> |
|
155 line of text from the annotated file (string) |
|
156 </dd> |
|
157 </dl> |
|
158 <a NAME="SvnBlameDialog.__resizeColumns" ID="SvnBlameDialog.__resizeColumns"></a> |
|
159 <h4>SvnBlameDialog.__resizeColumns</h4> |
|
160 <b>__resizeColumns</b>(<i></i>) |
|
161 |
|
162 <p> |
|
163 Private method to resize the list columns. |
|
164 </p> |
|
165 <a NAME="SvnBlameDialog.__showError" ID="SvnBlameDialog.__showError"></a> |
|
166 <h4>SvnBlameDialog.__showError</h4> |
|
167 <b>__showError</b>(<i>msg</i>) |
|
168 |
|
169 <p> |
|
170 Private slot to show an error message. |
|
171 </p> |
|
172 <dl> |
|
173 |
|
174 <dt><i>msg</i></dt> |
|
175 <dd> |
|
176 error message to show (string) |
|
177 </dd> |
|
178 </dl> |
|
179 <a NAME="SvnBlameDialog.on_buttonBox_clicked" ID="SvnBlameDialog.on_buttonBox_clicked"></a> |
|
180 <h4>SvnBlameDialog.on_buttonBox_clicked</h4> |
|
181 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
182 |
|
183 <p> |
|
184 Private slot called by a button of the button box clicked. |
|
185 </p> |
|
186 <dl> |
|
187 |
|
188 <dt><i>button</i></dt> |
|
189 <dd> |
|
190 button that was clicked (QAbstractButton) |
|
191 </dd> |
|
192 </dl> |
|
193 <a NAME="SvnBlameDialog.start" ID="SvnBlameDialog.start"></a> |
|
194 <h4>SvnBlameDialog.start</h4> |
|
195 <b>start</b>(<i>fn</i>) |
|
196 |
|
197 <p> |
|
198 Public slot to start the svn blame command. |
|
199 </p> |
|
200 <dl> |
|
201 |
|
202 <dt><i>fn</i></dt> |
|
203 <dd> |
|
204 filename to show the blame for (string) |
|
205 </dd> |
|
206 </dl> |
|
207 <div align="right"><a href="#top">Up</a></div> |
|
208 <hr /> |
|
209 </body></html> |