Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog.html

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog</h1>
23 <p>
24 Module implementing a dialog to enter the revisions for the hg diff command.
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="#HgRevisionsSelectionDialog">HgRevisionsSelectionDialog</a></td>
34 <td>Class implementing a dialog to enter the revisions for the hg diff command.</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="HgRevisionsSelectionDialog" ID="HgRevisionsSelectionDialog"></a>
43 <h2>HgRevisionsSelectionDialog</h2>
44 <p>
45 Class implementing a dialog to enter the revisions for the hg diff command.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_HgRevisionsSelectionDialog
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="#HgRevisionsSelectionDialog.__init__">HgRevisionsSelectionDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgRevisionsSelectionDialog.__getRevision">__getRevision</a></td>
64 <td>Private method to generate the revision.</td>
65 </tr><tr>
66 <td><a href="#HgRevisionsSelectionDialog.__updateOK">__updateOK</a></td>
67 <td>Private slot to update the OK button.</td>
68 </tr><tr>
69 <td><a href="#HgRevisionsSelectionDialog.getRevisions">getRevisions</a></td>
70 <td>Public method to get the revisions.</td>
71 </tr><tr>
72 <td><a href="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="#HgRevisionsSelectionDialog.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="HgRevisionsSelectionDialog.__init__" ID="HgRevisionsSelectionDialog.__init__"></a>
126 <h4>HgRevisionsSelectionDialog (Constructor)</h4>
127 <b>HgRevisionsSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)
128 <p>
129 Constructor
130 </p><dl>
131 <dt><i>tagsList</i></dt>
132 <dd>
133 list of tags (list of strings)
134 </dd><dt><i>branchesList</i></dt>
135 <dd>
136 list of branches (list of strings)
137 </dd><dt><i>bookmarksList</i></dt>
138 <dd>
139 list of bookmarks (list of strings)
140 </dd><dt><i>parent</i></dt>
141 <dd>
142 parent widget of the dialog (QWidget)
143 </dd>
144 </dl><a NAME="HgRevisionsSelectionDialog.__getRevision" ID="HgRevisionsSelectionDialog.__getRevision"></a>
145 <h4>HgRevisionsSelectionDialog.__getRevision</h4>
146 <b>__getRevision</b>(<i>no</i>)
147 <p>
148 Private method to generate the revision.
149 </p><dl>
150 <dt><i>no</i></dt>
151 <dd>
152 revision number to generate (1 or 2)
153 </dd>
154 </dl><dl>
155 <dt>Returns:</dt>
156 <dd>
157 revision (string)
158 </dd>
159 </dl><a NAME="HgRevisionsSelectionDialog.__updateOK" ID="HgRevisionsSelectionDialog.__updateOK"></a>
160 <h4>HgRevisionsSelectionDialog.__updateOK</h4>
161 <b>__updateOK</b>(<i></i>)
162 <p>
163 Private slot to update the OK button.
164 </p><a NAME="HgRevisionsSelectionDialog.getRevisions" ID="HgRevisionsSelectionDialog.getRevisions"></a>
165 <h4>HgRevisionsSelectionDialog.getRevisions</h4>
166 <b>getRevisions</b>(<i></i>)
167 <p>
168 Public method to get the revisions.
169 </p><dl>
170 <dt>Returns:</dt>
171 <dd>
172 list two strings
173 </dd>
174 </dl><a NAME="HgRevisionsSelectionDialog.on_bookmark1Button_toggled" ID="HgRevisionsSelectionDialog.on_bookmark1Button_toggled"></a>
175 <h4>HgRevisionsSelectionDialog.on_bookmark1Button_toggled</h4>
176 <b>on_bookmark1Button_toggled</b>(<i>checked</i>)
177 <p>
178 Private slot to handle changes of the Bookmark1 select button.
179 </p><dl>
180 <dt><i>checked</i></dt>
181 <dd>
182 state of the button (boolean)
183 </dd>
184 </dl><a NAME="HgRevisionsSelectionDialog.on_bookmark1Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_bookmark1Combo_editTextChanged"></a>
185 <h4>HgRevisionsSelectionDialog.on_bookmark1Combo_editTextChanged</h4>
186 <b>on_bookmark1Combo_editTextChanged</b>(<i>txt</i>)
187 <p>
188 Private slot to handle changes of the Bookmark1 combo.
189 </p><dl>
190 <dt><i>txt</i></dt>
191 <dd>
192 text of the combo (string)
193 </dd>
194 </dl><a NAME="HgRevisionsSelectionDialog.on_bookmark2Button_toggled" ID="HgRevisionsSelectionDialog.on_bookmark2Button_toggled"></a>
195 <h4>HgRevisionsSelectionDialog.on_bookmark2Button_toggled</h4>
196 <b>on_bookmark2Button_toggled</b>(<i>checked</i>)
197 <p>
198 Private slot to handle changes of the Bookmark2 select button.
199 </p><dl>
200 <dt><i>checked</i></dt>
201 <dd>
202 state of the button (boolean)
203 </dd>
204 </dl><a NAME="HgRevisionsSelectionDialog.on_bookmark2Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_bookmark2Combo_editTextChanged"></a>
205 <h4>HgRevisionsSelectionDialog.on_bookmark2Combo_editTextChanged</h4>
206 <b>on_bookmark2Combo_editTextChanged</b>(<i>txt</i>)
207 <p>
208 Private slot to handle changes of the Bookmark2 combo.
209 </p><dl>
210 <dt><i>txt</i></dt>
211 <dd>
212 text of the combo (string)
213 </dd>
214 </dl><a NAME="HgRevisionsSelectionDialog.on_branch1Button_toggled" ID="HgRevisionsSelectionDialog.on_branch1Button_toggled"></a>
215 <h4>HgRevisionsSelectionDialog.on_branch1Button_toggled</h4>
216 <b>on_branch1Button_toggled</b>(<i>checked</i>)
217 <p>
218 Private slot to handle changes of the Branch1 select button.
219 </p><dl>
220 <dt><i>checked</i></dt>
221 <dd>
222 state of the button (boolean)
223 </dd>
224 </dl><a NAME="HgRevisionsSelectionDialog.on_branch1Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_branch1Combo_editTextChanged"></a>
225 <h4>HgRevisionsSelectionDialog.on_branch1Combo_editTextChanged</h4>
226 <b>on_branch1Combo_editTextChanged</b>(<i>txt</i>)
227 <p>
228 Private slot to handle changes of the Branch1 combo.
229 </p><dl>
230 <dt><i>txt</i></dt>
231 <dd>
232 text of the combo (string)
233 </dd>
234 </dl><a NAME="HgRevisionsSelectionDialog.on_branch2Button_toggled" ID="HgRevisionsSelectionDialog.on_branch2Button_toggled"></a>
235 <h4>HgRevisionsSelectionDialog.on_branch2Button_toggled</h4>
236 <b>on_branch2Button_toggled</b>(<i>checked</i>)
237 <p>
238 Private slot to handle changes of the Branch2 select button.
239 </p><dl>
240 <dt><i>checked</i></dt>
241 <dd>
242 state of the button (boolean)
243 </dd>
244 </dl><a NAME="HgRevisionsSelectionDialog.on_branch2Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_branch2Combo_editTextChanged"></a>
245 <h4>HgRevisionsSelectionDialog.on_branch2Combo_editTextChanged</h4>
246 <b>on_branch2Combo_editTextChanged</b>(<i>txt</i>)
247 <p>
248 Private slot to handle changes of the Branch2 combo.
249 </p><dl>
250 <dt><i>txt</i></dt>
251 <dd>
252 text of the combo (string)
253 </dd>
254 </dl><a NAME="HgRevisionsSelectionDialog.on_id1Button_toggled" ID="HgRevisionsSelectionDialog.on_id1Button_toggled"></a>
255 <h4>HgRevisionsSelectionDialog.on_id1Button_toggled</h4>
256 <b>on_id1Button_toggled</b>(<i>checked</i>)
257 <p>
258 Private slot to handle changes of the ID1 select button.
259 </p><dl>
260 <dt><i>checked</i></dt>
261 <dd>
262 state of the button (boolean)
263 </dd>
264 </dl><a NAME="HgRevisionsSelectionDialog.on_id1Edit_textChanged" ID="HgRevisionsSelectionDialog.on_id1Edit_textChanged"></a>
265 <h4>HgRevisionsSelectionDialog.on_id1Edit_textChanged</h4>
266 <b>on_id1Edit_textChanged</b>(<i>txt</i>)
267 <p>
268 Private slot to handle changes of the ID1 edit.
269 </p><dl>
270 <dt><i>txt</i></dt>
271 <dd>
272 text of the edit (string)
273 </dd>
274 </dl><a NAME="HgRevisionsSelectionDialog.on_id2Button_toggled" ID="HgRevisionsSelectionDialog.on_id2Button_toggled"></a>
275 <h4>HgRevisionsSelectionDialog.on_id2Button_toggled</h4>
276 <b>on_id2Button_toggled</b>(<i>checked</i>)
277 <p>
278 Private slot to handle changes of the ID2 select button.
279 </p><dl>
280 <dt><i>checked</i></dt>
281 <dd>
282 state of the button (boolean)
283 </dd>
284 </dl><a NAME="HgRevisionsSelectionDialog.on_id2Edit_textChanged" ID="HgRevisionsSelectionDialog.on_id2Edit_textChanged"></a>
285 <h4>HgRevisionsSelectionDialog.on_id2Edit_textChanged</h4>
286 <b>on_id2Edit_textChanged</b>(<i>txt</i>)
287 <p>
288 Private slot to handle changes of the ID2 edit.
289 </p><dl>
290 <dt><i>txt</i></dt>
291 <dd>
292 text of the edit (string)
293 </dd>
294 </dl><a NAME="HgRevisionsSelectionDialog.on_tag1Button_toggled" ID="HgRevisionsSelectionDialog.on_tag1Button_toggled"></a>
295 <h4>HgRevisionsSelectionDialog.on_tag1Button_toggled</h4>
296 <b>on_tag1Button_toggled</b>(<i>checked</i>)
297 <p>
298 Private slot to handle changes of the Tag1 select button.
299 </p><dl>
300 <dt><i>checked</i></dt>
301 <dd>
302 state of the button (boolean)
303 </dd>
304 </dl><a NAME="HgRevisionsSelectionDialog.on_tag1Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_tag1Combo_editTextChanged"></a>
305 <h4>HgRevisionsSelectionDialog.on_tag1Combo_editTextChanged</h4>
306 <b>on_tag1Combo_editTextChanged</b>(<i>txt</i>)
307 <p>
308 Private slot to handle changes of the Tag1 combo.
309 </p><dl>
310 <dt><i>txt</i></dt>
311 <dd>
312 text of the combo (string)
313 </dd>
314 </dl><a NAME="HgRevisionsSelectionDialog.on_tag2Button_toggled" ID="HgRevisionsSelectionDialog.on_tag2Button_toggled"></a>
315 <h4>HgRevisionsSelectionDialog.on_tag2Button_toggled</h4>
316 <b>on_tag2Button_toggled</b>(<i>checked</i>)
317 <p>
318 Private slot to handle changes of the Tag2 select button.
319 </p><dl>
320 <dt><i>checked</i></dt>
321 <dd>
322 state of the button (boolean)
323 </dd>
324 </dl><a NAME="HgRevisionsSelectionDialog.on_tag2Combo_editTextChanged" ID="HgRevisionsSelectionDialog.on_tag2Combo_editTextChanged"></a>
325 <h4>HgRevisionsSelectionDialog.on_tag2Combo_editTextChanged</h4>
326 <b>on_tag2Combo_editTextChanged</b>(<i>txt</i>)
327 <p>
328 Private slot to handle changes of the Tag2 combo.
329 </p><dl>
330 <dt><i>txt</i></dt>
331 <dd>
332 text of the combo (string)
333 </dd>
334 </dl>
335 <div align="right"><a href="#top">Up</a></div>
336 <hr />
337 </body></html>

eric ide

mercurial