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