eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog.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.RebaseExtension.HgRebaseDialog</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.RebaseExtension.HgRebaseDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the data for a rebase session.
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="#HgRebaseDialog">HgRebaseDialog</a></td>
39 <td>Class implementing a dialog to enter the data for a rebase session.</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="HgRebaseDialog" ID="HgRebaseDialog"></a>
50 <h2>HgRebaseDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter the data for a rebase session.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_HgRebaseDialog
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="#HgRebaseDialog.__init__">HgRebaseDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgRebaseDialog.__getRevision">__getRevision</a></td>
77 <td>Private method to generate the revision.</td>
78 </tr>
79 <tr>
80 <td><a href="#HgRebaseDialog.__updateOK">__updateOK</a></td>
81 <td>Private slot to update the OK button.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgRebaseDialog.getData">getData</a></td>
85 <td>Public method to retrieve the data for the rebase session.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgRebaseDialog.on_bookmark1Button_toggled">on_bookmark1Button_toggled</a></td>
89 <td>Private slot to handle changes of the Bookmark1 select button.</td>
90 </tr>
91 <tr>
92 <td><a href="#HgRebaseDialog.on_bookmark1Combo_editTextChanged">on_bookmark1Combo_editTextChanged</a></td>
93 <td>Private slot to handle changes of the Bookmark1 combo.</td>
94 </tr>
95 <tr>
96 <td><a href="#HgRebaseDialog.on_bookmark2Button_toggled">on_bookmark2Button_toggled</a></td>
97 <td>Private slot to handle changes of the Bookmark2 select button.</td>
98 </tr>
99 <tr>
100 <td><a href="#HgRebaseDialog.on_bookmark2Combo_editTextChanged">on_bookmark2Combo_editTextChanged</a></td>
101 <td>Private slot to handle changes of the Bookmark2 combo.</td>
102 </tr>
103 <tr>
104 <td><a href="#HgRebaseDialog.on_branch1Button_toggled">on_branch1Button_toggled</a></td>
105 <td>Private slot to handle changes of the Branch1 select button.</td>
106 </tr>
107 <tr>
108 <td><a href="#HgRebaseDialog.on_branch1Combo_editTextChanged">on_branch1Combo_editTextChanged</a></td>
109 <td>Private slot to handle changes of the Branch1 combo.</td>
110 </tr>
111 <tr>
112 <td><a href="#HgRebaseDialog.on_branch2Button_toggled">on_branch2Button_toggled</a></td>
113 <td>Private slot to handle changes of the Branch2 select button.</td>
114 </tr>
115 <tr>
116 <td><a href="#HgRebaseDialog.on_branch2Combo_editTextChanged">on_branch2Combo_editTextChanged</a></td>
117 <td>Private slot to handle changes of the Branch2 combo.</td>
118 </tr>
119 <tr>
120 <td><a href="#HgRebaseDialog.on_id1Button_toggled">on_id1Button_toggled</a></td>
121 <td>Private slot to handle changes of the ID1 select button.</td>
122 </tr>
123 <tr>
124 <td><a href="#HgRebaseDialog.on_id1Edit_textChanged">on_id1Edit_textChanged</a></td>
125 <td>Private slot to handle changes of the ID1 edit.</td>
126 </tr>
127 <tr>
128 <td><a href="#HgRebaseDialog.on_id2Button_toggled">on_id2Button_toggled</a></td>
129 <td>Private slot to handle changes of the ID2 select button.</td>
130 </tr>
131 <tr>
132 <td><a href="#HgRebaseDialog.on_id2Edit_textChanged">on_id2Edit_textChanged</a></td>
133 <td>Private slot to handle changes of the ID2 edit.</td>
134 </tr>
135 <tr>
136 <td><a href="#HgRebaseDialog.on_tag1Button_toggled">on_tag1Button_toggled</a></td>
137 <td>Private slot to handle changes of the Tag1 select button.</td>
138 </tr>
139 <tr>
140 <td><a href="#HgRebaseDialog.on_tag1Combo_editTextChanged">on_tag1Combo_editTextChanged</a></td>
141 <td>Private slot to handle changes of the Tag1 combo.</td>
142 </tr>
143 <tr>
144 <td><a href="#HgRebaseDialog.on_tag2Button_toggled">on_tag2Button_toggled</a></td>
145 <td>Private slot to handle changes of the Tag2 select button.</td>
146 </tr>
147 <tr>
148 <td><a href="#HgRebaseDialog.on_tag2Combo_editTextChanged">on_tag2Combo_editTextChanged</a></td>
149 <td>Private slot to handle changes of the Tag2 combo.</td>
150 </tr>
151 </table>
152 <h3>Static Methods</h3>
153
154 <table>
155 <tr><td>None</td></tr>
156 </table>
157
158 <a NAME="HgRebaseDialog.__init__" ID="HgRebaseDialog.__init__"></a>
159 <h4>HgRebaseDialog (Constructor)</h4>
160 <b>HgRebaseDialog</b>(<i>tagsList, branchesList, bookmarksList, version, parent=None</i>)
161
162 <p>
163 Constructor
164 </p>
165 <dl>
166
167 <dt><i>tagsList</i> (list of str)</dt>
168 <dd>
169 list of tags
170 </dd>
171 <dt><i>branchesList</i> (list of str)</dt>
172 <dd>
173 list of branches
174 </dd>
175 <dt><i>bookmarksList</i> (list of str)</dt>
176 <dd>
177 list of bookmarks
178 </dd>
179 <dt><i>version</i> (tuple of int)</dt>
180 <dd>
181 tuple giving the Mercurial version
182 </dd>
183 <dt><i>parent</i> (QWidget)</dt>
184 <dd>
185 reference to the parent widget
186 </dd>
187 </dl>
188 <a NAME="HgRebaseDialog.__getRevision" ID="HgRebaseDialog.__getRevision"></a>
189 <h4>HgRebaseDialog.__getRevision</h4>
190 <b>__getRevision</b>(<i>no</i>)
191
192 <p>
193 Private method to generate the revision.
194 </p>
195 <dl>
196
197 <dt><i>no</i></dt>
198 <dd>
199 revision number to generate (1 or 2)
200 </dd>
201 </dl>
202 <dl>
203 <dt>Return:</dt>
204 <dd>
205 revision (string)
206 </dd>
207 </dl>
208 <a NAME="HgRebaseDialog.__updateOK" ID="HgRebaseDialog.__updateOK"></a>
209 <h4>HgRebaseDialog.__updateOK</h4>
210 <b>__updateOK</b>(<i></i>)
211
212 <p>
213 Private slot to update the OK button.
214 </p>
215 <a NAME="HgRebaseDialog.getData" ID="HgRebaseDialog.getData"></a>
216 <h4>HgRebaseDialog.getData</h4>
217 <b>getData</b>(<i></i>)
218
219 <p>
220 Public method to retrieve the data for the rebase session.
221 </p>
222 <dl>
223 <dt>Return:</dt>
224 <dd>
225 tuple with a source indicator of "S" or "B", the source
226 revision, the destination revision, a flag indicating to collapse,
227 a flag indicating to keep the original changesets, a flag
228 indicating to keep the original branch name, a flag indicating
229 to detach the source, a flag indicating to perform a dry-run only
230 and a flag indicating to perform a dry-run first, than ask for
231 confirmation
232 </dd>
233 </dl>
234 <dl>
235 <dt>Return Type:</dt>
236 <dd>
237 tuple of (str, str, str, bool, bool, bool, bool, bool, bool)
238 </dd>
239 </dl>
240 <a NAME="HgRebaseDialog.on_bookmark1Button_toggled" ID="HgRebaseDialog.on_bookmark1Button_toggled"></a>
241 <h4>HgRebaseDialog.on_bookmark1Button_toggled</h4>
242 <b>on_bookmark1Button_toggled</b>(<i>checked</i>)
243
244 <p>
245 Private slot to handle changes of the Bookmark1 select button.
246 </p>
247 <dl>
248
249 <dt><i>checked</i></dt>
250 <dd>
251 state of the button (boolean)
252 </dd>
253 </dl>
254 <a NAME="HgRebaseDialog.on_bookmark1Combo_editTextChanged" ID="HgRebaseDialog.on_bookmark1Combo_editTextChanged"></a>
255 <h4>HgRebaseDialog.on_bookmark1Combo_editTextChanged</h4>
256 <b>on_bookmark1Combo_editTextChanged</b>(<i>txt</i>)
257
258 <p>
259 Private slot to handle changes of the Bookmark1 combo.
260 </p>
261 <dl>
262
263 <dt><i>txt</i></dt>
264 <dd>
265 text of the combo (string)
266 </dd>
267 </dl>
268 <a NAME="HgRebaseDialog.on_bookmark2Button_toggled" ID="HgRebaseDialog.on_bookmark2Button_toggled"></a>
269 <h4>HgRebaseDialog.on_bookmark2Button_toggled</h4>
270 <b>on_bookmark2Button_toggled</b>(<i>checked</i>)
271
272 <p>
273 Private slot to handle changes of the Bookmark2 select button.
274 </p>
275 <dl>
276
277 <dt><i>checked</i></dt>
278 <dd>
279 state of the button (boolean)
280 </dd>
281 </dl>
282 <a NAME="HgRebaseDialog.on_bookmark2Combo_editTextChanged" ID="HgRebaseDialog.on_bookmark2Combo_editTextChanged"></a>
283 <h4>HgRebaseDialog.on_bookmark2Combo_editTextChanged</h4>
284 <b>on_bookmark2Combo_editTextChanged</b>(<i>txt</i>)
285
286 <p>
287 Private slot to handle changes of the Bookmark2 combo.
288 </p>
289 <dl>
290
291 <dt><i>txt</i></dt>
292 <dd>
293 text of the combo (string)
294 </dd>
295 </dl>
296 <a NAME="HgRebaseDialog.on_branch1Button_toggled" ID="HgRebaseDialog.on_branch1Button_toggled"></a>
297 <h4>HgRebaseDialog.on_branch1Button_toggled</h4>
298 <b>on_branch1Button_toggled</b>(<i>checked</i>)
299
300 <p>
301 Private slot to handle changes of the Branch1 select button.
302 </p>
303 <dl>
304
305 <dt><i>checked</i></dt>
306 <dd>
307 state of the button (boolean)
308 </dd>
309 </dl>
310 <a NAME="HgRebaseDialog.on_branch1Combo_editTextChanged" ID="HgRebaseDialog.on_branch1Combo_editTextChanged"></a>
311 <h4>HgRebaseDialog.on_branch1Combo_editTextChanged</h4>
312 <b>on_branch1Combo_editTextChanged</b>(<i>txt</i>)
313
314 <p>
315 Private slot to handle changes of the Branch1 combo.
316 </p>
317 <dl>
318
319 <dt><i>txt</i></dt>
320 <dd>
321 text of the combo (string)
322 </dd>
323 </dl>
324 <a NAME="HgRebaseDialog.on_branch2Button_toggled" ID="HgRebaseDialog.on_branch2Button_toggled"></a>
325 <h4>HgRebaseDialog.on_branch2Button_toggled</h4>
326 <b>on_branch2Button_toggled</b>(<i>checked</i>)
327
328 <p>
329 Private slot to handle changes of the Branch2 select button.
330 </p>
331 <dl>
332
333 <dt><i>checked</i></dt>
334 <dd>
335 state of the button (boolean)
336 </dd>
337 </dl>
338 <a NAME="HgRebaseDialog.on_branch2Combo_editTextChanged" ID="HgRebaseDialog.on_branch2Combo_editTextChanged"></a>
339 <h4>HgRebaseDialog.on_branch2Combo_editTextChanged</h4>
340 <b>on_branch2Combo_editTextChanged</b>(<i>txt</i>)
341
342 <p>
343 Private slot to handle changes of the Branch2 combo.
344 </p>
345 <dl>
346
347 <dt><i>txt</i></dt>
348 <dd>
349 text of the combo (string)
350 </dd>
351 </dl>
352 <a NAME="HgRebaseDialog.on_id1Button_toggled" ID="HgRebaseDialog.on_id1Button_toggled"></a>
353 <h4>HgRebaseDialog.on_id1Button_toggled</h4>
354 <b>on_id1Button_toggled</b>(<i>checked</i>)
355
356 <p>
357 Private slot to handle changes of the ID1 select button.
358 </p>
359 <dl>
360
361 <dt><i>checked</i></dt>
362 <dd>
363 state of the button (boolean)
364 </dd>
365 </dl>
366 <a NAME="HgRebaseDialog.on_id1Edit_textChanged" ID="HgRebaseDialog.on_id1Edit_textChanged"></a>
367 <h4>HgRebaseDialog.on_id1Edit_textChanged</h4>
368 <b>on_id1Edit_textChanged</b>(<i>txt</i>)
369
370 <p>
371 Private slot to handle changes of the ID1 edit.
372 </p>
373 <dl>
374
375 <dt><i>txt</i></dt>
376 <dd>
377 text of the edit (string)
378 </dd>
379 </dl>
380 <a NAME="HgRebaseDialog.on_id2Button_toggled" ID="HgRebaseDialog.on_id2Button_toggled"></a>
381 <h4>HgRebaseDialog.on_id2Button_toggled</h4>
382 <b>on_id2Button_toggled</b>(<i>checked</i>)
383
384 <p>
385 Private slot to handle changes of the ID2 select button.
386 </p>
387 <dl>
388
389 <dt><i>checked</i></dt>
390 <dd>
391 state of the button (boolean)
392 </dd>
393 </dl>
394 <a NAME="HgRebaseDialog.on_id2Edit_textChanged" ID="HgRebaseDialog.on_id2Edit_textChanged"></a>
395 <h4>HgRebaseDialog.on_id2Edit_textChanged</h4>
396 <b>on_id2Edit_textChanged</b>(<i>txt</i>)
397
398 <p>
399 Private slot to handle changes of the ID2 edit.
400 </p>
401 <dl>
402
403 <dt><i>txt</i></dt>
404 <dd>
405 text of the edit (string)
406 </dd>
407 </dl>
408 <a NAME="HgRebaseDialog.on_tag1Button_toggled" ID="HgRebaseDialog.on_tag1Button_toggled"></a>
409 <h4>HgRebaseDialog.on_tag1Button_toggled</h4>
410 <b>on_tag1Button_toggled</b>(<i>checked</i>)
411
412 <p>
413 Private slot to handle changes of the Tag1 select button.
414 </p>
415 <dl>
416
417 <dt><i>checked</i></dt>
418 <dd>
419 state of the button (boolean)
420 </dd>
421 </dl>
422 <a NAME="HgRebaseDialog.on_tag1Combo_editTextChanged" ID="HgRebaseDialog.on_tag1Combo_editTextChanged"></a>
423 <h4>HgRebaseDialog.on_tag1Combo_editTextChanged</h4>
424 <b>on_tag1Combo_editTextChanged</b>(<i>txt</i>)
425
426 <p>
427 Private slot to handle changes of the Tag1 combo.
428 </p>
429 <dl>
430
431 <dt><i>txt</i></dt>
432 <dd>
433 text of the combo (string)
434 </dd>
435 </dl>
436 <a NAME="HgRebaseDialog.on_tag2Button_toggled" ID="HgRebaseDialog.on_tag2Button_toggled"></a>
437 <h4>HgRebaseDialog.on_tag2Button_toggled</h4>
438 <b>on_tag2Button_toggled</b>(<i>checked</i>)
439
440 <p>
441 Private slot to handle changes of the Tag2 select button.
442 </p>
443 <dl>
444
445 <dt><i>checked</i></dt>
446 <dd>
447 state of the button (boolean)
448 </dd>
449 </dl>
450 <a NAME="HgRebaseDialog.on_tag2Combo_editTextChanged" ID="HgRebaseDialog.on_tag2Combo_editTextChanged"></a>
451 <h4>HgRebaseDialog.on_tag2Combo_editTextChanged</h4>
452 <b>on_tag2Combo_editTextChanged</b>(<i>txt</i>)
453
454 <p>
455 Private slot to handle changes of the Tag2 combo.
456 </p>
457 <dl>
458
459 <dt><i>txt</i></dt>
460 <dd>
461 text of the combo (string)
462 </dd>
463 </dl>
464 <div align="right"><a href="#top">Up</a></div>
465 <hr />
466 </body></html>

eric ide

mercurial