eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog.html

changeset 6942
2602857055c5
parent 6466
dac80ad0de75
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog</h1>
23 <p>
24 Module implementing a dialog to enter the data for a rebase session.
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="#HgRebaseDialog">HgRebaseDialog</a></td>
34 <td>Class implementing a dialog to enter the data for a rebase session.</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="HgRebaseDialog" ID="HgRebaseDialog"></a>
43 <h2>HgRebaseDialog</h2>
44 <p>
45 Class implementing a dialog to enter the data for a rebase session.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgRebaseDialog
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="#HgRebaseDialog.__init__">HgRebaseDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgRebaseDialog.__getRevision">__getRevision</a></td>
64 <td>Private method to generate the revision.</td>
65 </tr><tr>
66 <td><a href="#HgRebaseDialog.__updateOK">__updateOK</a></td>
67 <td>Private slot to update the OK button.</td>
68 </tr><tr>
69 <td><a href="#HgRebaseDialog.getData">getData</a></td>
70 <td>Public method to retrieve the data for the rebase session.</td>
71 </tr><tr>
72 <td><a href="#HgRebaseDialog.on_bookmark1Button_toggled">on_bookmark1Button_toggled</a></td>
73 <td>Private slot to handle changes of the Bookmark1 select button.</td>
74 </tr><tr>
75 <td><a href="#HgRebaseDialog.on_bookmark1Combo_editTextChanged">on_bookmark1Combo_editTextChanged</a></td>
76 <td>Private slot to handle changes of the Bookmark1 combo.</td>
77 </tr><tr>
78 <td><a href="#HgRebaseDialog.on_bookmark2Button_toggled">on_bookmark2Button_toggled</a></td>
79 <td>Private slot to handle changes of the Bookmark2 select button.</td>
80 </tr><tr>
81 <td><a href="#HgRebaseDialog.on_bookmark2Combo_editTextChanged">on_bookmark2Combo_editTextChanged</a></td>
82 <td>Private slot to handle changes of the Bookmark2 combo.</td>
83 </tr><tr>
84 <td><a href="#HgRebaseDialog.on_branch1Button_toggled">on_branch1Button_toggled</a></td>
85 <td>Private slot to handle changes of the Branch1 select button.</td>
86 </tr><tr>
87 <td><a href="#HgRebaseDialog.on_branch1Combo_editTextChanged">on_branch1Combo_editTextChanged</a></td>
88 <td>Private slot to handle changes of the Branch1 combo.</td>
89 </tr><tr>
90 <td><a href="#HgRebaseDialog.on_branch2Button_toggled">on_branch2Button_toggled</a></td>
91 <td>Private slot to handle changes of the Branch2 select button.</td>
92 </tr><tr>
93 <td><a href="#HgRebaseDialog.on_branch2Combo_editTextChanged">on_branch2Combo_editTextChanged</a></td>
94 <td>Private slot to handle changes of the Branch2 combo.</td>
95 </tr><tr>
96 <td><a href="#HgRebaseDialog.on_id1Button_toggled">on_id1Button_toggled</a></td>
97 <td>Private slot to handle changes of the ID1 select button.</td>
98 </tr><tr>
99 <td><a href="#HgRebaseDialog.on_id1Edit_textChanged">on_id1Edit_textChanged</a></td>
100 <td>Private slot to handle changes of the ID1 edit.</td>
101 </tr><tr>
102 <td><a href="#HgRebaseDialog.on_id2Button_toggled">on_id2Button_toggled</a></td>
103 <td>Private slot to handle changes of the ID2 select button.</td>
104 </tr><tr>
105 <td><a href="#HgRebaseDialog.on_id2Edit_textChanged">on_id2Edit_textChanged</a></td>
106 <td>Private slot to handle changes of the ID2 edit.</td>
107 </tr><tr>
108 <td><a href="#HgRebaseDialog.on_tag1Button_toggled">on_tag1Button_toggled</a></td>
109 <td>Private slot to handle changes of the Tag1 select button.</td>
110 </tr><tr>
111 <td><a href="#HgRebaseDialog.on_tag1Combo_editTextChanged">on_tag1Combo_editTextChanged</a></td>
112 <td>Private slot to handle changes of the Tag1 combo.</td>
113 </tr><tr>
114 <td><a href="#HgRebaseDialog.on_tag2Button_toggled">on_tag2Button_toggled</a></td>
115 <td>Private slot to handle changes of the Tag2 select button.</td>
116 </tr><tr>
117 <td><a href="#HgRebaseDialog.on_tag2Combo_editTextChanged">on_tag2Combo_editTextChanged</a></td>
118 <td>Private slot to handle changes of the Tag2 combo.</td>
119 </tr>
120 </table>
121 <h3>Static Methods</h3>
122 <table>
123 <tr><td>None</td></tr>
124 </table>
125 <a NAME="HgRebaseDialog.__init__" ID="HgRebaseDialog.__init__"></a>
126 <h4>HgRebaseDialog (Constructor)</h4>
127 <b>HgRebaseDialog</b>(<i>tagsList, branchesList, bookmarksList, version, parent=None</i>)
128 <p>
129 Constructor
130 </p><dl>
131 <dt><i>tagsList</i> (list of str)</dt>
132 <dd>
133 list of tags
134 </dd><dt><i>branchesList</i> (list of str)</dt>
135 <dd>
136 list of branches
137 </dd><dt><i>bookmarksList</i> (list of str)</dt>
138 <dd>
139 list of bookmarks
140 </dd><dt><i>version</i> (tuple of int)</dt>
141 <dd>
142 tuple giving the Mercurial version
143 </dd><dt><i>parent</i> (QWidget)</dt>
144 <dd>
145 reference to the parent widget
146 </dd>
147 </dl><a NAME="HgRebaseDialog.__getRevision" ID="HgRebaseDialog.__getRevision"></a>
148 <h4>HgRebaseDialog.__getRevision</h4>
149 <b>__getRevision</b>(<i>no</i>)
150 <p>
151 Private method to generate the revision.
152 </p><dl>
153 <dt><i>no</i></dt>
154 <dd>
155 revision number to generate (1 or 2)
156 </dd>
157 </dl><dl>
158 <dt>Returns:</dt>
159 <dd>
160 revision (string)
161 </dd>
162 </dl><a NAME="HgRebaseDialog.__updateOK" ID="HgRebaseDialog.__updateOK"></a>
163 <h4>HgRebaseDialog.__updateOK</h4>
164 <b>__updateOK</b>(<i></i>)
165 <p>
166 Private slot to update the OK button.
167 </p><a NAME="HgRebaseDialog.getData" ID="HgRebaseDialog.getData"></a>
168 <h4>HgRebaseDialog.getData</h4>
169 <b>getData</b>(<i></i>)
170 <p>
171 Public method to retrieve the data for the rebase session.
172 </p><dl>
173 <dt>Returns:</dt>
174 <dd>
175 tuple with a source indicator of "S" or "B", the source
176 revision, the destination revision, a flag indicating to collapse,
177 a flag indicating to keep the original changesets, a flag
178 indicating to keep the original branch name, a flag indicating
179 to detach the source, a flag indicating to perform a dry-run only
180 and a flag indicating to perform a dry-run first, than ask for
181 confirmation
182 </dd>
183 </dl><dl>
184 <dt>Return Type:</dt>
185 <dd>
186 tuple of (str, str, str, bool, bool, bool, bool, bool, bool)
187 </dd>
188 </dl><a NAME="HgRebaseDialog.on_bookmark1Button_toggled" ID="HgRebaseDialog.on_bookmark1Button_toggled"></a>
189 <h4>HgRebaseDialog.on_bookmark1Button_toggled</h4>
190 <b>on_bookmark1Button_toggled</b>(<i>checked</i>)
191 <p>
192 Private slot to handle changes of the Bookmark1 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="HgRebaseDialog.on_bookmark1Combo_editTextChanged" ID="HgRebaseDialog.on_bookmark1Combo_editTextChanged"></a>
199 <h4>HgRebaseDialog.on_bookmark1Combo_editTextChanged</h4>
200 <b>on_bookmark1Combo_editTextChanged</b>(<i>txt</i>)
201 <p>
202 Private slot to handle changes of the Bookmark1 combo.
203 </p><dl>
204 <dt><i>txt</i></dt>
205 <dd>
206 text of the combo (string)
207 </dd>
208 </dl><a NAME="HgRebaseDialog.on_bookmark2Button_toggled" ID="HgRebaseDialog.on_bookmark2Button_toggled"></a>
209 <h4>HgRebaseDialog.on_bookmark2Button_toggled</h4>
210 <b>on_bookmark2Button_toggled</b>(<i>checked</i>)
211 <p>
212 Private slot to handle changes of the Bookmark2 select button.
213 </p><dl>
214 <dt><i>checked</i></dt>
215 <dd>
216 state of the button (boolean)
217 </dd>
218 </dl><a NAME="HgRebaseDialog.on_bookmark2Combo_editTextChanged" ID="HgRebaseDialog.on_bookmark2Combo_editTextChanged"></a>
219 <h4>HgRebaseDialog.on_bookmark2Combo_editTextChanged</h4>
220 <b>on_bookmark2Combo_editTextChanged</b>(<i>txt</i>)
221 <p>
222 Private slot to handle changes of the Bookmark2 combo.
223 </p><dl>
224 <dt><i>txt</i></dt>
225 <dd>
226 text of the combo (string)
227 </dd>
228 </dl><a NAME="HgRebaseDialog.on_branch1Button_toggled" ID="HgRebaseDialog.on_branch1Button_toggled"></a>
229 <h4>HgRebaseDialog.on_branch1Button_toggled</h4>
230 <b>on_branch1Button_toggled</b>(<i>checked</i>)
231 <p>
232 Private slot to handle changes of the Branch1 select button.
233 </p><dl>
234 <dt><i>checked</i></dt>
235 <dd>
236 state of the button (boolean)
237 </dd>
238 </dl><a NAME="HgRebaseDialog.on_branch1Combo_editTextChanged" ID="HgRebaseDialog.on_branch1Combo_editTextChanged"></a>
239 <h4>HgRebaseDialog.on_branch1Combo_editTextChanged</h4>
240 <b>on_branch1Combo_editTextChanged</b>(<i>txt</i>)
241 <p>
242 Private slot to handle changes of the Branch1 combo.
243 </p><dl>
244 <dt><i>txt</i></dt>
245 <dd>
246 text of the combo (string)
247 </dd>
248 </dl><a NAME="HgRebaseDialog.on_branch2Button_toggled" ID="HgRebaseDialog.on_branch2Button_toggled"></a>
249 <h4>HgRebaseDialog.on_branch2Button_toggled</h4>
250 <b>on_branch2Button_toggled</b>(<i>checked</i>)
251 <p>
252 Private slot to handle changes of the Branch2 select button.
253 </p><dl>
254 <dt><i>checked</i></dt>
255 <dd>
256 state of the button (boolean)
257 </dd>
258 </dl><a NAME="HgRebaseDialog.on_branch2Combo_editTextChanged" ID="HgRebaseDialog.on_branch2Combo_editTextChanged"></a>
259 <h4>HgRebaseDialog.on_branch2Combo_editTextChanged</h4>
260 <b>on_branch2Combo_editTextChanged</b>(<i>txt</i>)
261 <p>
262 Private slot to handle changes of the Branch2 combo.
263 </p><dl>
264 <dt><i>txt</i></dt>
265 <dd>
266 text of the combo (string)
267 </dd>
268 </dl><a NAME="HgRebaseDialog.on_id1Button_toggled" ID="HgRebaseDialog.on_id1Button_toggled"></a>
269 <h4>HgRebaseDialog.on_id1Button_toggled</h4>
270 <b>on_id1Button_toggled</b>(<i>checked</i>)
271 <p>
272 Private slot to handle changes of the ID1 select button.
273 </p><dl>
274 <dt><i>checked</i></dt>
275 <dd>
276 state of the button (boolean)
277 </dd>
278 </dl><a NAME="HgRebaseDialog.on_id1Edit_textChanged" ID="HgRebaseDialog.on_id1Edit_textChanged"></a>
279 <h4>HgRebaseDialog.on_id1Edit_textChanged</h4>
280 <b>on_id1Edit_textChanged</b>(<i>txt</i>)
281 <p>
282 Private slot to handle changes of the ID1 edit.
283 </p><dl>
284 <dt><i>txt</i></dt>
285 <dd>
286 text of the edit (string)
287 </dd>
288 </dl><a NAME="HgRebaseDialog.on_id2Button_toggled" ID="HgRebaseDialog.on_id2Button_toggled"></a>
289 <h4>HgRebaseDialog.on_id2Button_toggled</h4>
290 <b>on_id2Button_toggled</b>(<i>checked</i>)
291 <p>
292 Private slot to handle changes of the ID2 select button.
293 </p><dl>
294 <dt><i>checked</i></dt>
295 <dd>
296 state of the button (boolean)
297 </dd>
298 </dl><a NAME="HgRebaseDialog.on_id2Edit_textChanged" ID="HgRebaseDialog.on_id2Edit_textChanged"></a>
299 <h4>HgRebaseDialog.on_id2Edit_textChanged</h4>
300 <b>on_id2Edit_textChanged</b>(<i>txt</i>)
301 <p>
302 Private slot to handle changes of the ID2 edit.
303 </p><dl>
304 <dt><i>txt</i></dt>
305 <dd>
306 text of the edit (string)
307 </dd>
308 </dl><a NAME="HgRebaseDialog.on_tag1Button_toggled" ID="HgRebaseDialog.on_tag1Button_toggled"></a>
309 <h4>HgRebaseDialog.on_tag1Button_toggled</h4>
310 <b>on_tag1Button_toggled</b>(<i>checked</i>)
311 <p>
312 Private slot to handle changes of the Tag1 select button.
313 </p><dl>
314 <dt><i>checked</i></dt>
315 <dd>
316 state of the button (boolean)
317 </dd>
318 </dl><a NAME="HgRebaseDialog.on_tag1Combo_editTextChanged" ID="HgRebaseDialog.on_tag1Combo_editTextChanged"></a>
319 <h4>HgRebaseDialog.on_tag1Combo_editTextChanged</h4>
320 <b>on_tag1Combo_editTextChanged</b>(<i>txt</i>)
321 <p>
322 Private slot to handle changes of the Tag1 combo.
323 </p><dl>
324 <dt><i>txt</i></dt>
325 <dd>
326 text of the combo (string)
327 </dd>
328 </dl><a NAME="HgRebaseDialog.on_tag2Button_toggled" ID="HgRebaseDialog.on_tag2Button_toggled"></a>
329 <h4>HgRebaseDialog.on_tag2Button_toggled</h4>
330 <b>on_tag2Button_toggled</b>(<i>checked</i>)
331 <p>
332 Private slot to handle changes of the Tag2 select button.
333 </p><dl>
334 <dt><i>checked</i></dt>
335 <dd>
336 state of the button (boolean)
337 </dd>
338 </dl><a NAME="HgRebaseDialog.on_tag2Combo_editTextChanged" ID="HgRebaseDialog.on_tag2Combo_editTextChanged"></a>
339 <h4>HgRebaseDialog.on_tag2Combo_editTextChanged</h4>
340 <b>on_tag2Combo_editTextChanged</b>(<i>txt</i>)
341 <p>
342 Private slot to handle changes of the Tag2 combo.
343 </p><dl>
344 <dt><i>txt</i></dt>
345 <dd>
346 text of the combo (string)
347 </dd>
348 </dl>
349 <div align="right"><a href="#top">Up</a></div>
350 <hr />
351 </body></html>

eric ide

mercurial