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

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

eric ide

mercurial