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