eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignDialog</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.HgGpgSignDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter data for signing a revision.
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="#HgGpgSignDialog">HgGpgSignDialog</a></td>
39 <td>Class implementing a dialog to enter data for signing a revision.</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="HgGpgSignDialog" ID="HgGpgSignDialog"></a>
50 <h2>HgGpgSignDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter data for signing a revision.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_HgGpgSignDialog
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="#HgGpgSignDialog.__init__">HgGpgSignDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgGpgSignDialog.__updateOK">__updateOK</a></td>
77 <td>Private slot to update the OK button.</td>
78 </tr>
79 <tr>
80 <td><a href="#HgGpgSignDialog.getData">getData</a></td>
81 <td>Public method to retrieve the entered data.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgGpgSignDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td>
85 <td>Private slot to handle changes of the Bookmark select button.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgGpgSignDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
89 <td>Private slot to handle changes of the Bookmark combo.</td>
90 </tr>
91 <tr>
92 <td><a href="#HgGpgSignDialog.on_branchButton_toggled">on_branchButton_toggled</a></td>
93 <td>Private slot to handle changes of the Branch select button.</td>
94 </tr>
95 <tr>
96 <td><a href="#HgGpgSignDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
97 <td>Private slot to handle changes of the Branch combo.</td>
98 </tr>
99 <tr>
100 <td><a href="#HgGpgSignDialog.on_idButton_toggled">on_idButton_toggled</a></td>
101 <td>Private slot to handle changes of the ID select button.</td>
102 </tr>
103 <tr>
104 <td><a href="#HgGpgSignDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
105 <td>Private slot to handle changes of the ID edit.</td>
106 </tr>
107 <tr>
108 <td><a href="#HgGpgSignDialog.on_tagButton_toggled">on_tagButton_toggled</a></td>
109 <td>Private slot to handle changes of the Tag select button.</td>
110 </tr>
111 <tr>
112 <td><a href="#HgGpgSignDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
113 <td>Private slot to handle changes of the Tag combo.</td>
114 </tr>
115 </table>
116 <h3>Static Methods</h3>
117
118 <table>
119 <tr><td>None</td></tr>
120 </table>
121
122 <a NAME="HgGpgSignDialog.__init__" ID="HgGpgSignDialog.__init__"></a>
123 <h4>HgGpgSignDialog (Constructor)</h4>
124 <b>HgGpgSignDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)
125
126 <p>
127 Constructor
128 </p>
129 <dl>
130
131 <dt><i>tagsList</i></dt>
132 <dd>
133 list of tags (list of strings)
134 </dd>
135 <dt><i>branchesList</i></dt>
136 <dd>
137 list of branches (list of strings)
138 </dd>
139 <dt><i>bookmarksList</i></dt>
140 <dd>
141 list of bookmarks (list of strings)
142 </dd>
143 <dt><i>parent</i></dt>
144 <dd>
145 reference to the parent widget (QWidget)
146 </dd>
147 </dl>
148 <a NAME="HgGpgSignDialog.__updateOK" ID="HgGpgSignDialog.__updateOK"></a>
149 <h4>HgGpgSignDialog.__updateOK</h4>
150 <b>__updateOK</b>(<i></i>)
151
152 <p>
153 Private slot to update the OK button.
154 </p>
155 <a NAME="HgGpgSignDialog.getData" ID="HgGpgSignDialog.getData"></a>
156 <h4>HgGpgSignDialog.getData</h4>
157 <b>getData</b>(<i></i>)
158
159 <p>
160 Public method to retrieve the entered data.
161 </p>
162 <dl>
163 <dt>Return:</dt>
164 <dd>
165 tuple giving the revision, a flag indicating not to commit
166 the signature, a commit message, an ID of the key to be used,
167 a flag indicating a local signature and a flag indicating a forced
168 signature (string, boolean, string, string, boolean, boolean)
169 </dd>
170 </dl>
171 <a NAME="HgGpgSignDialog.on_bookmarkButton_toggled" ID="HgGpgSignDialog.on_bookmarkButton_toggled"></a>
172 <h4>HgGpgSignDialog.on_bookmarkButton_toggled</h4>
173 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
174
175 <p>
176 Private slot to handle changes of the Bookmark select button.
177 </p>
178 <dl>
179
180 <dt><i>checked</i></dt>
181 <dd>
182 state of the button (boolean)
183 </dd>
184 </dl>
185 <a NAME="HgGpgSignDialog.on_bookmarkCombo_editTextChanged" ID="HgGpgSignDialog.on_bookmarkCombo_editTextChanged"></a>
186 <h4>HgGpgSignDialog.on_bookmarkCombo_editTextChanged</h4>
187 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
188
189 <p>
190 Private slot to handle changes of the Bookmark combo.
191 </p>
192 <dl>
193
194 <dt><i>txt</i></dt>
195 <dd>
196 text of the combo (string)
197 </dd>
198 </dl>
199 <a NAME="HgGpgSignDialog.on_branchButton_toggled" ID="HgGpgSignDialog.on_branchButton_toggled"></a>
200 <h4>HgGpgSignDialog.on_branchButton_toggled</h4>
201 <b>on_branchButton_toggled</b>(<i>checked</i>)
202
203 <p>
204 Private slot to handle changes of the Branch select button.
205 </p>
206 <dl>
207
208 <dt><i>checked</i></dt>
209 <dd>
210 state of the button (boolean)
211 </dd>
212 </dl>
213 <a NAME="HgGpgSignDialog.on_branchCombo_editTextChanged" ID="HgGpgSignDialog.on_branchCombo_editTextChanged"></a>
214 <h4>HgGpgSignDialog.on_branchCombo_editTextChanged</h4>
215 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
216
217 <p>
218 Private slot to handle changes of the Branch combo.
219 </p>
220 <dl>
221
222 <dt><i>txt</i></dt>
223 <dd>
224 text of the combo (string)
225 </dd>
226 </dl>
227 <a NAME="HgGpgSignDialog.on_idButton_toggled" ID="HgGpgSignDialog.on_idButton_toggled"></a>
228 <h4>HgGpgSignDialog.on_idButton_toggled</h4>
229 <b>on_idButton_toggled</b>(<i>checked</i>)
230
231 <p>
232 Private slot to handle changes of the ID select button.
233 </p>
234 <dl>
235
236 <dt><i>checked</i></dt>
237 <dd>
238 state of the button (boolean)
239 </dd>
240 </dl>
241 <a NAME="HgGpgSignDialog.on_idEdit_textChanged" ID="HgGpgSignDialog.on_idEdit_textChanged"></a>
242 <h4>HgGpgSignDialog.on_idEdit_textChanged</h4>
243 <b>on_idEdit_textChanged</b>(<i>txt</i>)
244
245 <p>
246 Private slot to handle changes of the ID edit.
247 </p>
248 <dl>
249
250 <dt><i>txt</i></dt>
251 <dd>
252 text of the edit (string)
253 </dd>
254 </dl>
255 <a NAME="HgGpgSignDialog.on_tagButton_toggled" ID="HgGpgSignDialog.on_tagButton_toggled"></a>
256 <h4>HgGpgSignDialog.on_tagButton_toggled</h4>
257 <b>on_tagButton_toggled</b>(<i>checked</i>)
258
259 <p>
260 Private slot to handle changes of the Tag select button.
261 </p>
262 <dl>
263
264 <dt><i>checked</i></dt>
265 <dd>
266 state of the button (boolean)
267 </dd>
268 </dl>
269 <a NAME="HgGpgSignDialog.on_tagCombo_editTextChanged" ID="HgGpgSignDialog.on_tagCombo_editTextChanged"></a>
270 <h4>HgGpgSignDialog.on_tagCombo_editTextChanged</h4>
271 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
272
273 <p>
274 Private slot to handle changes of the Tag combo.
275 </p>
276 <dl>
277
278 <dt><i>txt</i></dt>
279 <dd>
280 text of the combo (string)
281 </dd>
282 </dl>
283 <div align="right"><a href="#top">Up</a></div>
284 <hr />
285 </body></html>

eric ide

mercurial