|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to show the output of the svn blame command. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#SvnBlameDialog">SvnBlameDialog</a></td> |
|
23 <td>Class implementing a dialog to show the output of the svn blame command.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="SvnBlameDialog" ID="SvnBlameDialog"></a> |
|
32 <h2>SvnBlameDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to show the output of the svn blame command. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, SvnDialogMixin, Ui_SvnBlameDialog |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#SvnBlameDialog.__init__">SvnBlameDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#SvnBlameDialog.__finish">__finish</a></td> |
|
49 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#SvnBlameDialog.__generateItem">__generateItem</a></td> |
|
52 <td>Private method to generate a tag item in the taglist.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#SvnBlameDialog.__resizeColumns">__resizeColumns</a></td> |
|
55 <td>Private method to resize the list columns.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#SvnBlameDialog.__showError">__showError</a></td> |
|
58 <td>Private slot to show an error message.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnBlameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
61 <td>Private slot called by a button of the button box clicked.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnBlameDialog.start">start</a></td> |
|
64 <td>Public slot to start the svn status command.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <a NAME="SvnBlameDialog.__init__" ID="SvnBlameDialog.__init__"></a> |
|
68 <h4>SvnBlameDialog (Constructor)</h4> |
|
69 <b>SvnBlameDialog</b>(<i>vcs, parent = None</i>) |
|
70 <p> |
|
71 Constructor |
|
72 </p><dl> |
|
73 <dt><i>vcs</i></dt> |
|
74 <dd> |
|
75 reference to the vcs object |
|
76 </dd><dt><i>parent</i></dt> |
|
77 <dd> |
|
78 parent widget (QWidget) |
|
79 </dd> |
|
80 </dl><a NAME="SvnBlameDialog.__finish" ID="SvnBlameDialog.__finish"></a> |
|
81 <h4>SvnBlameDialog.__finish</h4> |
|
82 <b>__finish</b>(<i></i>) |
|
83 <p> |
|
84 Private slot called when the process finished or the user pressed the button. |
|
85 </p><a NAME="SvnBlameDialog.__generateItem" ID="SvnBlameDialog.__generateItem"></a> |
|
86 <h4>SvnBlameDialog.__generateItem</h4> |
|
87 <b>__generateItem</b>(<i>revision, author, lineno, text</i>) |
|
88 <p> |
|
89 Private method to generate a tag item in the taglist. |
|
90 </p><dl> |
|
91 <dt><i>revision</i></dt> |
|
92 <dd> |
|
93 revision string (integer) |
|
94 </dd><dt><i>author</i></dt> |
|
95 <dd> |
|
96 author of the tag (string) |
|
97 </dd><dt><i>lineno</i></dt> |
|
98 <dd> |
|
99 line number (integer) |
|
100 </dd><dt><i>text</i></dt> |
|
101 <dd> |
|
102 text of the line (string) |
|
103 </dd> |
|
104 </dl><a NAME="SvnBlameDialog.__resizeColumns" ID="SvnBlameDialog.__resizeColumns"></a> |
|
105 <h4>SvnBlameDialog.__resizeColumns</h4> |
|
106 <b>__resizeColumns</b>(<i></i>) |
|
107 <p> |
|
108 Private method to resize the list columns. |
|
109 </p><a NAME="SvnBlameDialog.__showError" ID="SvnBlameDialog.__showError"></a> |
|
110 <h4>SvnBlameDialog.__showError</h4> |
|
111 <b>__showError</b>(<i>msg</i>) |
|
112 <p> |
|
113 Private slot to show an error message. |
|
114 </p><dl> |
|
115 <dt><i>msg</i></dt> |
|
116 <dd> |
|
117 error message to show (string) |
|
118 </dd> |
|
119 </dl><a NAME="SvnBlameDialog.on_buttonBox_clicked" ID="SvnBlameDialog.on_buttonBox_clicked"></a> |
|
120 <h4>SvnBlameDialog.on_buttonBox_clicked</h4> |
|
121 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
122 <p> |
|
123 Private slot called by a button of the button box clicked. |
|
124 </p><dl> |
|
125 <dt><i>button</i></dt> |
|
126 <dd> |
|
127 button that was clicked (QAbstractButton) |
|
128 </dd> |
|
129 </dl><a NAME="SvnBlameDialog.start" ID="SvnBlameDialog.start"></a> |
|
130 <h4>SvnBlameDialog.start</h4> |
|
131 <b>start</b>(<i>fn</i>) |
|
132 <p> |
|
133 Public slot to start the svn status command. |
|
134 </p><dl> |
|
135 <dt><i>fn</i></dt> |
|
136 <dd> |
|
137 filename to show the log for (string) |
|
138 </dd> |
|
139 </dl> |
|
140 <div align="right"><a href="#top">Up</a></div> |
|
141 <hr /> |
|
142 </body></html> |