eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditConfigDialog.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.HisteditExtension.HgHisteditConfigDialog</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.HisteditExtension.HgHisteditConfigDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the histedit parameters.
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="#HgHisteditConfigDialog">HgHisteditConfigDialog</a></td>
39 <td>Class implementing a dialog to enter the histedit parameters.</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="HgHisteditConfigDialog" ID="HgHisteditConfigDialog"></a>
50 <h2>HgHisteditConfigDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter the histedit parameters.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_HgHisteditConfigDialog
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="#HgHisteditConfigDialog.__init__">HgHisteditConfigDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgHisteditConfigDialog.__getRevision">__getRevision</a></td>
77 <td>Private method to generate the revision.</td>
78 </tr>
79 <tr>
80 <td><a href="#HgHisteditConfigDialog.__updateOK">__updateOK</a></td>
81 <td>Private slot to update the OK button.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgHisteditConfigDialog.getData">getData</a></td>
85 <td>Public method to retrieve the data for the strip action.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgHisteditConfigDialog.on_bookmarkButton_toggled">on_bookmarkButton_toggled</a></td>
89 <td>Private slot to handle changes of the Bookmark select button.</td>
90 </tr>
91 <tr>
92 <td><a href="#HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged">on_bookmarkCombo_editTextChanged</a></td>
93 <td>Private slot to handle changes of the Bookmark combo.</td>
94 </tr>
95 <tr>
96 <td><a href="#HgHisteditConfigDialog.on_branch1Button_toggled">on_branch1Button_toggled</a></td>
97 <td>Private slot to handle changes of the Branch select button.</td>
98 </tr>
99 <tr>
100 <td><a href="#HgHisteditConfigDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td>
101 <td>Private slot to handle changes of the Branch combo.</td>
102 </tr>
103 <tr>
104 <td><a href="#HgHisteditConfigDialog.on_defaultButton_toggled">on_defaultButton_toggled</a></td>
105 <td>Private slot to handle changes of the Default select button.</td>
106 </tr>
107 <tr>
108 <td><a href="#HgHisteditConfigDialog.on_idButton_toggled">on_idButton_toggled</a></td>
109 <td>Private slot to handle changes of the ID select button.</td>
110 </tr>
111 <tr>
112 <td><a href="#HgHisteditConfigDialog.on_idEdit_textChanged">on_idEdit_textChanged</a></td>
113 <td>Private slot to handle changes of the ID edit.</td>
114 </tr>
115 <tr>
116 <td><a href="#HgHisteditConfigDialog.on_numberSpinBox_valueChanged">on_numberSpinBox_valueChanged</a></td>
117 <td>Private slot to handle changes of the Number spin box.</td>
118 </tr>
119 <tr>
120 <td><a href="#HgHisteditConfigDialog.on_outgoingButton_toggled">on_outgoingButton_toggled</a></td>
121 <td>Private slot to handle changes of the Outgoing select button.</td>
122 </tr>
123 <tr>
124 <td><a href="#HgHisteditConfigDialog.on_revisionButton_toggled">on_revisionButton_toggled</a></td>
125 <td>Private slot to handle changes of the Revision select button.</td>
126 </tr>
127 <tr>
128 <td><a href="#HgHisteditConfigDialog.on_tagButton_toggled">on_tagButton_toggled</a></td>
129 <td>Private slot to handle changes of the Tag select button.</td>
130 </tr>
131 <tr>
132 <td><a href="#HgHisteditConfigDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td>
133 <td>Private slot to handle changes of the Tag combo.</td>
134 </tr>
135 </table>
136 <h3>Static Methods</h3>
137
138 <table>
139 <tr><td>None</td></tr>
140 </table>
141
142 <a NAME="HgHisteditConfigDialog.__init__" ID="HgHisteditConfigDialog.__init__"></a>
143 <h4>HgHisteditConfigDialog (Constructor)</h4>
144 <b>HgHisteditConfigDialog</b>(<i>tagsList, branchesList, bookmarksList=None, rev="", parent=None</i>)
145
146 <p>
147 Constructor
148 </p>
149 <dl>
150
151 <dt><i>tagsList</i> (list of str)</dt>
152 <dd>
153 list of tags
154 </dd>
155 <dt><i>branchesList</i> (list of str)</dt>
156 <dd>
157 list of branches
158 </dd>
159 <dt><i>bookmarksList</i> (list of str)</dt>
160 <dd>
161 list of bookmarks
162 </dd>
163 <dt><i>rev</i> (str)</dt>
164 <dd>
165 revision to strip from
166 </dd>
167 <dt><i>parent</i> (QWidget)</dt>
168 <dd>
169 reference to the parent widget
170 </dd>
171 </dl>
172 <a NAME="HgHisteditConfigDialog.__getRevision" ID="HgHisteditConfigDialog.__getRevision"></a>
173 <h4>HgHisteditConfigDialog.__getRevision</h4>
174 <b>__getRevision</b>(<i></i>)
175
176 <p>
177 Private method to generate the revision.
178 </p>
179 <dl>
180 <dt>Return:</dt>
181 <dd>
182 revision
183 </dd>
184 </dl>
185 <dl>
186 <dt>Return Type:</dt>
187 <dd>
188 str
189 </dd>
190 </dl>
191 <a NAME="HgHisteditConfigDialog.__updateOK" ID="HgHisteditConfigDialog.__updateOK"></a>
192 <h4>HgHisteditConfigDialog.__updateOK</h4>
193 <b>__updateOK</b>(<i></i>)
194
195 <p>
196 Private slot to update the OK button.
197 </p>
198 <a NAME="HgHisteditConfigDialog.getData" ID="HgHisteditConfigDialog.getData"></a>
199 <h4>HgHisteditConfigDialog.getData</h4>
200 <b>getData</b>(<i></i>)
201
202 <p>
203 Public method to retrieve the data for the strip action.
204 </p>
205 <dl>
206 <dt>Return:</dt>
207 <dd>
208 tuple with the revision, a flag indicating to to outgoing and a
209 flag indicating to keep old nodes
210 </dd>
211 </dl>
212 <dl>
213 <dt>Return Type:</dt>
214 <dd>
215 tuple (str, bool, bool)
216 </dd>
217 </dl>
218 <a NAME="HgHisteditConfigDialog.on_bookmarkButton_toggled" ID="HgHisteditConfigDialog.on_bookmarkButton_toggled"></a>
219 <h4>HgHisteditConfigDialog.on_bookmarkButton_toggled</h4>
220 <b>on_bookmarkButton_toggled</b>(<i>checked</i>)
221
222 <p>
223 Private slot to handle changes of the Bookmark select button.
224 </p>
225 <dl>
226
227 <dt><i>checked</i></dt>
228 <dd>
229 state of the button (boolean)
230 </dd>
231 </dl>
232 <a NAME="HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged" ID="HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged"></a>
233 <h4>HgHisteditConfigDialog.on_bookmarkCombo_editTextChanged</h4>
234 <b>on_bookmarkCombo_editTextChanged</b>(<i>txt</i>)
235
236 <p>
237 Private slot to handle changes of the Bookmark combo.
238 </p>
239 <dl>
240
241 <dt><i>txt</i> (str)</dt>
242 <dd>
243 text of the combo
244 </dd>
245 </dl>
246 <a NAME="HgHisteditConfigDialog.on_branch1Button_toggled" ID="HgHisteditConfigDialog.on_branch1Button_toggled"></a>
247 <h4>HgHisteditConfigDialog.on_branch1Button_toggled</h4>
248 <b>on_branch1Button_toggled</b>(<i>checked</i>)
249
250 <p>
251 Private slot to handle changes of the Branch select button.
252 </p>
253 <dl>
254
255 <dt><i>checked</i></dt>
256 <dd>
257 state of the button (boolean)
258 </dd>
259 </dl>
260 <a NAME="HgHisteditConfigDialog.on_branchCombo_editTextChanged" ID="HgHisteditConfigDialog.on_branchCombo_editTextChanged"></a>
261 <h4>HgHisteditConfigDialog.on_branchCombo_editTextChanged</h4>
262 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>)
263
264 <p>
265 Private slot to handle changes of the Branch combo.
266 </p>
267 <dl>
268
269 <dt><i>txt</i> (str)</dt>
270 <dd>
271 text of the combo
272 </dd>
273 </dl>
274 <a NAME="HgHisteditConfigDialog.on_defaultButton_toggled" ID="HgHisteditConfigDialog.on_defaultButton_toggled"></a>
275 <h4>HgHisteditConfigDialog.on_defaultButton_toggled</h4>
276 <b>on_defaultButton_toggled</b>(<i>checked</i>)
277
278 <p>
279 Private slot to handle changes of the Default select button.
280 </p>
281 <dl>
282
283 <dt><i>checked</i> (bool)</dt>
284 <dd>
285 state of the button
286 </dd>
287 </dl>
288 <a NAME="HgHisteditConfigDialog.on_idButton_toggled" ID="HgHisteditConfigDialog.on_idButton_toggled"></a>
289 <h4>HgHisteditConfigDialog.on_idButton_toggled</h4>
290 <b>on_idButton_toggled</b>(<i>checked</i>)
291
292 <p>
293 Private slot to handle changes of the ID select button.
294 </p>
295 <dl>
296
297 <dt><i>checked</i></dt>
298 <dd>
299 state of the button (boolean)
300 </dd>
301 </dl>
302 <a NAME="HgHisteditConfigDialog.on_idEdit_textChanged" ID="HgHisteditConfigDialog.on_idEdit_textChanged"></a>
303 <h4>HgHisteditConfigDialog.on_idEdit_textChanged</h4>
304 <b>on_idEdit_textChanged</b>(<i>txt</i>)
305
306 <p>
307 Private slot to handle changes of the ID edit.
308 </p>
309 <dl>
310
311 <dt><i>txt</i> (str)</dt>
312 <dd>
313 text of the edit
314 </dd>
315 </dl>
316 <a NAME="HgHisteditConfigDialog.on_numberSpinBox_valueChanged" ID="HgHisteditConfigDialog.on_numberSpinBox_valueChanged"></a>
317 <h4>HgHisteditConfigDialog.on_numberSpinBox_valueChanged</h4>
318 <b>on_numberSpinBox_valueChanged</b>(<i>val</i>)
319
320 <p>
321 Private slot to handle changes of the Number spin box.
322 </p>
323 <dl>
324
325 <dt><i>val</i> (int)</dt>
326 <dd>
327 value of the spin box
328 </dd>
329 </dl>
330 <a NAME="HgHisteditConfigDialog.on_outgoingButton_toggled" ID="HgHisteditConfigDialog.on_outgoingButton_toggled"></a>
331 <h4>HgHisteditConfigDialog.on_outgoingButton_toggled</h4>
332 <b>on_outgoingButton_toggled</b>(<i>checked</i>)
333
334 <p>
335 Private slot to handle changes of the Outgoing select button.
336 </p>
337 <dl>
338
339 <dt><i>checked</i> (bool)</dt>
340 <dd>
341 state of the button
342 </dd>
343 </dl>
344 <a NAME="HgHisteditConfigDialog.on_revisionButton_toggled" ID="HgHisteditConfigDialog.on_revisionButton_toggled"></a>
345 <h4>HgHisteditConfigDialog.on_revisionButton_toggled</h4>
346 <b>on_revisionButton_toggled</b>(<i>checked</i>)
347
348 <p>
349 Private slot to handle changes of the Revision select button.
350 </p>
351 <dl>
352
353 <dt><i>checked</i> (bool)</dt>
354 <dd>
355 state of the button
356 </dd>
357 </dl>
358 <a NAME="HgHisteditConfigDialog.on_tagButton_toggled" ID="HgHisteditConfigDialog.on_tagButton_toggled"></a>
359 <h4>HgHisteditConfigDialog.on_tagButton_toggled</h4>
360 <b>on_tagButton_toggled</b>(<i>checked</i>)
361
362 <p>
363 Private slot to handle changes of the Tag select button.
364 </p>
365 <dl>
366
367 <dt><i>checked</i></dt>
368 <dd>
369 state of the button (boolean)
370 </dd>
371 </dl>
372 <a NAME="HgHisteditConfigDialog.on_tagCombo_editTextChanged" ID="HgHisteditConfigDialog.on_tagCombo_editTextChanged"></a>
373 <h4>HgHisteditConfigDialog.on_tagCombo_editTextChanged</h4>
374 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>)
375
376 <p>
377 Private slot to handle changes of the Tag combo.
378 </p>
379 <dl>
380
381 <dt><i>txt</i> (str)</dt>
382 <dd>
383 text of the combo
384 </dd>
385 </dl>
386 <div align="right"><a href="#top">Up</a></div>
387 <hr />
388 </body></html>

eric ide

mercurial