|
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.vcsMercurial.GpgExtension.HgGpgSignaturesDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog showing signed changesets. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#HgGpgSignaturesDialog">HgGpgSignaturesDialog</a></td> |
|
35 <td>Class implementing a dialog showing signed changesets.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="HgGpgSignaturesDialog" ID="HgGpgSignaturesDialog"></a> |
|
44 <h2>HgGpgSignaturesDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog showing signed changesets. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgGpgSignaturesDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#HgGpgSignaturesDialog.__init__">HgGpgSignaturesDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#HgGpgSignaturesDialog.__filterSignatures">__filterSignatures</a></td> |
|
61 <td>Private method to filter the log entries.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgGpgSignaturesDialog.__finish">__finish</a></td> |
|
64 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgGpgSignaturesDialog.__generateItem">__generateItem</a></td> |
|
67 <td>Private method to generate a patch item in the list of patches.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgGpgSignaturesDialog.__procFinished">__procFinished</a></td> |
|
70 <td>Private slot connected to the finished signal.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgGpgSignaturesDialog.__readStderr">__readStderr</a></td> |
|
73 <td>Private slot to handle the readyReadStderr signal.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HgGpgSignaturesDialog.__readStdout">__readStdout</a></td> |
|
76 <td>Private slot to handle the readyReadStdout signal.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#HgGpgSignaturesDialog.__resizeColumns">__resizeColumns</a></td> |
|
79 <td>Private method to resize the list columns.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#HgGpgSignaturesDialog.__resort">__resort</a></td> |
|
82 <td>Private method to resort the tree.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#HgGpgSignaturesDialog.closeEvent">closeEvent</a></td> |
|
85 <td>Private slot implementing a close event handler.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#HgGpgSignaturesDialog.keyPressEvent">keyPressEvent</a></td> |
|
88 <td>Protected slot to handle a key press event.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#HgGpgSignaturesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
91 <td>Private slot called by a button of the button box clicked.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#HgGpgSignaturesDialog.on_categoryCombo_activated">on_categoryCombo_activated</a></td> |
|
94 <td>Private slot called, when a new filter category is selected.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#HgGpgSignaturesDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
97 <td>Private slot to handle the press of the return key in the input field.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#HgGpgSignaturesDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
100 <td>Private slot to handle the password checkbox toggled.</td> |
|
101 </tr><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><tr> |
|
105 <td><a href="#HgGpgSignaturesDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
106 <td>Private slot to send the input to the subversion process.</td> |
|
107 </tr><tr> |
|
108 <td><a href="#HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged">on_signaturesList_itemSelectionChanged</a></td> |
|
109 <td>Private slot handling changes of the selection.</td> |
|
110 </tr><tr> |
|
111 <td><a href="#HgGpgSignaturesDialog.on_verifyButton_clicked">on_verifyButton_clicked</a></td> |
|
112 <td>Private slot to verify the signatures of the selected revision.</td> |
|
113 </tr><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 <a NAME="HgGpgSignaturesDialog.__init__" ID="HgGpgSignaturesDialog.__init__"></a> |
|
119 <h4>HgGpgSignaturesDialog (Constructor)</h4> |
|
120 <b>HgGpgSignaturesDialog</b>(<i>vcs, parent=None</i>) |
|
121 <p> |
|
122 Constructor |
|
123 </p><dl> |
|
124 <dt><i>vcs</i></dt> |
|
125 <dd> |
|
126 reference to the vcs object |
|
127 </dd><dt><i>parent</i></dt> |
|
128 <dd> |
|
129 reference to the parent widget (QWidget) |
|
130 </dd> |
|
131 </dl><a NAME="HgGpgSignaturesDialog.__filterSignatures" ID="HgGpgSignaturesDialog.__filterSignatures"></a> |
|
132 <h4>HgGpgSignaturesDialog.__filterSignatures</h4> |
|
133 <b>__filterSignatures</b>(<i></i>) |
|
134 <p> |
|
135 Private method to filter the log entries. |
|
136 </p><a NAME="HgGpgSignaturesDialog.__finish" ID="HgGpgSignaturesDialog.__finish"></a> |
|
137 <h4>HgGpgSignaturesDialog.__finish</h4> |
|
138 <b>__finish</b>(<i></i>) |
|
139 <p> |
|
140 Private slot called when the process finished or the user pressed the button. |
|
141 </p><a NAME="HgGpgSignaturesDialog.__generateItem" ID="HgGpgSignaturesDialog.__generateItem"></a> |
|
142 <h4>HgGpgSignaturesDialog.__generateItem</h4> |
|
143 <b>__generateItem</b>(<i>revision, changeset, signature</i>) |
|
144 <p> |
|
145 Private method to generate a patch item in the list of patches. |
|
146 </p><dl> |
|
147 <dt><i>revision</i></dt> |
|
148 <dd> |
|
149 revision number (string) |
|
150 </dd><dt><i>changeset</i></dt> |
|
151 <dd> |
|
152 changeset of the bookmark (string) |
|
153 </dd><dt><i>signature</i></dt> |
|
154 <dd> |
|
155 signature of the changeset (string) |
|
156 </dd> |
|
157 </dl><a NAME="HgGpgSignaturesDialog.__procFinished" ID="HgGpgSignaturesDialog.__procFinished"></a> |
|
158 <h4>HgGpgSignaturesDialog.__procFinished</h4> |
|
159 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
160 <p> |
|
161 Private slot connected to the finished signal. |
|
162 </p><dl> |
|
163 <dt><i>exitCode</i></dt> |
|
164 <dd> |
|
165 exit code of the process (integer) |
|
166 </dd><dt><i>exitStatus</i></dt> |
|
167 <dd> |
|
168 exit status of the process (QProcess.ExitStatus) |
|
169 </dd> |
|
170 </dl><a NAME="HgGpgSignaturesDialog.__readStderr" ID="HgGpgSignaturesDialog.__readStderr"></a> |
|
171 <h4>HgGpgSignaturesDialog.__readStderr</h4> |
|
172 <b>__readStderr</b>(<i></i>) |
|
173 <p> |
|
174 Private slot to handle the readyReadStderr signal. |
|
175 </p><p> |
|
176 It reads the error output of the process and inserts it into the |
|
177 error pane. |
|
178 </p><a NAME="HgGpgSignaturesDialog.__readStdout" ID="HgGpgSignaturesDialog.__readStdout"></a> |
|
179 <h4>HgGpgSignaturesDialog.__readStdout</h4> |
|
180 <b>__readStdout</b>(<i></i>) |
|
181 <p> |
|
182 Private slot to handle the readyReadStdout signal. |
|
183 </p><p> |
|
184 It reads the output of the process, formats it and inserts it into |
|
185 the contents pane. |
|
186 </p><a NAME="HgGpgSignaturesDialog.__resizeColumns" ID="HgGpgSignaturesDialog.__resizeColumns"></a> |
|
187 <h4>HgGpgSignaturesDialog.__resizeColumns</h4> |
|
188 <b>__resizeColumns</b>(<i></i>) |
|
189 <p> |
|
190 Private method to resize the list columns. |
|
191 </p><a NAME="HgGpgSignaturesDialog.__resort" ID="HgGpgSignaturesDialog.__resort"></a> |
|
192 <h4>HgGpgSignaturesDialog.__resort</h4> |
|
193 <b>__resort</b>(<i></i>) |
|
194 <p> |
|
195 Private method to resort the tree. |
|
196 </p><a NAME="HgGpgSignaturesDialog.closeEvent" ID="HgGpgSignaturesDialog.closeEvent"></a> |
|
197 <h4>HgGpgSignaturesDialog.closeEvent</h4> |
|
198 <b>closeEvent</b>(<i>e</i>) |
|
199 <p> |
|
200 Private slot implementing a close event handler. |
|
201 </p><dl> |
|
202 <dt><i>e</i></dt> |
|
203 <dd> |
|
204 close event (QCloseEvent) |
|
205 </dd> |
|
206 </dl><a NAME="HgGpgSignaturesDialog.keyPressEvent" ID="HgGpgSignaturesDialog.keyPressEvent"></a> |
|
207 <h4>HgGpgSignaturesDialog.keyPressEvent</h4> |
|
208 <b>keyPressEvent</b>(<i>evt</i>) |
|
209 <p> |
|
210 Protected slot to handle a key press event. |
|
211 </p><dl> |
|
212 <dt><i>evt</i></dt> |
|
213 <dd> |
|
214 the key press event (QKeyEvent) |
|
215 </dd> |
|
216 </dl><a NAME="HgGpgSignaturesDialog.on_buttonBox_clicked" ID="HgGpgSignaturesDialog.on_buttonBox_clicked"></a> |
|
217 <h4>HgGpgSignaturesDialog.on_buttonBox_clicked</h4> |
|
218 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
219 <p> |
|
220 Private slot called by a button of the button box clicked. |
|
221 </p><dl> |
|
222 <dt><i>button</i></dt> |
|
223 <dd> |
|
224 button that was clicked (QAbstractButton) |
|
225 </dd> |
|
226 </dl><a NAME="HgGpgSignaturesDialog.on_categoryCombo_activated" ID="HgGpgSignaturesDialog.on_categoryCombo_activated"></a> |
|
227 <h4>HgGpgSignaturesDialog.on_categoryCombo_activated</h4> |
|
228 <b>on_categoryCombo_activated</b>(<i>txt</i>) |
|
229 <p> |
|
230 Private slot called, when a new filter category is selected. |
|
231 </p><dl> |
|
232 <dt><i>txt</i></dt> |
|
233 <dd> |
|
234 text of the selected category (string) |
|
235 </dd> |
|
236 </dl><a NAME="HgGpgSignaturesDialog.on_input_returnPressed" ID="HgGpgSignaturesDialog.on_input_returnPressed"></a> |
|
237 <h4>HgGpgSignaturesDialog.on_input_returnPressed</h4> |
|
238 <b>on_input_returnPressed</b>(<i></i>) |
|
239 <p> |
|
240 Private slot to handle the press of the return key in the input field. |
|
241 </p><a NAME="HgGpgSignaturesDialog.on_passwordCheckBox_toggled" ID="HgGpgSignaturesDialog.on_passwordCheckBox_toggled"></a> |
|
242 <h4>HgGpgSignaturesDialog.on_passwordCheckBox_toggled</h4> |
|
243 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
244 <p> |
|
245 Private slot to handle the password checkbox toggled. |
|
246 </p><dl> |
|
247 <dt><i>isOn</i></dt> |
|
248 <dd> |
|
249 flag indicating the status of the check box (boolean) |
|
250 </dd> |
|
251 </dl><a NAME="HgGpgSignaturesDialog.on_rxEdit_textChanged" ID="HgGpgSignaturesDialog.on_rxEdit_textChanged"></a> |
|
252 <h4>HgGpgSignaturesDialog.on_rxEdit_textChanged</h4> |
|
253 <b>on_rxEdit_textChanged</b>(<i>txt</i>) |
|
254 <p> |
|
255 Private slot called, when a filter expression is entered. |
|
256 </p><dl> |
|
257 <dt><i>txt</i></dt> |
|
258 <dd> |
|
259 filter expression (string) |
|
260 </dd> |
|
261 </dl><a NAME="HgGpgSignaturesDialog.on_sendButton_clicked" ID="HgGpgSignaturesDialog.on_sendButton_clicked"></a> |
|
262 <h4>HgGpgSignaturesDialog.on_sendButton_clicked</h4> |
|
263 <b>on_sendButton_clicked</b>(<i></i>) |
|
264 <p> |
|
265 Private slot to send the input to the subversion process. |
|
266 </p><a NAME="HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged" ID="HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged"></a> |
|
267 <h4>HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged</h4> |
|
268 <b>on_signaturesList_itemSelectionChanged</b>(<i></i>) |
|
269 <p> |
|
270 Private slot handling changes of the selection. |
|
271 </p><a NAME="HgGpgSignaturesDialog.on_verifyButton_clicked" ID="HgGpgSignaturesDialog.on_verifyButton_clicked"></a> |
|
272 <h4>HgGpgSignaturesDialog.on_verifyButton_clicked</h4> |
|
273 <b>on_verifyButton_clicked</b>(<i></i>) |
|
274 <p> |
|
275 Private slot to verify the signatures of the selected revision. |
|
276 </p><a NAME="HgGpgSignaturesDialog.start" ID="HgGpgSignaturesDialog.start"></a> |
|
277 <h4>HgGpgSignaturesDialog.start</h4> |
|
278 <b>start</b>(<i>path</i>) |
|
279 <p> |
|
280 Public slot to start the list command. |
|
281 </p><dl> |
|
282 <dt><i>path</i></dt> |
|
283 <dd> |
|
284 name of directory (string) |
|
285 </dd> |
|
286 </dl> |
|
287 <div align="right"><a href="#top">Up</a></div> |
|
288 <hr /> |
|
289 </body></html> |