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