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

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignDialog</h1>
23 <p>
24 Module implementing a dialog to enter data for signing a revision.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#HgGpgSignDialog">HgGpgSignDialog</a></td>
34 <td>Class implementing a dialog to enter data for signing a revision.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="HgGpgSignDialog" ID="HgGpgSignDialog"></a>
43 <h2>HgGpgSignDialog</h2>
44 <p>
45 Class implementing a dialog to enter data for signing a revision.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgGpgSignDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#HgGpgSignDialog.__init__">HgGpgSignDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgGpgSignDialog.__updateOK">__updateOK</a></td>
64 <td>Private slot to update the OK button.</td>
65 </tr><tr>
66 <td><a href="#HgGpgSignDialog.getData">getData</a></td>
67 <td>Public method to retrieve the entered data.</td>
68 </tr><tr>
69 <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>
71 </tr><tr>
72 <td><a href="#HgGpgSignDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
73 <td>Private slot to handle changes of the Bookmark combo.</td>
74 </tr><tr>
75 <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>
77 </tr><tr>
78 <td><a href="#HgGpgSignDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
79 <td>Private slot to handle changes of the Branch combo.</td>
80 </tr><tr>
81 <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>
83 </tr><tr>
84 <td><a href="#HgGpgSignDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
85 <td>Private slot to handle changes of the ID edit.</td>
86 </tr><tr>
87 <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>
89 </tr><tr>
90 <td><a href="#HgGpgSignDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
91 <td>Private slot to handle changes of the Tag combo.</td>
92 </tr>
93 </table>
94 <h3>Static Methods</h3>
95 <table>
96 <tr><td>None</td></tr>
97 </table>
98 <a NAME="HgGpgSignDialog.__init__" ID="HgGpgSignDialog.__init__"></a>
99 <h4>HgGpgSignDialog (Constructor)</h4>
100 <b>HgGpgSignDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)
101 <p>
102 Constructor
103 </p><dl>
104 <dt><i>tagsList</i></dt>
105 <dd>
106 list of tags (list of strings)
107 </dd><dt><i>branchesList</i></dt>
108 <dd>
109 list of branches (list of strings)
110 </dd><dt><i>bookmarksList</i></dt>
111 <dd>
112 list of bookmarks (list of strings)
113 </dd><dt><i>parent</i></dt>
114 <dd>
115 reference to the parent widget (QWidget)
116 </dd>
117 </dl><a NAME="HgGpgSignDialog.__updateOK" ID="HgGpgSignDialog.__updateOK"></a>
118 <h4>HgGpgSignDialog.__updateOK</h4>
119 <b>__updateOK</b>(<i></i>)
120 <p>
121 Private slot to update the OK button.
122 </p><a NAME="HgGpgSignDialog.getData" ID="HgGpgSignDialog.getData"></a>
123 <h4>HgGpgSignDialog.getData</h4>
124 <b>getData</b>(<i></i>)
125 <p>
126 Public method to retrieve the entered data.
127 </p><dl>
128 <dt>Returns:</dt>
129 <dd>
130 tuple giving the revision, a flag indicating not to commit
131 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
133 signature (string, boolean, string, string, boolean, boolean)
134 </dd>
135 </dl><a NAME="HgGpgSignDialog.on_bookmarkButton_toggled" ID="HgGpgSignDialog.on_bookmarkButton_toggled"></a>
136 <h4>HgGpgSignDialog.on_bookmarkButton_toggled</h4>
137 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
138 <p>
139 Private slot to handle changes of the Bookmark select button.
140 </p><dl>
141 <dt><i>checked</i></dt>
142 <dd>
143 state of the button (boolean)
144 </dd>
145 </dl><a NAME="HgGpgSignDialog.on_bookmarkCombo_editTextChanged" ID="HgGpgSignDialog.on_bookmarkCombo_editTextChanged"></a>
146 <h4>HgGpgSignDialog.on_bookmarkCombo_editTextChanged</h4>
147 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
148 <p>
149 Private slot to handle changes of the Bookmark combo.
150 </p><dl>
151 <dt><i>txt</i></dt>
152 <dd>
153 text of the combo (string)
154 </dd>
155 </dl><a NAME="HgGpgSignDialog.on_branchButton_toggled" ID="HgGpgSignDialog.on_branchButton_toggled"></a>
156 <h4>HgGpgSignDialog.on_branchButton_toggled</h4>
157 <b>on_branchButton_toggled</b>(<i>checked</i>)
158 <p>
159 Private slot to handle changes of the Branch select button.
160 </p><dl>
161 <dt><i>checked</i></dt>
162 <dd>
163 state of the button (boolean)
164 </dd>
165 </dl><a NAME="HgGpgSignDialog.on_branchCombo_editTextChanged" ID="HgGpgSignDialog.on_branchCombo_editTextChanged"></a>
166 <h4>HgGpgSignDialog.on_branchCombo_editTextChanged</h4>
167 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
168 <p>
169 Private slot to handle changes of the Branch combo.
170 </p><dl>
171 <dt><i>txt</i></dt>
172 <dd>
173 text of the combo (string)
174 </dd>
175 </dl><a NAME="HgGpgSignDialog.on_idButton_toggled" ID="HgGpgSignDialog.on_idButton_toggled"></a>
176 <h4>HgGpgSignDialog.on_idButton_toggled</h4>
177 <b>on_idButton_toggled</b>(<i>checked</i>)
178 <p>
179 Private slot to handle changes of the ID select button.
180 </p><dl>
181 <dt><i>checked</i></dt>
182 <dd>
183 state of the button (boolean)
184 </dd>
185 </dl><a NAME="HgGpgSignDialog.on_idEdit_textChanged" ID="HgGpgSignDialog.on_idEdit_textChanged"></a>
186 <h4>HgGpgSignDialog.on_idEdit_textChanged</h4>
187 <b>on_idEdit_textChanged</b>(<i>txt</i>)
188 <p>
189 Private slot to handle changes of the ID edit.
190 </p><dl>
191 <dt><i>txt</i></dt>
192 <dd>
193 text of the edit (string)
194 </dd>
195 </dl><a NAME="HgGpgSignDialog.on_tagButton_toggled" ID="HgGpgSignDialog.on_tagButton_toggled"></a>
196 <h4>HgGpgSignDialog.on_tagButton_toggled</h4>
197 <b>on_tagButton_toggled</b>(<i>checked</i>)
198 <p>
199 Private slot to handle changes of the Tag select button.
200 </p><dl>
201 <dt><i>checked</i></dt>
202 <dd>
203 state of the button (boolean)
204 </dd>
205 </dl><a NAME="HgGpgSignDialog.on_tagCombo_editTextChanged" ID="HgGpgSignDialog.on_tagCombo_editTextChanged"></a>
206 <h4>HgGpgSignDialog.on_tagCombo_editTextChanged</h4>
207 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
208 <p>
209 Private slot to handle changes of the Tag combo.
210 </p><dl>
211 <dt><i>txt</i></dt>
212 <dd>
213 text of the combo (string)
214 </dd>
215 </dl>
216 <div align="right"><a href="#top">Up</a></div>
217 <hr />
218 </body></html>

eric ide

mercurial