|
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.vcsSubversion.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.vcsSubversion.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, 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.__procFinished">__procFinished</a></td> |
|
55 <td>Private slot connected to the finished signal.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#SvnBlameDialog.__readStderr">__readStderr</a></td> |
|
58 <td>Private slot to handle the readyReadStderr signal.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnBlameDialog.__readStdout">__readStdout</a></td> |
|
61 <td>Private slot to handle the readyReadStdout signal.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnBlameDialog.__resizeColumns">__resizeColumns</a></td> |
|
64 <td>Private method to resize the list columns.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnBlameDialog.closeEvent">closeEvent</a></td> |
|
67 <td>Private slot implementing a close event handler.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnBlameDialog.keyPressEvent">keyPressEvent</a></td> |
|
70 <td>Protected slot to handle a key press event.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnBlameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
73 <td>Private slot called by a button of the button box clicked.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnBlameDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
76 <td>Private slot to handle the press of the return key in the input field.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SvnBlameDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
79 <td>Private slot to handle the password checkbox toggled.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SvnBlameDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
82 <td>Private slot to send the input to the subversion process.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SvnBlameDialog.start">start</a></td> |
|
85 <td>Public slot to start the svn status command.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <a NAME="SvnBlameDialog.__init__" ID="SvnBlameDialog.__init__"></a> |
|
89 <h4>SvnBlameDialog (Constructor)</h4> |
|
90 <b>SvnBlameDialog</b>(<i>vcs, parent = None</i>) |
|
91 <p> |
|
92 Constructor |
|
93 </p><dl> |
|
94 <dt><i>vcs</i></dt> |
|
95 <dd> |
|
96 reference to the vcs object |
|
97 </dd><dt><i>parent</i></dt> |
|
98 <dd> |
|
99 parent widget (QWidget) |
|
100 </dd> |
|
101 </dl><a NAME="SvnBlameDialog.__finish" ID="SvnBlameDialog.__finish"></a> |
|
102 <h4>SvnBlameDialog.__finish</h4> |
|
103 <b>__finish</b>(<i></i>) |
|
104 <p> |
|
105 Private slot called when the process finished or the user pressed the button. |
|
106 </p><a NAME="SvnBlameDialog.__generateItem" ID="SvnBlameDialog.__generateItem"></a> |
|
107 <h4>SvnBlameDialog.__generateItem</h4> |
|
108 <b>__generateItem</b>(<i>revision, author, text</i>) |
|
109 <p> |
|
110 Private method to generate a tag item in the taglist. |
|
111 </p><dl> |
|
112 <dt><i>revision</i></dt> |
|
113 <dd> |
|
114 revision string (string) |
|
115 </dd><dt><i>author</i></dt> |
|
116 <dd> |
|
117 author of the tag (string) |
|
118 </dd><dt><i>date</i></dt> |
|
119 <dd> |
|
120 date of the tag (string) |
|
121 </dd><dt><i>name</i></dt> |
|
122 <dd> |
|
123 name (path) of the tag (string) |
|
124 </dd> |
|
125 </dl><a NAME="SvnBlameDialog.__procFinished" ID="SvnBlameDialog.__procFinished"></a> |
|
126 <h4>SvnBlameDialog.__procFinished</h4> |
|
127 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
128 <p> |
|
129 Private slot connected to the finished signal. |
|
130 </p><dl> |
|
131 <dt><i>exitCode</i></dt> |
|
132 <dd> |
|
133 exit code of the process (integer) |
|
134 </dd><dt><i>exitStatus</i></dt> |
|
135 <dd> |
|
136 exit status of the process (QProcess.ExitStatus) |
|
137 </dd> |
|
138 </dl><a NAME="SvnBlameDialog.__readStderr" ID="SvnBlameDialog.__readStderr"></a> |
|
139 <h4>SvnBlameDialog.__readStderr</h4> |
|
140 <b>__readStderr</b>(<i></i>) |
|
141 <p> |
|
142 Private slot to handle the readyReadStderr signal. |
|
143 </p><p> |
|
144 It reads the error output of the process and inserts it into the |
|
145 error pane. |
|
146 </p><a NAME="SvnBlameDialog.__readStdout" ID="SvnBlameDialog.__readStdout"></a> |
|
147 <h4>SvnBlameDialog.__readStdout</h4> |
|
148 <b>__readStdout</b>(<i></i>) |
|
149 <p> |
|
150 Private slot to handle the readyReadStdout signal. |
|
151 </p><p> |
|
152 It reads the output of the process, formats it and inserts it into |
|
153 the contents pane. |
|
154 </p><a NAME="SvnBlameDialog.__resizeColumns" ID="SvnBlameDialog.__resizeColumns"></a> |
|
155 <h4>SvnBlameDialog.__resizeColumns</h4> |
|
156 <b>__resizeColumns</b>(<i></i>) |
|
157 <p> |
|
158 Private method to resize the list columns. |
|
159 </p><a NAME="SvnBlameDialog.closeEvent" ID="SvnBlameDialog.closeEvent"></a> |
|
160 <h4>SvnBlameDialog.closeEvent</h4> |
|
161 <b>closeEvent</b>(<i>e</i>) |
|
162 <p> |
|
163 Private slot implementing a close event handler. |
|
164 </p><dl> |
|
165 <dt><i>e</i></dt> |
|
166 <dd> |
|
167 close event (QCloseEvent) |
|
168 </dd> |
|
169 </dl><a NAME="SvnBlameDialog.keyPressEvent" ID="SvnBlameDialog.keyPressEvent"></a> |
|
170 <h4>SvnBlameDialog.keyPressEvent</h4> |
|
171 <b>keyPressEvent</b>(<i>evt</i>) |
|
172 <p> |
|
173 Protected slot to handle a key press event. |
|
174 </p><dl> |
|
175 <dt><i>evt</i></dt> |
|
176 <dd> |
|
177 the key press event (QKeyEvent) |
|
178 </dd> |
|
179 </dl><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 <p> |
|
183 Private slot called by a button of the button box clicked. |
|
184 </p><dl> |
|
185 <dt><i>button</i></dt> |
|
186 <dd> |
|
187 button that was clicked (QAbstractButton) |
|
188 </dd> |
|
189 </dl><a NAME="SvnBlameDialog.on_input_returnPressed" ID="SvnBlameDialog.on_input_returnPressed"></a> |
|
190 <h4>SvnBlameDialog.on_input_returnPressed</h4> |
|
191 <b>on_input_returnPressed</b>(<i></i>) |
|
192 <p> |
|
193 Private slot to handle the press of the return key in the input field. |
|
194 </p><a NAME="SvnBlameDialog.on_passwordCheckBox_toggled" ID="SvnBlameDialog.on_passwordCheckBox_toggled"></a> |
|
195 <h4>SvnBlameDialog.on_passwordCheckBox_toggled</h4> |
|
196 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
197 <p> |
|
198 Private slot to handle the password checkbox toggled. |
|
199 </p><dl> |
|
200 <dt><i>isOn</i></dt> |
|
201 <dd> |
|
202 flag indicating the status of the check box (boolean) |
|
203 </dd> |
|
204 </dl><a NAME="SvnBlameDialog.on_sendButton_clicked" ID="SvnBlameDialog.on_sendButton_clicked"></a> |
|
205 <h4>SvnBlameDialog.on_sendButton_clicked</h4> |
|
206 <b>on_sendButton_clicked</b>(<i></i>) |
|
207 <p> |
|
208 Private slot to send the input to the subversion process. |
|
209 </p><a NAME="SvnBlameDialog.start" ID="SvnBlameDialog.start"></a> |
|
210 <h4>SvnBlameDialog.start</h4> |
|
211 <b>start</b>(<i>fn</i>) |
|
212 <p> |
|
213 Public slot to start the svn status command. |
|
214 </p><dl> |
|
215 <dt><i>fn</i></dt> |
|
216 <dd> |
|
217 filename to show the log for (string) |
|
218 </dd> |
|
219 </dl> |
|
220 <div align="right"><a href="#top">Up</a></div> |
|
221 <hr /> |
|
222 </body></html> |