Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.html

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog</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.vcsMercurial.GpgExtension.HgGpgSignaturesDialog</h1>
23 <p>
24 Module implementing a dialog showing signed changesets.
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="#HgGpgSignaturesDialog">HgGpgSignaturesDialog</a></td>
34 <td>Class implementing a dialog showing signed changesets.</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="HgGpgSignaturesDialog" ID="HgGpgSignaturesDialog"></a>
43 <h2>HgGpgSignaturesDialog</h2>
44 <p>
45 Class implementing a dialog showing signed changesets.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgGpgSignaturesDialog
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="#HgGpgSignaturesDialog.__init__">HgGpgSignaturesDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgGpgSignaturesDialog.__filterSignatures">__filterSignatures</a></td>
64 <td>Private method to filter the log entries.</td>
65 </tr><tr>
66 <td><a href="#HgGpgSignaturesDialog.__finish">__finish</a></td>
67 <td>Private slot called when the process finished or the user pressed the button.</td>
68 </tr><tr>
69 <td><a href="#HgGpgSignaturesDialog.__generateItem">__generateItem</a></td>
70 <td>Private method to generate a patch item in the list of patches.</td>
71 </tr><tr>
72 <td><a href="#HgGpgSignaturesDialog.__procFinished">__procFinished</a></td>
73 <td>Private slot connected to the finished signal.</td>
74 </tr><tr>
75 <td><a href="#HgGpgSignaturesDialog.__processOutputLine">__processOutputLine</a></td>
76 <td>Private method to process the lines of output.</td>
77 </tr><tr>
78 <td><a href="#HgGpgSignaturesDialog.__readStderr">__readStderr</a></td>
79 <td>Private slot to handle the readyReadStderr signal.</td>
80 </tr><tr>
81 <td><a href="#HgGpgSignaturesDialog.__readStdout">__readStdout</a></td>
82 <td>Private slot to handle the readyReadStdout signal.</td>
83 </tr><tr>
84 <td><a href="#HgGpgSignaturesDialog.__resizeColumns">__resizeColumns</a></td>
85 <td>Private method to resize the list columns.</td>
86 </tr><tr>
87 <td><a href="#HgGpgSignaturesDialog.__resort">__resort</a></td>
88 <td>Private method to resort the tree.</td>
89 </tr><tr>
90 <td><a href="#HgGpgSignaturesDialog.__showError">__showError</a></td>
91 <td>Private slot to show some error.</td>
92 </tr><tr>
93 <td><a href="#HgGpgSignaturesDialog.closeEvent">closeEvent</a></td>
94 <td>Protected slot implementing a close event handler.</td>
95 </tr><tr>
96 <td><a href="#HgGpgSignaturesDialog.keyPressEvent">keyPressEvent</a></td>
97 <td>Protected slot to handle a key press event.</td>
98 </tr><tr>
99 <td><a href="#HgGpgSignaturesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
100 <td>Private slot called by a button of the button box clicked.</td>
101 </tr><tr>
102 <td><a href="#HgGpgSignaturesDialog.on_categoryCombo_activated">on_categoryCombo_activated</a></td>
103 <td>Private slot called, when a new filter category is selected.</td>
104 </tr><tr>
105 <td><a href="#HgGpgSignaturesDialog.on_input_returnPressed">on_input_returnPressed</a></td>
106 <td>Private slot to handle the press of the return key in the input field.</td>
107 </tr><tr>
108 <td><a href="#HgGpgSignaturesDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
109 <td>Private slot to handle the password checkbox toggled.</td>
110 </tr><tr>
111 <td><a href="#HgGpgSignaturesDialog.on_rxEdit_textChanged">on_rxEdit_textChanged</a></td>
112 <td>Private slot called, when a filter expression is entered.</td>
113 </tr><tr>
114 <td><a href="#HgGpgSignaturesDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
115 <td>Private slot to send the input to the subversion process.</td>
116 </tr><tr>
117 <td><a href="#HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged">on_signaturesList_itemSelectionChanged</a></td>
118 <td>Private slot handling changes of the selection.</td>
119 </tr><tr>
120 <td><a href="#HgGpgSignaturesDialog.on_verifyButton_clicked">on_verifyButton_clicked</a></td>
121 <td>Private slot to verify the signatures of the selected revision.</td>
122 </tr><tr>
123 <td><a href="#HgGpgSignaturesDialog.start">start</a></td>
124 <td>Public slot to start the list command.</td>
125 </tr>
126 </table>
127 <h3>Static Methods</h3>
128 <table>
129 <tr><td>None</td></tr>
130 </table>
131 <a NAME="HgGpgSignaturesDialog.__init__" ID="HgGpgSignaturesDialog.__init__"></a>
132 <h4>HgGpgSignaturesDialog (Constructor)</h4>
133 <b>HgGpgSignaturesDialog</b>(<i>vcs, parent=None</i>)
134 <p>
135 Constructor
136 </p><dl>
137 <dt><i>vcs</i></dt>
138 <dd>
139 reference to the vcs object
140 </dd><dt><i>parent</i></dt>
141 <dd>
142 reference to the parent widget (QWidget)
143 </dd>
144 </dl><a NAME="HgGpgSignaturesDialog.__filterSignatures" ID="HgGpgSignaturesDialog.__filterSignatures"></a>
145 <h4>HgGpgSignaturesDialog.__filterSignatures</h4>
146 <b>__filterSignatures</b>(<i></i>)
147 <p>
148 Private method to filter the log entries.
149 </p><a NAME="HgGpgSignaturesDialog.__finish" ID="HgGpgSignaturesDialog.__finish"></a>
150 <h4>HgGpgSignaturesDialog.__finish</h4>
151 <b>__finish</b>(<i></i>)
152 <p>
153 Private slot called when the process finished or the user pressed
154 the button.
155 </p><a NAME="HgGpgSignaturesDialog.__generateItem" ID="HgGpgSignaturesDialog.__generateItem"></a>
156 <h4>HgGpgSignaturesDialog.__generateItem</h4>
157 <b>__generateItem</b>(<i>revision, changeset, signature</i>)
158 <p>
159 Private method to generate a patch item in the list of patches.
160 </p><dl>
161 <dt><i>revision</i></dt>
162 <dd>
163 revision number (string)
164 </dd><dt><i>changeset</i></dt>
165 <dd>
166 changeset of the bookmark (string)
167 </dd><dt><i>signature</i></dt>
168 <dd>
169 signature of the changeset (string)
170 </dd>
171 </dl><a NAME="HgGpgSignaturesDialog.__procFinished" ID="HgGpgSignaturesDialog.__procFinished"></a>
172 <h4>HgGpgSignaturesDialog.__procFinished</h4>
173 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
174 <p>
175 Private slot connected to the finished signal.
176 </p><dl>
177 <dt><i>exitCode</i></dt>
178 <dd>
179 exit code of the process (integer)
180 </dd><dt><i>exitStatus</i></dt>
181 <dd>
182 exit status of the process (QProcess.ExitStatus)
183 </dd>
184 </dl><a NAME="HgGpgSignaturesDialog.__processOutputLine" ID="HgGpgSignaturesDialog.__processOutputLine"></a>
185 <h4>HgGpgSignaturesDialog.__processOutputLine</h4>
186 <b>__processOutputLine</b>(<i>line</i>)
187 <p>
188 Private method to process the lines of output.
189 </p><dl>
190 <dt><i>line</i></dt>
191 <dd>
192 output line to be processed (string)
193 </dd>
194 </dl><a NAME="HgGpgSignaturesDialog.__readStderr" ID="HgGpgSignaturesDialog.__readStderr"></a>
195 <h4>HgGpgSignaturesDialog.__readStderr</h4>
196 <b>__readStderr</b>(<i></i>)
197 <p>
198 Private slot to handle the readyReadStderr signal.
199 </p><p>
200 It reads the error output of the process and inserts it into the
201 error pane.
202 </p><a NAME="HgGpgSignaturesDialog.__readStdout" ID="HgGpgSignaturesDialog.__readStdout"></a>
203 <h4>HgGpgSignaturesDialog.__readStdout</h4>
204 <b>__readStdout</b>(<i></i>)
205 <p>
206 Private slot to handle the readyReadStdout signal.
207 </p><p>
208 It reads the output of the process, formats it and inserts it into
209 the contents pane.
210 </p><a NAME="HgGpgSignaturesDialog.__resizeColumns" ID="HgGpgSignaturesDialog.__resizeColumns"></a>
211 <h4>HgGpgSignaturesDialog.__resizeColumns</h4>
212 <b>__resizeColumns</b>(<i></i>)
213 <p>
214 Private method to resize the list columns.
215 </p><a NAME="HgGpgSignaturesDialog.__resort" ID="HgGpgSignaturesDialog.__resort"></a>
216 <h4>HgGpgSignaturesDialog.__resort</h4>
217 <b>__resort</b>(<i></i>)
218 <p>
219 Private method to resort the tree.
220 </p><a NAME="HgGpgSignaturesDialog.__showError" ID="HgGpgSignaturesDialog.__showError"></a>
221 <h4>HgGpgSignaturesDialog.__showError</h4>
222 <b>__showError</b>(<i>out</i>)
223 <p>
224 Private slot to show some error.
225 </p><dl>
226 <dt><i>out</i></dt>
227 <dd>
228 error to be shown (string)
229 </dd>
230 </dl><a NAME="HgGpgSignaturesDialog.closeEvent" ID="HgGpgSignaturesDialog.closeEvent"></a>
231 <h4>HgGpgSignaturesDialog.closeEvent</h4>
232 <b>closeEvent</b>(<i>e</i>)
233 <p>
234 Protected slot implementing a close event handler.
235 </p><dl>
236 <dt><i>e</i></dt>
237 <dd>
238 close event (QCloseEvent)
239 </dd>
240 </dl><a NAME="HgGpgSignaturesDialog.keyPressEvent" ID="HgGpgSignaturesDialog.keyPressEvent"></a>
241 <h4>HgGpgSignaturesDialog.keyPressEvent</h4>
242 <b>keyPressEvent</b>(<i>evt</i>)
243 <p>
244 Protected slot to handle a key press event.
245 </p><dl>
246 <dt><i>evt</i></dt>
247 <dd>
248 the key press event (QKeyEvent)
249 </dd>
250 </dl><a NAME="HgGpgSignaturesDialog.on_buttonBox_clicked" ID="HgGpgSignaturesDialog.on_buttonBox_clicked"></a>
251 <h4>HgGpgSignaturesDialog.on_buttonBox_clicked</h4>
252 <b>on_buttonBox_clicked</b>(<i>button</i>)
253 <p>
254 Private slot called by a button of the button box clicked.
255 </p><dl>
256 <dt><i>button</i></dt>
257 <dd>
258 button that was clicked (QAbstractButton)
259 </dd>
260 </dl><a NAME="HgGpgSignaturesDialog.on_categoryCombo_activated" ID="HgGpgSignaturesDialog.on_categoryCombo_activated"></a>
261 <h4>HgGpgSignaturesDialog.on_categoryCombo_activated</h4>
262 <b>on_categoryCombo_activated</b>(<i>txt</i>)
263 <p>
264 Private slot called, when a new filter category is selected.
265 </p><dl>
266 <dt><i>txt</i></dt>
267 <dd>
268 text of the selected category (string)
269 </dd>
270 </dl><a NAME="HgGpgSignaturesDialog.on_input_returnPressed" ID="HgGpgSignaturesDialog.on_input_returnPressed"></a>
271 <h4>HgGpgSignaturesDialog.on_input_returnPressed</h4>
272 <b>on_input_returnPressed</b>(<i></i>)
273 <p>
274 Private slot to handle the press of the return key in the input field.
275 </p><a NAME="HgGpgSignaturesDialog.on_passwordCheckBox_toggled" ID="HgGpgSignaturesDialog.on_passwordCheckBox_toggled"></a>
276 <h4>HgGpgSignaturesDialog.on_passwordCheckBox_toggled</h4>
277 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
278 <p>
279 Private slot to handle the password checkbox toggled.
280 </p><dl>
281 <dt><i>isOn</i></dt>
282 <dd>
283 flag indicating the status of the check box (boolean)
284 </dd>
285 </dl><a NAME="HgGpgSignaturesDialog.on_rxEdit_textChanged" ID="HgGpgSignaturesDialog.on_rxEdit_textChanged"></a>
286 <h4>HgGpgSignaturesDialog.on_rxEdit_textChanged</h4>
287 <b>on_rxEdit_textChanged</b>(<i>txt</i>)
288 <p>
289 Private slot called, when a filter expression is entered.
290 </p><dl>
291 <dt><i>txt</i></dt>
292 <dd>
293 filter expression (string)
294 </dd>
295 </dl><a NAME="HgGpgSignaturesDialog.on_sendButton_clicked" ID="HgGpgSignaturesDialog.on_sendButton_clicked"></a>
296 <h4>HgGpgSignaturesDialog.on_sendButton_clicked</h4>
297 <b>on_sendButton_clicked</b>(<i></i>)
298 <p>
299 Private slot to send the input to the subversion process.
300 </p><a NAME="HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged" ID="HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged"></a>
301 <h4>HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged</h4>
302 <b>on_signaturesList_itemSelectionChanged</b>(<i></i>)
303 <p>
304 Private slot handling changes of the selection.
305 </p><a NAME="HgGpgSignaturesDialog.on_verifyButton_clicked" ID="HgGpgSignaturesDialog.on_verifyButton_clicked"></a>
306 <h4>HgGpgSignaturesDialog.on_verifyButton_clicked</h4>
307 <b>on_verifyButton_clicked</b>(<i></i>)
308 <p>
309 Private slot to verify the signatures of the selected revision.
310 </p><a NAME="HgGpgSignaturesDialog.start" ID="HgGpgSignaturesDialog.start"></a>
311 <h4>HgGpgSignaturesDialog.start</h4>
312 <b>start</b>(<i>path</i>)
313 <p>
314 Public slot to start the list command.
315 </p><dl>
316 <dt><i>path</i></dt>
317 <dd>
318 name of directory (string)
319 </dd>
320 </dl>
321 <div align="right"><a href="#top">Up</a></div>
322 <hr />
323 </body></html>

eric ide

mercurial