|
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.HgGpgSignDialog</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.HgGpgSignDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter data for signing a revision. |
|
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="#HgGpgSignDialog">HgGpgSignDialog</a></td> |
|
35 <td>Class implementing a dialog to enter data for signing a revision.</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="HgGpgSignDialog" ID="HgGpgSignDialog"></a> |
|
44 <h2>HgGpgSignDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter data for signing a revision. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgGpgSignDialog |
|
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="#HgGpgSignDialog.__init__">HgGpgSignDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#HgGpgSignDialog.__updateOK">__updateOK</a></td> |
|
61 <td>Private slot to update the OK button.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgGpgSignDialog.getData">getData</a></td> |
|
64 <td>Public method to retrieve the entered data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgGpgSignDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td> |
|
67 <td>Private slot to handle changes of the Bookmark select button.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgGpgSignDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td> |
|
70 <td>Private slot to handle changes of the Bookmark combo.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgGpgSignDialog.on_branchButton_toggled">on_branchButton_toggled</a></td> |
|
73 <td>Private slot to handle changes of the Branch select button.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HgGpgSignDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td> |
|
76 <td>Private slot to handle changes of the Branch combo.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#HgGpgSignDialog.on_idButton_toggled">on_idButton_toggled</a></td> |
|
79 <td>Private slot to handle changes of the ID select button.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#HgGpgSignDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td> |
|
82 <td>Private slot to handle changes of the ID edit.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#HgGpgSignDialog.on_tagButton_toggled">on_tagButton_toggled</a></td> |
|
85 <td>Private slot to handle changes of the Tag select button.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#HgGpgSignDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
88 <td>Private slot to handle changes of the Tag combo.</td> |
|
89 </tr> |
|
90 </table> |
|
91 <a NAME="HgGpgSignDialog.__init__" ID="HgGpgSignDialog.__init__"></a> |
|
92 <h4>HgGpgSignDialog (Constructor)</h4> |
|
93 <b>HgGpgSignDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>) |
|
94 <p> |
|
95 Constructor |
|
96 </p><dl> |
|
97 <dt><i>tagsList</i></dt> |
|
98 <dd> |
|
99 list of tags (list of strings) |
|
100 </dd><dt><i>branchesList</i></dt> |
|
101 <dd> |
|
102 list of branches (list of strings) |
|
103 </dd><dt><i>bookmarksList</i></dt> |
|
104 <dd> |
|
105 list of bookmarks (list of strings) |
|
106 </dd><dt><i>parent</i></dt> |
|
107 <dd> |
|
108 reference to the parent widget (QWidget) |
|
109 </dd> |
|
110 </dl><a NAME="HgGpgSignDialog.__updateOK" ID="HgGpgSignDialog.__updateOK"></a> |
|
111 <h4>HgGpgSignDialog.__updateOK</h4> |
|
112 <b>__updateOK</b>(<i></i>) |
|
113 <p> |
|
114 Private slot to update the OK button. |
|
115 </p><a NAME="HgGpgSignDialog.getData" ID="HgGpgSignDialog.getData"></a> |
|
116 <h4>HgGpgSignDialog.getData</h4> |
|
117 <b>getData</b>(<i></i>) |
|
118 <p> |
|
119 Public method to retrieve the entered data. |
|
120 </p><dl> |
|
121 <dt>Returns:</dt> |
|
122 <dd> |
|
123 tuple giving the revision, a flag indicating not to commit |
|
124 the signature, a commit message, an ID of the key to be used, |
|
125 a flag indicating a local signature and a flag indicating a forced |
|
126 signature (string, boolean, string, string, boolean, boolean) |
|
127 </dd> |
|
128 </dl><a NAME="HgGpgSignDialog.on_bookmarkButton_toggled" ID="HgGpgSignDialog.on_bookmarkButton_toggled"></a> |
|
129 <h4>HgGpgSignDialog.on_bookmarkButton_toggled</h4> |
|
130 <b>on_bookmarkButton_toggled</b>(<i>checked</i>) |
|
131 <p> |
|
132 Private slot to handle changes of the Bookmark select button. |
|
133 </p><dl> |
|
134 <dt><i>checked</i></dt> |
|
135 <dd> |
|
136 state of the button (boolean) |
|
137 </dd> |
|
138 </dl><a NAME="HgGpgSignDialog.on_bookmarkCombo_editTextChanged" ID="HgGpgSignDialog.on_bookmarkCombo_editTextChanged"></a> |
|
139 <h4>HgGpgSignDialog.on_bookmarkCombo_editTextChanged</h4> |
|
140 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>) |
|
141 <p> |
|
142 Private slot to handle changes of the Bookmark combo. |
|
143 </p><dl> |
|
144 <dt><i>txt</i></dt> |
|
145 <dd> |
|
146 text of the combo (string) |
|
147 </dd> |
|
148 </dl><a NAME="HgGpgSignDialog.on_branchButton_toggled" ID="HgGpgSignDialog.on_branchButton_toggled"></a> |
|
149 <h4>HgGpgSignDialog.on_branchButton_toggled</h4> |
|
150 <b>on_branchButton_toggled</b>(<i>checked</i>) |
|
151 <p> |
|
152 Private slot to handle changes of the Branch select button. |
|
153 </p><dl> |
|
154 <dt><i>checked</i></dt> |
|
155 <dd> |
|
156 state of the button (boolean) |
|
157 </dd> |
|
158 </dl><a NAME="HgGpgSignDialog.on_branchCombo_editTextChanged" ID="HgGpgSignDialog.on_branchCombo_editTextChanged"></a> |
|
159 <h4>HgGpgSignDialog.on_branchCombo_editTextChanged</h4> |
|
160 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>) |
|
161 <p> |
|
162 Private slot to handle changes of the Branch combo. |
|
163 </p><dl> |
|
164 <dt><i>txt</i></dt> |
|
165 <dd> |
|
166 text of the combo (string) |
|
167 </dd> |
|
168 </dl><a NAME="HgGpgSignDialog.on_idButton_toggled" ID="HgGpgSignDialog.on_idButton_toggled"></a> |
|
169 <h4>HgGpgSignDialog.on_idButton_toggled</h4> |
|
170 <b>on_idButton_toggled</b>(<i>checked</i>) |
|
171 <p> |
|
172 Private slot to handle changes of the ID select button. |
|
173 </p><dl> |
|
174 <dt><i>checked</i></dt> |
|
175 <dd> |
|
176 state of the button (boolean) |
|
177 </dd> |
|
178 </dl><a NAME="HgGpgSignDialog.on_idEdit_textChanged" ID="HgGpgSignDialog.on_idEdit_textChanged"></a> |
|
179 <h4>HgGpgSignDialog.on_idEdit_textChanged</h4> |
|
180 <b>on_idEdit_textChanged</b>(<i>txt</i>) |
|
181 <p> |
|
182 Private slot to handle changes of the ID edit. |
|
183 </p><dl> |
|
184 <dt><i>txt</i></dt> |
|
185 <dd> |
|
186 text of the edit (string) |
|
187 </dd> |
|
188 </dl><a NAME="HgGpgSignDialog.on_tagButton_toggled" ID="HgGpgSignDialog.on_tagButton_toggled"></a> |
|
189 <h4>HgGpgSignDialog.on_tagButton_toggled</h4> |
|
190 <b>on_tagButton_toggled</b>(<i>checked</i>) |
|
191 <p> |
|
192 Private slot to handle changes of the Tag select button. |
|
193 </p><dl> |
|
194 <dt><i>checked</i></dt> |
|
195 <dd> |
|
196 state of the button (boolean) |
|
197 </dd> |
|
198 </dl><a NAME="HgGpgSignDialog.on_tagCombo_editTextChanged" ID="HgGpgSignDialog.on_tagCombo_editTextChanged"></a> |
|
199 <h4>HgGpgSignDialog.on_tagCombo_editTextChanged</h4> |
|
200 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) |
|
201 <p> |
|
202 Private slot to handle changes of the Tag combo. |
|
203 </p><dl> |
|
204 <dt><i>txt</i></dt> |
|
205 <dd> |
|
206 text of the combo (string) |
|
207 </dd> |
|
208 </dl> |
|
209 <div align="right"><a href="#top">Up</a></div> |
|
210 <hr /> |
|
211 </body></html> |