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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter data for signing a revision. 26 Module implementing a dialog to enter data for signing a revision.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#HgGpgSignDialog">HgGpgSignDialog</a></td> 38 <td><a href="#HgGpgSignDialog">HgGpgSignDialog</a></td>
34 <td>Class implementing a dialog to enter data for signing a revision.</td> 39 <td>Class implementing a dialog to enter data for signing a revision.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="HgGpgSignDialog" ID="HgGpgSignDialog"></a> 49 <a NAME="HgGpgSignDialog" ID="HgGpgSignDialog"></a>
43 <h2>HgGpgSignDialog</h2> 50 <h2>HgGpgSignDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to enter data for signing a revision. 53 Class implementing a dialog to enter data for signing a revision.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_HgGpgSignDialog 56 QDialog, Ui_HgGpgSignDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#HgGpgSignDialog.__init__">HgGpgSignDialog</a></td> 72 <td><a href="#HgGpgSignDialog.__init__">HgGpgSignDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#HgGpgSignDialog.__updateOK">__updateOK</a></td> 76 <td><a href="#HgGpgSignDialog.__updateOK">__updateOK</a></td>
64 <td>Private slot to update the OK button.</td> 77 <td>Private slot to update the OK button.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#HgGpgSignDialog.getData">getData</a></td> 80 <td><a href="#HgGpgSignDialog.getData">getData</a></td>
67 <td>Public method to retrieve the entered data.</td> 81 <td>Public method to retrieve the entered data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#HgGpgSignDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td> 84 <td><a href="#HgGpgSignDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td>
70 <td>Private slot to handle changes of the Bookmark select button.</td> 85 <td>Private slot to handle changes of the Bookmark select button.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#HgGpgSignDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td> 88 <td><a href="#HgGpgSignDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
73 <td>Private slot to handle changes of the Bookmark combo.</td> 89 <td>Private slot to handle changes of the Bookmark combo.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#HgGpgSignDialog.on_branchButton_toggled">on_branchButton_toggled</a></td> 92 <td><a href="#HgGpgSignDialog.on_branchButton_toggled">on_branchButton_toggled</a></td>
76 <td>Private slot to handle changes of the Branch select button.</td> 93 <td>Private slot to handle changes of the Branch select button.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#HgGpgSignDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td> 96 <td><a href="#HgGpgSignDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
79 <td>Private slot to handle changes of the Branch combo.</td> 97 <td>Private slot to handle changes of the Branch combo.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#HgGpgSignDialog.on_idButton_toggled">on_idButton_toggled</a></td> 100 <td><a href="#HgGpgSignDialog.on_idButton_toggled">on_idButton_toggled</a></td>
82 <td>Private slot to handle changes of the ID select button.</td> 101 <td>Private slot to handle changes of the ID select button.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#HgGpgSignDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td> 104 <td><a href="#HgGpgSignDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
85 <td>Private slot to handle changes of the ID edit.</td> 105 <td>Private slot to handle changes of the ID edit.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#HgGpgSignDialog.on_tagButton_toggled">on_tagButton_toggled</a></td> 108 <td><a href="#HgGpgSignDialog.on_tagButton_toggled">on_tagButton_toggled</a></td>
88 <td>Private slot to handle changes of the Tag select button.</td> 109 <td>Private slot to handle changes of the Tag select button.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#HgGpgSignDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> 112 <td><a href="#HgGpgSignDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
91 <td>Private slot to handle changes of the Tag combo.</td> 113 <td>Private slot to handle changes of the Tag combo.</td>
92 </tr> 114 </tr>
93 </table> 115 </table>
94 <h3>Static Methods</h3> 116 <h3>Static Methods</h3>
95 <table> 117
96 <tr><td>None</td></tr> 118 <table>
97 </table> 119 <tr><td>None</td></tr>
120 </table>
121
98 <a NAME="HgGpgSignDialog.__init__" ID="HgGpgSignDialog.__init__"></a> 122 <a NAME="HgGpgSignDialog.__init__" ID="HgGpgSignDialog.__init__"></a>
99 <h4>HgGpgSignDialog (Constructor)</h4> 123 <h4>HgGpgSignDialog (Constructor)</h4>
100 <b>HgGpgSignDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>) 124 <b>HgGpgSignDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)
125
101 <p> 126 <p>
102 Constructor 127 Constructor
103 </p><dl> 128 </p>
129 <dl>
130
104 <dt><i>tagsList</i></dt> 131 <dt><i>tagsList</i></dt>
105 <dd> 132 <dd>
106 list of tags (list of strings) 133 list of tags (list of strings)
107 </dd><dt><i>branchesList</i></dt> 134 </dd>
135 <dt><i>branchesList</i></dt>
108 <dd> 136 <dd>
109 list of branches (list of strings) 137 list of branches (list of strings)
110 </dd><dt><i>bookmarksList</i></dt> 138 </dd>
139 <dt><i>bookmarksList</i></dt>
111 <dd> 140 <dd>
112 list of bookmarks (list of strings) 141 list of bookmarks (list of strings)
113 </dd><dt><i>parent</i></dt> 142 </dd>
143 <dt><i>parent</i></dt>
114 <dd> 144 <dd>
115 reference to the parent widget (QWidget) 145 reference to the parent widget (QWidget)
116 </dd> 146 </dd>
117 </dl><a NAME="HgGpgSignDialog.__updateOK" ID="HgGpgSignDialog.__updateOK"></a> 147 </dl>
148 <a NAME="HgGpgSignDialog.__updateOK" ID="HgGpgSignDialog.__updateOK"></a>
118 <h4>HgGpgSignDialog.__updateOK</h4> 149 <h4>HgGpgSignDialog.__updateOK</h4>
119 <b>__updateOK</b>(<i></i>) 150 <b>__updateOK</b>(<i></i>)
151
120 <p> 152 <p>
121 Private slot to update the OK button. 153 Private slot to update the OK button.
122 </p><a NAME="HgGpgSignDialog.getData" ID="HgGpgSignDialog.getData"></a> 154 </p>
155 <a NAME="HgGpgSignDialog.getData" ID="HgGpgSignDialog.getData"></a>
123 <h4>HgGpgSignDialog.getData</h4> 156 <h4>HgGpgSignDialog.getData</h4>
124 <b>getData</b>(<i></i>) 157 <b>getData</b>(<i></i>)
158
125 <p> 159 <p>
126 Public method to retrieve the entered data. 160 Public method to retrieve the entered data.
127 </p><dl> 161 </p>
162 <dl>
128 <dt>Returns:</dt> 163 <dt>Returns:</dt>
129 <dd> 164 <dd>
130 tuple giving the revision, a flag indicating not to commit 165 tuple giving the revision, a flag indicating not to commit
131 the signature, a commit message, an ID of the key to be used, 166 the signature, a commit message, an ID of the key to be used,
132 a flag indicating a local signature and a flag indicating a forced 167 a flag indicating a local signature and a flag indicating a forced
133 signature (string, boolean, string, string, boolean, boolean) 168 signature (string, boolean, string, string, boolean, boolean)
134 </dd> 169 </dd>
135 </dl><a NAME="HgGpgSignDialog.on_bookmarkButton_toggled" ID="HgGpgSignDialog.on_bookmarkButton_toggled"></a> 170 </dl>
171 <a NAME="HgGpgSignDialog.on_bookmarkButton_toggled" ID="HgGpgSignDialog.on_bookmarkButton_toggled"></a>
136 <h4>HgGpgSignDialog.on_bookmarkButton_toggled</h4> 172 <h4>HgGpgSignDialog.on_bookmarkButton_toggled</h4>
137 <b>on_bookmarkButton_toggled</b>(<i>checked</i>) 173 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
174
138 <p> 175 <p>
139 Private slot to handle changes of the Bookmark select button. 176 Private slot to handle changes of the Bookmark select button.
140 </p><dl> 177 </p>
141 <dt><i>checked</i></dt> 178 <dl>
142 <dd> 179
143 state of the button (boolean) 180 <dt><i>checked</i></dt>
144 </dd> 181 <dd>
145 </dl><a NAME="HgGpgSignDialog.on_bookmarkCombo_editTextChanged" ID="HgGpgSignDialog.on_bookmarkCombo_editTextChanged"></a> 182 state of the button (boolean)
183 </dd>
184 </dl>
185 <a NAME="HgGpgSignDialog.on_bookmarkCombo_editTextChanged" ID="HgGpgSignDialog.on_bookmarkCombo_editTextChanged"></a>
146 <h4>HgGpgSignDialog.on_bookmarkCombo_editTextChanged</h4> 186 <h4>HgGpgSignDialog.on_bookmarkCombo_editTextChanged</h4>
147 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>) 187 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
188
148 <p> 189 <p>
149 Private slot to handle changes of the Bookmark combo. 190 Private slot to handle changes of the Bookmark combo.
150 </p><dl> 191 </p>
192 <dl>
193
151 <dt><i>txt</i></dt> 194 <dt><i>txt</i></dt>
152 <dd> 195 <dd>
153 text of the combo (string) 196 text of the combo (string)
154 </dd> 197 </dd>
155 </dl><a NAME="HgGpgSignDialog.on_branchButton_toggled" ID="HgGpgSignDialog.on_branchButton_toggled"></a> 198 </dl>
199 <a NAME="HgGpgSignDialog.on_branchButton_toggled" ID="HgGpgSignDialog.on_branchButton_toggled"></a>
156 <h4>HgGpgSignDialog.on_branchButton_toggled</h4> 200 <h4>HgGpgSignDialog.on_branchButton_toggled</h4>
157 <b>on_branchButton_toggled</b>(<i>checked</i>) 201 <b>on_branchButton_toggled</b>(<i>checked</i>)
202
158 <p> 203 <p>
159 Private slot to handle changes of the Branch select button. 204 Private slot to handle changes of the Branch select button.
160 </p><dl> 205 </p>
161 <dt><i>checked</i></dt> 206 <dl>
162 <dd> 207
163 state of the button (boolean) 208 <dt><i>checked</i></dt>
164 </dd> 209 <dd>
165 </dl><a NAME="HgGpgSignDialog.on_branchCombo_editTextChanged" ID="HgGpgSignDialog.on_branchCombo_editTextChanged"></a> 210 state of the button (boolean)
211 </dd>
212 </dl>
213 <a NAME="HgGpgSignDialog.on_branchCombo_editTextChanged" ID="HgGpgSignDialog.on_branchCombo_editTextChanged"></a>
166 <h4>HgGpgSignDialog.on_branchCombo_editTextChanged</h4> 214 <h4>HgGpgSignDialog.on_branchCombo_editTextChanged</h4>
167 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>) 215 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
216
168 <p> 217 <p>
169 Private slot to handle changes of the Branch combo. 218 Private slot to handle changes of the Branch combo.
170 </p><dl> 219 </p>
220 <dl>
221
171 <dt><i>txt</i></dt> 222 <dt><i>txt</i></dt>
172 <dd> 223 <dd>
173 text of the combo (string) 224 text of the combo (string)
174 </dd> 225 </dd>
175 </dl><a NAME="HgGpgSignDialog.on_idButton_toggled" ID="HgGpgSignDialog.on_idButton_toggled"></a> 226 </dl>
227 <a NAME="HgGpgSignDialog.on_idButton_toggled" ID="HgGpgSignDialog.on_idButton_toggled"></a>
176 <h4>HgGpgSignDialog.on_idButton_toggled</h4> 228 <h4>HgGpgSignDialog.on_idButton_toggled</h4>
177 <b>on_idButton_toggled</b>(<i>checked</i>) 229 <b>on_idButton_toggled</b>(<i>checked</i>)
230
178 <p> 231 <p>
179 Private slot to handle changes of the ID select button. 232 Private slot to handle changes of the ID select button.
180 </p><dl> 233 </p>
181 <dt><i>checked</i></dt> 234 <dl>
182 <dd> 235
183 state of the button (boolean) 236 <dt><i>checked</i></dt>
184 </dd> 237 <dd>
185 </dl><a NAME="HgGpgSignDialog.on_idEdit_textChanged" ID="HgGpgSignDialog.on_idEdit_textChanged"></a> 238 state of the button (boolean)
239 </dd>
240 </dl>
241 <a NAME="HgGpgSignDialog.on_idEdit_textChanged" ID="HgGpgSignDialog.on_idEdit_textChanged"></a>
186 <h4>HgGpgSignDialog.on_idEdit_textChanged</h4> 242 <h4>HgGpgSignDialog.on_idEdit_textChanged</h4>
187 <b>on_idEdit_textChanged</b>(<i>txt</i>) 243 <b>on_idEdit_textChanged</b>(<i>txt</i>)
244
188 <p> 245 <p>
189 Private slot to handle changes of the ID edit. 246 Private slot to handle changes of the ID edit.
190 </p><dl> 247 </p>
248 <dl>
249
191 <dt><i>txt</i></dt> 250 <dt><i>txt</i></dt>
192 <dd> 251 <dd>
193 text of the edit (string) 252 text of the edit (string)
194 </dd> 253 </dd>
195 </dl><a NAME="HgGpgSignDialog.on_tagButton_toggled" ID="HgGpgSignDialog.on_tagButton_toggled"></a> 254 </dl>
255 <a NAME="HgGpgSignDialog.on_tagButton_toggled" ID="HgGpgSignDialog.on_tagButton_toggled"></a>
196 <h4>HgGpgSignDialog.on_tagButton_toggled</h4> 256 <h4>HgGpgSignDialog.on_tagButton_toggled</h4>
197 <b>on_tagButton_toggled</b>(<i>checked</i>) 257 <b>on_tagButton_toggled</b>(<i>checked</i>)
258
198 <p> 259 <p>
199 Private slot to handle changes of the Tag select button. 260 Private slot to handle changes of the Tag select button.
200 </p><dl> 261 </p>
201 <dt><i>checked</i></dt> 262 <dl>
202 <dd> 263
203 state of the button (boolean) 264 <dt><i>checked</i></dt>
204 </dd> 265 <dd>
205 </dl><a NAME="HgGpgSignDialog.on_tagCombo_editTextChanged" ID="HgGpgSignDialog.on_tagCombo_editTextChanged"></a> 266 state of the button (boolean)
267 </dd>
268 </dl>
269 <a NAME="HgGpgSignDialog.on_tagCombo_editTextChanged" ID="HgGpgSignDialog.on_tagCombo_editTextChanged"></a>
206 <h4>HgGpgSignDialog.on_tagCombo_editTextChanged</h4> 270 <h4>HgGpgSignDialog.on_tagCombo_editTextChanged</h4>
207 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) 271 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
272
208 <p> 273 <p>
209 Private slot to handle changes of the Tag combo. 274 Private slot to handle changes of the Tag combo.
210 </p><dl> 275 </p>
276 <dl>
277
211 <dt><i>txt</i></dt> 278 <dt><i>txt</i></dt>
212 <dd> 279 <dd>
213 text of the combo (string) 280 text of the combo (string)
214 </dd> 281 </dd>
215 </dl> 282 </dl>

eric ide

mercurial