eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnBlameDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnBlameDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnBlameDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to show the output of the svn blame command. 26 Module implementing a dialog to show the output of the svn blame command.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#SvnBlameDialog">SvnBlameDialog</a></td> 38 <td><a href="#SvnBlameDialog">SvnBlameDialog</a></td>
34 <td>Class implementing a dialog to show the output of the svn blame command.</td> 39 <td>Class implementing a dialog to show the output of the svn blame command.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="SvnBlameDialog" ID="SvnBlameDialog"></a> 49 <a NAME="SvnBlameDialog" ID="SvnBlameDialog"></a>
43 <h2>SvnBlameDialog</h2> 50 <h2>SvnBlameDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to show the output of the svn blame command. 53 Class implementing a dialog to show the output of the svn blame command.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_SvnBlameDialog 56 QDialog, Ui_SvnBlameDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#SvnBlameDialog.__init__">SvnBlameDialog</a></td> 72 <td><a href="#SvnBlameDialog.__init__">SvnBlameDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#SvnBlameDialog.__finish">__finish</a></td> 76 <td><a href="#SvnBlameDialog.__finish">__finish</a></td>
64 <td>Private slot called when the process finished or the user pressed the button.</td> 77 <td>Private slot called when the process finished or the user pressed the button.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#SvnBlameDialog.__generateItem">__generateItem</a></td> 80 <td><a href="#SvnBlameDialog.__generateItem">__generateItem</a></td>
67 <td>Private method to generate a blame item in the blame list.</td> 81 <td>Private method to generate a blame item in the blame list.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#SvnBlameDialog.__procFinished">__procFinished</a></td> 84 <td><a href="#SvnBlameDialog.__procFinished">__procFinished</a></td>
70 <td>Private slot connected to the finished signal.</td> 85 <td>Private slot connected to the finished signal.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#SvnBlameDialog.__readStderr">__readStderr</a></td> 88 <td><a href="#SvnBlameDialog.__readStderr">__readStderr</a></td>
73 <td>Private slot to handle the readyReadStderr signal.</td> 89 <td>Private slot to handle the readyReadStderr signal.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#SvnBlameDialog.__readStdout">__readStdout</a></td> 92 <td><a href="#SvnBlameDialog.__readStdout">__readStdout</a></td>
76 <td>Private slot to handle the readyReadStdout signal.</td> 93 <td>Private slot to handle the readyReadStdout signal.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#SvnBlameDialog.__resizeColumns">__resizeColumns</a></td> 96 <td><a href="#SvnBlameDialog.__resizeColumns">__resizeColumns</a></td>
79 <td>Private method to resize the list columns.</td> 97 <td>Private method to resize the list columns.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#SvnBlameDialog.closeEvent">closeEvent</a></td> 100 <td><a href="#SvnBlameDialog.closeEvent">closeEvent</a></td>
82 <td>Protected slot implementing a close event handler.</td> 101 <td>Protected slot implementing a close event handler.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#SvnBlameDialog.keyPressEvent">keyPressEvent</a></td> 104 <td><a href="#SvnBlameDialog.keyPressEvent">keyPressEvent</a></td>
85 <td>Protected slot to handle a key press event.</td> 105 <td>Protected slot to handle a key press event.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#SvnBlameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 108 <td><a href="#SvnBlameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
88 <td>Private slot called by a button of the button box clicked.</td> 109 <td>Private slot called by a button of the button box clicked.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#SvnBlameDialog.on_input_returnPressed">on_input_returnPressed</a></td> 112 <td><a href="#SvnBlameDialog.on_input_returnPressed">on_input_returnPressed</a></td>
91 <td>Private slot to handle the press of the return key in the input field.</td> 113 <td>Private slot to handle the press of the return key in the input field.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#SvnBlameDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> 116 <td><a href="#SvnBlameDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
94 <td>Private slot to handle the password checkbox toggled.</td> 117 <td>Private slot to handle the password checkbox toggled.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#SvnBlameDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> 120 <td><a href="#SvnBlameDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
97 <td>Private slot to send the input to the subversion process.</td> 121 <td>Private slot to send the input to the subversion process.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#SvnBlameDialog.start">start</a></td> 124 <td><a href="#SvnBlameDialog.start">start</a></td>
100 <td>Public slot to start the svn blame command.</td> 125 <td>Public slot to start the svn blame command.</td>
101 </tr> 126 </tr>
102 </table> 127 </table>
103 <h3>Static Methods</h3> 128 <h3>Static Methods</h3>
104 <table> 129
105 <tr><td>None</td></tr> 130 <table>
106 </table> 131 <tr><td>None</td></tr>
132 </table>
133
107 <a NAME="SvnBlameDialog.__init__" ID="SvnBlameDialog.__init__"></a> 134 <a NAME="SvnBlameDialog.__init__" ID="SvnBlameDialog.__init__"></a>
108 <h4>SvnBlameDialog (Constructor)</h4> 135 <h4>SvnBlameDialog (Constructor)</h4>
109 <b>SvnBlameDialog</b>(<i>vcs, parent=None</i>) 136 <b>SvnBlameDialog</b>(<i>vcs, parent=None</i>)
137
110 <p> 138 <p>
111 Constructor 139 Constructor
112 </p><dl> 140 </p>
141 <dl>
142
113 <dt><i>vcs</i></dt> 143 <dt><i>vcs</i></dt>
114 <dd> 144 <dd>
115 reference to the vcs object 145 reference to the vcs object
116 </dd><dt><i>parent</i></dt> 146 </dd>
147 <dt><i>parent</i></dt>
117 <dd> 148 <dd>
118 parent widget (QWidget) 149 parent widget (QWidget)
119 </dd> 150 </dd>
120 </dl><a NAME="SvnBlameDialog.__finish" ID="SvnBlameDialog.__finish"></a> 151 </dl>
152 <a NAME="SvnBlameDialog.__finish" ID="SvnBlameDialog.__finish"></a>
121 <h4>SvnBlameDialog.__finish</h4> 153 <h4>SvnBlameDialog.__finish</h4>
122 <b>__finish</b>(<i></i>) 154 <b>__finish</b>(<i></i>)
155
123 <p> 156 <p>
124 Private slot called when the process finished or the user pressed the 157 Private slot called when the process finished or the user pressed the
125 button. 158 button.
126 </p><a NAME="SvnBlameDialog.__generateItem" ID="SvnBlameDialog.__generateItem"></a> 159 </p>
160 <a NAME="SvnBlameDialog.__generateItem" ID="SvnBlameDialog.__generateItem"></a>
127 <h4>SvnBlameDialog.__generateItem</h4> 161 <h4>SvnBlameDialog.__generateItem</h4>
128 <b>__generateItem</b>(<i>revision, author, text</i>) 162 <b>__generateItem</b>(<i>revision, author, text</i>)
163
129 <p> 164 <p>
130 Private method to generate a blame item in the blame list. 165 Private method to generate a blame item in the blame list.
131 </p><dl> 166 </p>
167 <dl>
168
132 <dt><i>revision</i></dt> 169 <dt><i>revision</i></dt>
133 <dd> 170 <dd>
134 revision string (string) 171 revision string (string)
135 </dd><dt><i>author</i></dt> 172 </dd>
173 <dt><i>author</i></dt>
136 <dd> 174 <dd>
137 author of the change (string) 175 author of the change (string)
138 </dd><dt><i>text</i></dt> 176 </dd>
177 <dt><i>text</i></dt>
139 <dd> 178 <dd>
140 line of text from the annotated file (string) 179 line of text from the annotated file (string)
141 </dd> 180 </dd>
142 </dl><a NAME="SvnBlameDialog.__procFinished" ID="SvnBlameDialog.__procFinished"></a> 181 </dl>
182 <a NAME="SvnBlameDialog.__procFinished" ID="SvnBlameDialog.__procFinished"></a>
143 <h4>SvnBlameDialog.__procFinished</h4> 183 <h4>SvnBlameDialog.__procFinished</h4>
144 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) 184 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
185
145 <p> 186 <p>
146 Private slot connected to the finished signal. 187 Private slot connected to the finished signal.
147 </p><dl> 188 </p>
189 <dl>
190
148 <dt><i>exitCode</i></dt> 191 <dt><i>exitCode</i></dt>
149 <dd> 192 <dd>
150 exit code of the process (integer) 193 exit code of the process (integer)
151 </dd><dt><i>exitStatus</i></dt> 194 </dd>
195 <dt><i>exitStatus</i></dt>
152 <dd> 196 <dd>
153 exit status of the process (QProcess.ExitStatus) 197 exit status of the process (QProcess.ExitStatus)
154 </dd> 198 </dd>
155 </dl><a NAME="SvnBlameDialog.__readStderr" ID="SvnBlameDialog.__readStderr"></a> 199 </dl>
200 <a NAME="SvnBlameDialog.__readStderr" ID="SvnBlameDialog.__readStderr"></a>
156 <h4>SvnBlameDialog.__readStderr</h4> 201 <h4>SvnBlameDialog.__readStderr</h4>
157 <b>__readStderr</b>(<i></i>) 202 <b>__readStderr</b>(<i></i>)
203
158 <p> 204 <p>
159 Private slot to handle the readyReadStderr signal. 205 Private slot to handle the readyReadStderr signal.
160 </p><p> 206 </p>
207 <p>
161 It reads the error output of the process and inserts it into the 208 It reads the error output of the process and inserts it into the
162 error pane. 209 error pane.
163 </p><a NAME="SvnBlameDialog.__readStdout" ID="SvnBlameDialog.__readStdout"></a> 210 </p>
211 <a NAME="SvnBlameDialog.__readStdout" ID="SvnBlameDialog.__readStdout"></a>
164 <h4>SvnBlameDialog.__readStdout</h4> 212 <h4>SvnBlameDialog.__readStdout</h4>
165 <b>__readStdout</b>(<i></i>) 213 <b>__readStdout</b>(<i></i>)
214
166 <p> 215 <p>
167 Private slot to handle the readyReadStdout signal. 216 Private slot to handle the readyReadStdout signal.
168 </p><p> 217 </p>
218 <p>
169 It reads the output of the process, formats it and inserts it into 219 It reads the output of the process, formats it and inserts it into
170 the contents pane. 220 the contents pane.
171 </p><a NAME="SvnBlameDialog.__resizeColumns" ID="SvnBlameDialog.__resizeColumns"></a> 221 </p>
222 <a NAME="SvnBlameDialog.__resizeColumns" ID="SvnBlameDialog.__resizeColumns"></a>
172 <h4>SvnBlameDialog.__resizeColumns</h4> 223 <h4>SvnBlameDialog.__resizeColumns</h4>
173 <b>__resizeColumns</b>(<i></i>) 224 <b>__resizeColumns</b>(<i></i>)
225
174 <p> 226 <p>
175 Private method to resize the list columns. 227 Private method to resize the list columns.
176 </p><a NAME="SvnBlameDialog.closeEvent" ID="SvnBlameDialog.closeEvent"></a> 228 </p>
229 <a NAME="SvnBlameDialog.closeEvent" ID="SvnBlameDialog.closeEvent"></a>
177 <h4>SvnBlameDialog.closeEvent</h4> 230 <h4>SvnBlameDialog.closeEvent</h4>
178 <b>closeEvent</b>(<i>e</i>) 231 <b>closeEvent</b>(<i>e</i>)
232
179 <p> 233 <p>
180 Protected slot implementing a close event handler. 234 Protected slot implementing a close event handler.
181 </p><dl> 235 </p>
236 <dl>
237
182 <dt><i>e</i></dt> 238 <dt><i>e</i></dt>
183 <dd> 239 <dd>
184 close event (QCloseEvent) 240 close event (QCloseEvent)
185 </dd> 241 </dd>
186 </dl><a NAME="SvnBlameDialog.keyPressEvent" ID="SvnBlameDialog.keyPressEvent"></a> 242 </dl>
243 <a NAME="SvnBlameDialog.keyPressEvent" ID="SvnBlameDialog.keyPressEvent"></a>
187 <h4>SvnBlameDialog.keyPressEvent</h4> 244 <h4>SvnBlameDialog.keyPressEvent</h4>
188 <b>keyPressEvent</b>(<i>evt</i>) 245 <b>keyPressEvent</b>(<i>evt</i>)
246
189 <p> 247 <p>
190 Protected slot to handle a key press event. 248 Protected slot to handle a key press event.
191 </p><dl> 249 </p>
250 <dl>
251
192 <dt><i>evt</i></dt> 252 <dt><i>evt</i></dt>
193 <dd> 253 <dd>
194 the key press event (QKeyEvent) 254 the key press event (QKeyEvent)
195 </dd> 255 </dd>
196 </dl><a NAME="SvnBlameDialog.on_buttonBox_clicked" ID="SvnBlameDialog.on_buttonBox_clicked"></a> 256 </dl>
257 <a NAME="SvnBlameDialog.on_buttonBox_clicked" ID="SvnBlameDialog.on_buttonBox_clicked"></a>
197 <h4>SvnBlameDialog.on_buttonBox_clicked</h4> 258 <h4>SvnBlameDialog.on_buttonBox_clicked</h4>
198 <b>on_buttonBox_clicked</b>(<i>button</i>) 259 <b>on_buttonBox_clicked</b>(<i>button</i>)
260
199 <p> 261 <p>
200 Private slot called by a button of the button box clicked. 262 Private slot called by a button of the button box clicked.
201 </p><dl> 263 </p>
264 <dl>
265
202 <dt><i>button</i></dt> 266 <dt><i>button</i></dt>
203 <dd> 267 <dd>
204 button that was clicked (QAbstractButton) 268 button that was clicked (QAbstractButton)
205 </dd> 269 </dd>
206 </dl><a NAME="SvnBlameDialog.on_input_returnPressed" ID="SvnBlameDialog.on_input_returnPressed"></a> 270 </dl>
271 <a NAME="SvnBlameDialog.on_input_returnPressed" ID="SvnBlameDialog.on_input_returnPressed"></a>
207 <h4>SvnBlameDialog.on_input_returnPressed</h4> 272 <h4>SvnBlameDialog.on_input_returnPressed</h4>
208 <b>on_input_returnPressed</b>(<i></i>) 273 <b>on_input_returnPressed</b>(<i></i>)
274
209 <p> 275 <p>
210 Private slot to handle the press of the return key in the input field. 276 Private slot to handle the press of the return key in the input field.
211 </p><a NAME="SvnBlameDialog.on_passwordCheckBox_toggled" ID="SvnBlameDialog.on_passwordCheckBox_toggled"></a> 277 </p>
278 <a NAME="SvnBlameDialog.on_passwordCheckBox_toggled" ID="SvnBlameDialog.on_passwordCheckBox_toggled"></a>
212 <h4>SvnBlameDialog.on_passwordCheckBox_toggled</h4> 279 <h4>SvnBlameDialog.on_passwordCheckBox_toggled</h4>
213 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) 280 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
281
214 <p> 282 <p>
215 Private slot to handle the password checkbox toggled. 283 Private slot to handle the password checkbox toggled.
216 </p><dl> 284 </p>
285 <dl>
286
217 <dt><i>isOn</i></dt> 287 <dt><i>isOn</i></dt>
218 <dd> 288 <dd>
219 flag indicating the status of the check box (boolean) 289 flag indicating the status of the check box (boolean)
220 </dd> 290 </dd>
221 </dl><a NAME="SvnBlameDialog.on_sendButton_clicked" ID="SvnBlameDialog.on_sendButton_clicked"></a> 291 </dl>
292 <a NAME="SvnBlameDialog.on_sendButton_clicked" ID="SvnBlameDialog.on_sendButton_clicked"></a>
222 <h4>SvnBlameDialog.on_sendButton_clicked</h4> 293 <h4>SvnBlameDialog.on_sendButton_clicked</h4>
223 <b>on_sendButton_clicked</b>(<i></i>) 294 <b>on_sendButton_clicked</b>(<i></i>)
295
224 <p> 296 <p>
225 Private slot to send the input to the subversion process. 297 Private slot to send the input to the subversion process.
226 </p><a NAME="SvnBlameDialog.start" ID="SvnBlameDialog.start"></a> 298 </p>
299 <a NAME="SvnBlameDialog.start" ID="SvnBlameDialog.start"></a>
227 <h4>SvnBlameDialog.start</h4> 300 <h4>SvnBlameDialog.start</h4>
228 <b>start</b>(<i>fn</i>) 301 <b>start</b>(<i>fn</i>)
302
229 <p> 303 <p>
230 Public slot to start the svn blame command. 304 Public slot to start the svn blame command.
231 </p><dl> 305 </p>
306 <dl>
307
232 <dt><i>fn</i></dt> 308 <dt><i>fn</i></dt>
233 <dd> 309 <dd>
234 filename to show the blame for (string) 310 filename to show the blame for (string)
235 </dd> 311 </dd>
236 </dl> 312 </dl>

eric ide

mercurial