|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog showing signed changesets. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#HgGpgSignaturesDialog">HgGpgSignaturesDialog</a></td> |
|
39 <td>Class implementing a dialog showing signed changesets.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="HgGpgSignaturesDialog" ID="HgGpgSignaturesDialog"></a> |
|
50 <h2>HgGpgSignaturesDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog showing signed changesets. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_HgGpgSignaturesDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#HgGpgSignaturesDialog.__init__">HgGpgSignaturesDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgGpgSignaturesDialog.__filterSignatures">__filterSignatures</a></td> |
|
77 <td>Private method to filter the log entries.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgGpgSignaturesDialog.__finish">__finish</a></td> |
|
81 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgGpgSignaturesDialog.__generateItem">__generateItem</a></td> |
|
85 <td>Private method to generate a patch item in the list of patches.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#HgGpgSignaturesDialog.__processOutputLine">__processOutputLine</a></td> |
|
89 <td>Private method to process the lines of output.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#HgGpgSignaturesDialog.__resizeColumns">__resizeColumns</a></td> |
|
93 <td>Private method to resize the list columns.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#HgGpgSignaturesDialog.__resort">__resort</a></td> |
|
97 <td>Private method to resort the tree.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#HgGpgSignaturesDialog.__showError">__showError</a></td> |
|
101 <td>Private slot to show some error.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#HgGpgSignaturesDialog.closeEvent">closeEvent</a></td> |
|
105 <td>Protected slot implementing a close event handler.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#HgGpgSignaturesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
109 <td>Private slot called by a button of the button box clicked.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#HgGpgSignaturesDialog.on_categoryCombo_activated">on_categoryCombo_activated</a></td> |
|
113 <td>Private slot called, when a new filter category is selected.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#HgGpgSignaturesDialog.on_rxEdit_textChanged">on_rxEdit_textChanged</a></td> |
|
117 <td>Private slot called, when a filter expression is entered.</td> |
|
118 </tr> |
|
119 <tr> |
|
120 <td><a href="#HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged">on_signaturesList_itemSelectionChanged</a></td> |
|
121 <td>Private slot handling changes of the selection.</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td><a href="#HgGpgSignaturesDialog.on_verifyButton_clicked">on_verifyButton_clicked</a></td> |
|
125 <td>Private slot to verify the signatures of the selected revision.</td> |
|
126 </tr> |
|
127 <tr> |
|
128 <td><a href="#HgGpgSignaturesDialog.start">start</a></td> |
|
129 <td>Public slot to start the list command.</td> |
|
130 </tr> |
|
131 </table> |
|
132 <h3>Static Methods</h3> |
|
133 |
|
134 <table> |
|
135 <tr><td>None</td></tr> |
|
136 </table> |
|
137 |
|
138 <a NAME="HgGpgSignaturesDialog.__init__" ID="HgGpgSignaturesDialog.__init__"></a> |
|
139 <h4>HgGpgSignaturesDialog (Constructor)</h4> |
|
140 <b>HgGpgSignaturesDialog</b>(<i>vcs, parent=None</i>) |
|
141 |
|
142 <p> |
|
143 Constructor |
|
144 </p> |
|
145 <dl> |
|
146 |
|
147 <dt><i>vcs</i></dt> |
|
148 <dd> |
|
149 reference to the vcs object |
|
150 </dd> |
|
151 <dt><i>parent</i></dt> |
|
152 <dd> |
|
153 reference to the parent widget (QWidget) |
|
154 </dd> |
|
155 </dl> |
|
156 <a NAME="HgGpgSignaturesDialog.__filterSignatures" ID="HgGpgSignaturesDialog.__filterSignatures"></a> |
|
157 <h4>HgGpgSignaturesDialog.__filterSignatures</h4> |
|
158 <b>__filterSignatures</b>(<i></i>) |
|
159 |
|
160 <p> |
|
161 Private method to filter the log entries. |
|
162 </p> |
|
163 <a NAME="HgGpgSignaturesDialog.__finish" ID="HgGpgSignaturesDialog.__finish"></a> |
|
164 <h4>HgGpgSignaturesDialog.__finish</h4> |
|
165 <b>__finish</b>(<i></i>) |
|
166 |
|
167 <p> |
|
168 Private slot called when the process finished or the user pressed |
|
169 the button. |
|
170 </p> |
|
171 <a NAME="HgGpgSignaturesDialog.__generateItem" ID="HgGpgSignaturesDialog.__generateItem"></a> |
|
172 <h4>HgGpgSignaturesDialog.__generateItem</h4> |
|
173 <b>__generateItem</b>(<i>revision, changeset, signature</i>) |
|
174 |
|
175 <p> |
|
176 Private method to generate a patch item in the list of patches. |
|
177 </p> |
|
178 <dl> |
|
179 |
|
180 <dt><i>revision</i></dt> |
|
181 <dd> |
|
182 revision number (string) |
|
183 </dd> |
|
184 <dt><i>changeset</i></dt> |
|
185 <dd> |
|
186 changeset of the bookmark (string) |
|
187 </dd> |
|
188 <dt><i>signature</i></dt> |
|
189 <dd> |
|
190 signature of the changeset (string) |
|
191 </dd> |
|
192 </dl> |
|
193 <a NAME="HgGpgSignaturesDialog.__processOutputLine" ID="HgGpgSignaturesDialog.__processOutputLine"></a> |
|
194 <h4>HgGpgSignaturesDialog.__processOutputLine</h4> |
|
195 <b>__processOutputLine</b>(<i>line</i>) |
|
196 |
|
197 <p> |
|
198 Private method to process the lines of output. |
|
199 </p> |
|
200 <dl> |
|
201 |
|
202 <dt><i>line</i></dt> |
|
203 <dd> |
|
204 output line to be processed (string) |
|
205 </dd> |
|
206 </dl> |
|
207 <a NAME="HgGpgSignaturesDialog.__resizeColumns" ID="HgGpgSignaturesDialog.__resizeColumns"></a> |
|
208 <h4>HgGpgSignaturesDialog.__resizeColumns</h4> |
|
209 <b>__resizeColumns</b>(<i></i>) |
|
210 |
|
211 <p> |
|
212 Private method to resize the list columns. |
|
213 </p> |
|
214 <a NAME="HgGpgSignaturesDialog.__resort" ID="HgGpgSignaturesDialog.__resort"></a> |
|
215 <h4>HgGpgSignaturesDialog.__resort</h4> |
|
216 <b>__resort</b>(<i></i>) |
|
217 |
|
218 <p> |
|
219 Private method to resort the tree. |
|
220 </p> |
|
221 <a NAME="HgGpgSignaturesDialog.__showError" ID="HgGpgSignaturesDialog.__showError"></a> |
|
222 <h4>HgGpgSignaturesDialog.__showError</h4> |
|
223 <b>__showError</b>(<i>out</i>) |
|
224 |
|
225 <p> |
|
226 Private slot to show some error. |
|
227 </p> |
|
228 <dl> |
|
229 |
|
230 <dt><i>out</i></dt> |
|
231 <dd> |
|
232 error to be shown (string) |
|
233 </dd> |
|
234 </dl> |
|
235 <a NAME="HgGpgSignaturesDialog.closeEvent" ID="HgGpgSignaturesDialog.closeEvent"></a> |
|
236 <h4>HgGpgSignaturesDialog.closeEvent</h4> |
|
237 <b>closeEvent</b>(<i>e</i>) |
|
238 |
|
239 <p> |
|
240 Protected slot implementing a close event handler. |
|
241 </p> |
|
242 <dl> |
|
243 |
|
244 <dt><i>e</i></dt> |
|
245 <dd> |
|
246 close event (QCloseEvent) |
|
247 </dd> |
|
248 </dl> |
|
249 <a NAME="HgGpgSignaturesDialog.on_buttonBox_clicked" ID="HgGpgSignaturesDialog.on_buttonBox_clicked"></a> |
|
250 <h4>HgGpgSignaturesDialog.on_buttonBox_clicked</h4> |
|
251 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
252 |
|
253 <p> |
|
254 Private slot called by a button of the button box clicked. |
|
255 </p> |
|
256 <dl> |
|
257 |
|
258 <dt><i>button</i></dt> |
|
259 <dd> |
|
260 button that was clicked (QAbstractButton) |
|
261 </dd> |
|
262 </dl> |
|
263 <a NAME="HgGpgSignaturesDialog.on_categoryCombo_activated" ID="HgGpgSignaturesDialog.on_categoryCombo_activated"></a> |
|
264 <h4>HgGpgSignaturesDialog.on_categoryCombo_activated</h4> |
|
265 <b>on_categoryCombo_activated</b>(<i>index</i>) |
|
266 |
|
267 <p> |
|
268 Private slot called, when a new filter category is selected. |
|
269 </p> |
|
270 <dl> |
|
271 |
|
272 <dt><i>index</i> (int)</dt> |
|
273 <dd> |
|
274 index of the selected entry |
|
275 </dd> |
|
276 </dl> |
|
277 <a NAME="HgGpgSignaturesDialog.on_rxEdit_textChanged" ID="HgGpgSignaturesDialog.on_rxEdit_textChanged"></a> |
|
278 <h4>HgGpgSignaturesDialog.on_rxEdit_textChanged</h4> |
|
279 <b>on_rxEdit_textChanged</b>(<i>txt</i>) |
|
280 |
|
281 <p> |
|
282 Private slot called, when a filter expression is entered. |
|
283 </p> |
|
284 <dl> |
|
285 |
|
286 <dt><i>txt</i></dt> |
|
287 <dd> |
|
288 filter expression (string) |
|
289 </dd> |
|
290 </dl> |
|
291 <a NAME="HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged" ID="HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged"></a> |
|
292 <h4>HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged</h4> |
|
293 <b>on_signaturesList_itemSelectionChanged</b>(<i></i>) |
|
294 |
|
295 <p> |
|
296 Private slot handling changes of the selection. |
|
297 </p> |
|
298 <a NAME="HgGpgSignaturesDialog.on_verifyButton_clicked" ID="HgGpgSignaturesDialog.on_verifyButton_clicked"></a> |
|
299 <h4>HgGpgSignaturesDialog.on_verifyButton_clicked</h4> |
|
300 <b>on_verifyButton_clicked</b>(<i></i>) |
|
301 |
|
302 <p> |
|
303 Private slot to verify the signatures of the selected revision. |
|
304 </p> |
|
305 <a NAME="HgGpgSignaturesDialog.start" ID="HgGpgSignaturesDialog.start"></a> |
|
306 <h4>HgGpgSignaturesDialog.start</h4> |
|
307 <b>start</b>(<i></i>) |
|
308 |
|
309 <p> |
|
310 Public slot to start the list command. |
|
311 </p> |
|
312 <div align="right"><a href="#top">Up</a></div> |
|
313 <hr /> |
|
314 </body></html> |