eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog.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.HgRevisionsSelectionDialog</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.HgRevisionsSelectionDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the revisions for the hg diff command.
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="#HgRevisionsSelectionDialog">HgRevisionsSelectionDialog</a></td>
39 <td>Class implementing a dialog to enter the revisions for the hg diff command.</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="HgRevisionsSelectionDialog" ID="HgRevisionsSelectionDialog"></a>
50 <h2>HgRevisionsSelectionDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter the revisions for the hg diff command.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_HgRevisionsSelectionDialog
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="#HgRevisionsSelectionDialog.__init__">HgRevisionsSelectionDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgRevisionsSelectionDialog.__getRevision">__getRevision</a></td>
77 <td>Private method to generate the revision.</td>
78 </tr>
79 <tr>
80 <td><a href="#HgRevisionsSelectionDialog.__updateOK">__updateOK</a></td>
81 <td>Private slot to update the OK button.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgRevisionsSelectionDialog.getRevisions">getRevisions</a></td>
85 <td>Public method to get the revisions.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="HgRevisionsSelectionDialog.__init__" ID="HgRevisionsSelectionDialog.__init__"></a>
159 <h4>HgRevisionsSelectionDialog (Constructor)</h4>
160 <b>HgRevisionsSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)
161
162 <p>
163 Constructor
164 </p>
165 <dl>
166
167 <dt><i>tagsList</i></dt>
168 <dd>
169 list of tags (list of strings)
170 </dd>
171 <dt><i>branchesList</i></dt>
172 <dd>
173 list of branches (list of strings)
174 </dd>
175 <dt><i>bookmarksList</i></dt>
176 <dd>
177 list of bookmarks (list of strings)
178 </dd>
179 <dt><i>parent</i></dt>
180 <dd>
181 parent widget of the dialog (QWidget)
182 </dd>
183 </dl>
184 <a NAME="HgRevisionsSelectionDialog.__getRevision" ID="HgRevisionsSelectionDialog.__getRevision"></a>
185 <h4>HgRevisionsSelectionDialog.__getRevision</h4>
186 <b>__getRevision</b>(<i>no</i>)
187
188 <p>
189 Private method to generate the revision.
190 </p>
191 <dl>
192
193 <dt><i>no</i></dt>
194 <dd>
195 revision number to generate (1 or 2)
196 </dd>
197 </dl>
198 <dl>
199 <dt>Return:</dt>
200 <dd>
201 revision (string)
202 </dd>
203 </dl>
204 <a NAME="HgRevisionsSelectionDialog.__updateOK" ID="HgRevisionsSelectionDialog.__updateOK"></a>
205 <h4>HgRevisionsSelectionDialog.__updateOK</h4>
206 <b>__updateOK</b>(<i></i>)
207
208 <p>
209 Private slot to update the OK button.
210 </p>
211 <a NAME="HgRevisionsSelectionDialog.getRevisions" ID="HgRevisionsSelectionDialog.getRevisions"></a>
212 <h4>HgRevisionsSelectionDialog.getRevisions</h4>
213 <b>getRevisions</b>(<i></i>)
214
215 <p>
216 Public method to get the revisions.
217 </p>
218 <dl>
219 <dt>Return:</dt>
220 <dd>
221 list two strings
222 </dd>
223 </dl>
224 <a NAME="HgRevisionsSelectionDialog.on_bookmark1Button_toggled" ID="HgRevisionsSelectionDialog.on_bookmark1Button_toggled"></a>
225 <h4>HgRevisionsSelectionDialog.on_bookmark1Button_toggled</h4>
226 <b>on_bookmark1Button_toggled</b>(<i>checked</i>)
227
228 <p>
229 Private slot to handle changes of the Bookmark1 select button.
230 </p>
231 <dl>
232
233 <dt><i>checked</i></dt>
234 <dd>
235 state of the button (boolean)
236 </dd>
237 </dl>
238 <a NAME="HgRevisionsSelectionDialog.on_bookmark1Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_bookmark1Combo_editTextChanged"></a>
239 <h4>HgRevisionsSelectionDialog.on_bookmark1Combo_editTextChanged</h4>
240 <b>on_bookmark1Combo_editTextChanged</b>(<i>txt</i>)
241
242 <p>
243 Private slot to handle changes of the Bookmark1 combo.
244 </p>
245 <dl>
246
247 <dt><i>txt</i></dt>
248 <dd>
249 text of the combo (string)
250 </dd>
251 </dl>
252 <a NAME="HgRevisionsSelectionDialog.on_bookmark2Button_toggled" ID="HgRevisionsSelectionDialog.on_bookmark2Button_toggled"></a>
253 <h4>HgRevisionsSelectionDialog.on_bookmark2Button_toggled</h4>
254 <b>on_bookmark2Button_toggled</b>(<i>checked</i>)
255
256 <p>
257 Private slot to handle changes of the Bookmark2 select button.
258 </p>
259 <dl>
260
261 <dt><i>checked</i></dt>
262 <dd>
263 state of the button (boolean)
264 </dd>
265 </dl>
266 <a NAME="HgRevisionsSelectionDialog.on_bookmark2Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_bookmark2Combo_editTextChanged"></a>
267 <h4>HgRevisionsSelectionDialog.on_bookmark2Combo_editTextChanged</h4>
268 <b>on_bookmark2Combo_editTextChanged</b>(<i>txt</i>)
269
270 <p>
271 Private slot to handle changes of the Bookmark2 combo.
272 </p>
273 <dl>
274
275 <dt><i>txt</i></dt>
276 <dd>
277 text of the combo (string)
278 </dd>
279 </dl>
280 <a NAME="HgRevisionsSelectionDialog.on_branch1Button_toggled" ID="HgRevisionsSelectionDialog.on_branch1Button_toggled"></a>
281 <h4>HgRevisionsSelectionDialog.on_branch1Button_toggled</h4>
282 <b>on_branch1Button_toggled</b>(<i>checked</i>)
283
284 <p>
285 Private slot to handle changes of the Branch1 select button.
286 </p>
287 <dl>
288
289 <dt><i>checked</i></dt>
290 <dd>
291 state of the button (boolean)
292 </dd>
293 </dl>
294 <a NAME="HgRevisionsSelectionDialog.on_branch1Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_branch1Combo_editTextChanged"></a>
295 <h4>HgRevisionsSelectionDialog.on_branch1Combo_editTextChanged</h4>
296 <b>on_branch1Combo_editTextChanged</b>(<i>txt</i>)
297
298 <p>
299 Private slot to handle changes of the Branch1 combo.
300 </p>
301 <dl>
302
303 <dt><i>txt</i></dt>
304 <dd>
305 text of the combo (string)
306 </dd>
307 </dl>
308 <a NAME="HgRevisionsSelectionDialog.on_branch2Button_toggled" ID="HgRevisionsSelectionDialog.on_branch2Button_toggled"></a>
309 <h4>HgRevisionsSelectionDialog.on_branch2Button_toggled</h4>
310 <b>on_branch2Button_toggled</b>(<i>checked</i>)
311
312 <p>
313 Private slot to handle changes of the Branch2 select button.
314 </p>
315 <dl>
316
317 <dt><i>checked</i></dt>
318 <dd>
319 state of the button (boolean)
320 </dd>
321 </dl>
322 <a NAME="HgRevisionsSelectionDialog.on_branch2Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_branch2Combo_editTextChanged"></a>
323 <h4>HgRevisionsSelectionDialog.on_branch2Combo_editTextChanged</h4>
324 <b>on_branch2Combo_editTextChanged</b>(<i>txt</i>)
325
326 <p>
327 Private slot to handle changes of the Branch2 combo.
328 </p>
329 <dl>
330
331 <dt><i>txt</i></dt>
332 <dd>
333 text of the combo (string)
334 </dd>
335 </dl>
336 <a NAME="HgRevisionsSelectionDialog.on_id1Button_toggled" ID="HgRevisionsSelectionDialog.on_id1Button_toggled"></a>
337 <h4>HgRevisionsSelectionDialog.on_id1Button_toggled</h4>
338 <b>on_id1Button_toggled</b>(<i>checked</i>)
339
340 <p>
341 Private slot to handle changes of the ID1 select button.
342 </p>
343 <dl>
344
345 <dt><i>checked</i></dt>
346 <dd>
347 state of the button (boolean)
348 </dd>
349 </dl>
350 <a NAME="HgRevisionsSelectionDialog.on_id1Edit_textChanged" ID="HgRevisionsSelectionDialog.on_id1Edit_textChanged"></a>
351 <h4>HgRevisionsSelectionDialog.on_id1Edit_textChanged</h4>
352 <b>on_id1Edit_textChanged</b>(<i>txt</i>)
353
354 <p>
355 Private slot to handle changes of the ID1 edit.
356 </p>
357 <dl>
358
359 <dt><i>txt</i></dt>
360 <dd>
361 text of the edit (string)
362 </dd>
363 </dl>
364 <a NAME="HgRevisionsSelectionDialog.on_id2Button_toggled" ID="HgRevisionsSelectionDialog.on_id2Button_toggled"></a>
365 <h4>HgRevisionsSelectionDialog.on_id2Button_toggled</h4>
366 <b>on_id2Button_toggled</b>(<i>checked</i>)
367
368 <p>
369 Private slot to handle changes of the ID2 select button.
370 </p>
371 <dl>
372
373 <dt><i>checked</i></dt>
374 <dd>
375 state of the button (boolean)
376 </dd>
377 </dl>
378 <a NAME="HgRevisionsSelectionDialog.on_id2Edit_textChanged" ID="HgRevisionsSelectionDialog.on_id2Edit_textChanged"></a>
379 <h4>HgRevisionsSelectionDialog.on_id2Edit_textChanged</h4>
380 <b>on_id2Edit_textChanged</b>(<i>txt</i>)
381
382 <p>
383 Private slot to handle changes of the ID2 edit.
384 </p>
385 <dl>
386
387 <dt><i>txt</i></dt>
388 <dd>
389 text of the edit (string)
390 </dd>
391 </dl>
392 <a NAME="HgRevisionsSelectionDialog.on_tag1Button_toggled" ID="HgRevisionsSelectionDialog.on_tag1Button_toggled"></a>
393 <h4>HgRevisionsSelectionDialog.on_tag1Button_toggled</h4>
394 <b>on_tag1Button_toggled</b>(<i>checked</i>)
395
396 <p>
397 Private slot to handle changes of the Tag1 select button.
398 </p>
399 <dl>
400
401 <dt><i>checked</i></dt>
402 <dd>
403 state of the button (boolean)
404 </dd>
405 </dl>
406 <a NAME="HgRevisionsSelectionDialog.on_tag1Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_tag1Combo_editTextChanged"></a>
407 <h4>HgRevisionsSelectionDialog.on_tag1Combo_editTextChanged</h4>
408 <b>on_tag1Combo_editTextChanged</b>(<i>txt</i>)
409
410 <p>
411 Private slot to handle changes of the Tag1 combo.
412 </p>
413 <dl>
414
415 <dt><i>txt</i></dt>
416 <dd>
417 text of the combo (string)
418 </dd>
419 </dl>
420 <a NAME="HgRevisionsSelectionDialog.on_tag2Button_toggled" ID="HgRevisionsSelectionDialog.on_tag2Button_toggled"></a>
421 <h4>HgRevisionsSelectionDialog.on_tag2Button_toggled</h4>
422 <b>on_tag2Button_toggled</b>(<i>checked</i>)
423
424 <p>
425 Private slot to handle changes of the Tag2 select button.
426 </p>
427 <dl>
428
429 <dt><i>checked</i></dt>
430 <dd>
431 state of the button (boolean)
432 </dd>
433 </dl>
434 <a NAME="HgRevisionsSelectionDialog.on_tag2Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_tag2Combo_editTextChanged"></a>
435 <h4>HgRevisionsSelectionDialog.on_tag2Combo_editTextChanged</h4>
436 <b>on_tag2Combo_editTextChanged</b>(<i>txt</i>)
437
438 <p>
439 Private slot to handle changes of the Tag2 combo.
440 </p>
441 <dl>
442
443 <dt><i>txt</i></dt>
444 <dd>
445 text of the combo (string)
446 </dd>
447 </dl>
448 <div align="right"><a href="#top">Up</a></div>
449 <hr />
450 </body></html>

eric ide

mercurial