eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitRevisionsSelectionDialog.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.vcsGit.GitRevisionsSelectionDialog</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.vcsGit.GitRevisionsSelectionDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the revisions for the git 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="#GitRevisionsSelectionDialog">GitRevisionsSelectionDialog</a></td>
39 <td>Class implementing a dialog to enter the revisions for the git 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="GitRevisionsSelectionDialog" ID="GitRevisionsSelectionDialog"></a>
50 <h2>GitRevisionsSelectionDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter the revisions for the git diff
54 command.
55 </p>
56 <h3>Derived from</h3>
57 QDialog, Ui_GitRevisionsSelectionDialog
58 <h3>Class Attributes</h3>
59
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Class Methods</h3>
64
65 <table>
66 <tr><td>None</td></tr>
67 </table>
68 <h3>Methods</h3>
69
70 <table>
71
72 <tr>
73 <td><a href="#GitRevisionsSelectionDialog.__init__">GitRevisionsSelectionDialog</a></td>
74 <td>Constructor</td>
75 </tr>
76 <tr>
77 <td><a href="#GitRevisionsSelectionDialog.__getRevision">__getRevision</a></td>
78 <td>Private method to generate the revision.</td>
79 </tr>
80 <tr>
81 <td><a href="#GitRevisionsSelectionDialog.__updateOK">__updateOK</a></td>
82 <td>Private slot to update the OK button.</td>
83 </tr>
84 <tr>
85 <td><a href="#GitRevisionsSelectionDialog.getRevisions">getRevisions</a></td>
86 <td>Public method to get the revisions.</td>
87 </tr>
88 <tr>
89 <td><a href="#GitRevisionsSelectionDialog.on_branch1Button_toggled">on_branch1Button_toggled</a></td>
90 <td>Private slot to handle changes of the Branch1 select button.</td>
91 </tr>
92 <tr>
93 <td><a href="#GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged">on_branch1Combo_editTextChanged</a></td>
94 <td>Private slot to handle changes of the Branch1 combo.</td>
95 </tr>
96 <tr>
97 <td><a href="#GitRevisionsSelectionDialog.on_branch2Button_toggled">on_branch2Button_toggled</a></td>
98 <td>Private slot to handle changes of the Branch2 select button.</td>
99 </tr>
100 <tr>
101 <td><a href="#GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged">on_branch2Combo_editTextChanged</a></td>
102 <td>Private slot to handle changes of the Branch2 combo.</td>
103 </tr>
104 <tr>
105 <td><a href="#GitRevisionsSelectionDialog.on_rev1Button_toggled">on_rev1Button_toggled</a></td>
106 <td>Private slot to handle changes of the rev1 select button.</td>
107 </tr>
108 <tr>
109 <td><a href="#GitRevisionsSelectionDialog.on_rev1Edit_textChanged">on_rev1Edit_textChanged</a></td>
110 <td>Private slot to handle changes of the rev1 edit.</td>
111 </tr>
112 <tr>
113 <td><a href="#GitRevisionsSelectionDialog.on_rev2Button_toggled">on_rev2Button_toggled</a></td>
114 <td>Private slot to handle changes of the rev2 select button.</td>
115 </tr>
116 <tr>
117 <td><a href="#GitRevisionsSelectionDialog.on_rev2Edit_textChanged">on_rev2Edit_textChanged</a></td>
118 <td>Private slot to handle changes of the rev2 edit.</td>
119 </tr>
120 <tr>
121 <td><a href="#GitRevisionsSelectionDialog.on_tag1Button_toggled">on_tag1Button_toggled</a></td>
122 <td>Private slot to handle changes of the Tag1 select button.</td>
123 </tr>
124 <tr>
125 <td><a href="#GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged">on_tag1Combo_editTextChanged</a></td>
126 <td>Private slot to handle changes of the Tag1 combo.</td>
127 </tr>
128 <tr>
129 <td><a href="#GitRevisionsSelectionDialog.on_tag2Button_toggled">on_tag2Button_toggled</a></td>
130 <td>Private slot to handle changes of the Tag2 select button.</td>
131 </tr>
132 <tr>
133 <td><a href="#GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged">on_tag2Combo_editTextChanged</a></td>
134 <td>Private slot to handle changes of the Tag2 combo.</td>
135 </tr>
136 </table>
137 <h3>Static Methods</h3>
138
139 <table>
140 <tr><td>None</td></tr>
141 </table>
142
143 <a NAME="GitRevisionsSelectionDialog.__init__" ID="GitRevisionsSelectionDialog.__init__"></a>
144 <h4>GitRevisionsSelectionDialog (Constructor)</h4>
145 <b>GitRevisionsSelectionDialog</b>(<i>tagsList, branchesList, parent=None</i>)
146
147 <p>
148 Constructor
149 </p>
150 <dl>
151
152 <dt><i>tagsList</i></dt>
153 <dd>
154 list of tags (list of strings)
155 </dd>
156 <dt><i>branchesList</i></dt>
157 <dd>
158 list of branches (list of strings)
159 </dd>
160 <dt><i>parent</i></dt>
161 <dd>
162 parent widget of the dialog (QWidget)
163 </dd>
164 </dl>
165 <a NAME="GitRevisionsSelectionDialog.__getRevision" ID="GitRevisionsSelectionDialog.__getRevision"></a>
166 <h4>GitRevisionsSelectionDialog.__getRevision</h4>
167 <b>__getRevision</b>(<i>no</i>)
168
169 <p>
170 Private method to generate the revision.
171 </p>
172 <dl>
173
174 <dt><i>no</i></dt>
175 <dd>
176 revision number to generate (1 or 2)
177 </dd>
178 </dl>
179 <dl>
180 <dt>Return:</dt>
181 <dd>
182 revision (string)
183 </dd>
184 </dl>
185 <a NAME="GitRevisionsSelectionDialog.__updateOK" ID="GitRevisionsSelectionDialog.__updateOK"></a>
186 <h4>GitRevisionsSelectionDialog.__updateOK</h4>
187 <b>__updateOK</b>(<i></i>)
188
189 <p>
190 Private slot to update the OK button.
191 </p>
192 <a NAME="GitRevisionsSelectionDialog.getRevisions" ID="GitRevisionsSelectionDialog.getRevisions"></a>
193 <h4>GitRevisionsSelectionDialog.getRevisions</h4>
194 <b>getRevisions</b>(<i></i>)
195
196 <p>
197 Public method to get the revisions.
198 </p>
199 <dl>
200 <dt>Return:</dt>
201 <dd>
202 list of two revisions (list of strings)
203 </dd>
204 </dl>
205 <a NAME="GitRevisionsSelectionDialog.on_branch1Button_toggled" ID="GitRevisionsSelectionDialog.on_branch1Button_toggled"></a>
206 <h4>GitRevisionsSelectionDialog.on_branch1Button_toggled</h4>
207 <b>on_branch1Button_toggled</b>(<i>checked</i>)
208
209 <p>
210 Private slot to handle changes of the Branch1 select button.
211 </p>
212 <dl>
213
214 <dt><i>checked</i></dt>
215 <dd>
216 state of the button (boolean)
217 </dd>
218 </dl>
219 <a NAME="GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged"></a>
220 <h4>GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged</h4>
221 <b>on_branch1Combo_editTextChanged</b>(<i>txt</i>)
222
223 <p>
224 Private slot to handle changes of the Branch1 combo.
225 </p>
226 <dl>
227
228 <dt><i>txt</i></dt>
229 <dd>
230 text of the combo (string)
231 </dd>
232 </dl>
233 <a NAME="GitRevisionsSelectionDialog.on_branch2Button_toggled" ID="GitRevisionsSelectionDialog.on_branch2Button_toggled"></a>
234 <h4>GitRevisionsSelectionDialog.on_branch2Button_toggled</h4>
235 <b>on_branch2Button_toggled</b>(<i>checked</i>)
236
237 <p>
238 Private slot to handle changes of the Branch2 select button.
239 </p>
240 <dl>
241
242 <dt><i>checked</i></dt>
243 <dd>
244 state of the button (boolean)
245 </dd>
246 </dl>
247 <a NAME="GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged"></a>
248 <h4>GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged</h4>
249 <b>on_branch2Combo_editTextChanged</b>(<i>txt</i>)
250
251 <p>
252 Private slot to handle changes of the Branch2 combo.
253 </p>
254 <dl>
255
256 <dt><i>txt</i></dt>
257 <dd>
258 text of the combo (string)
259 </dd>
260 </dl>
261 <a NAME="GitRevisionsSelectionDialog.on_rev1Button_toggled" ID="GitRevisionsSelectionDialog.on_rev1Button_toggled"></a>
262 <h4>GitRevisionsSelectionDialog.on_rev1Button_toggled</h4>
263 <b>on_rev1Button_toggled</b>(<i>checked</i>)
264
265 <p>
266 Private slot to handle changes of the rev1 select button.
267 </p>
268 <dl>
269
270 <dt><i>checked</i></dt>
271 <dd>
272 state of the button (boolean)
273 </dd>
274 </dl>
275 <a NAME="GitRevisionsSelectionDialog.on_rev1Edit_textChanged" ID="GitRevisionsSelectionDialog.on_rev1Edit_textChanged"></a>
276 <h4>GitRevisionsSelectionDialog.on_rev1Edit_textChanged</h4>
277 <b>on_rev1Edit_textChanged</b>(<i>txt</i>)
278
279 <p>
280 Private slot to handle changes of the rev1 edit.
281 </p>
282 <dl>
283
284 <dt><i>txt</i></dt>
285 <dd>
286 text of the edit (string)
287 </dd>
288 </dl>
289 <a NAME="GitRevisionsSelectionDialog.on_rev2Button_toggled" ID="GitRevisionsSelectionDialog.on_rev2Button_toggled"></a>
290 <h4>GitRevisionsSelectionDialog.on_rev2Button_toggled</h4>
291 <b>on_rev2Button_toggled</b>(<i>checked</i>)
292
293 <p>
294 Private slot to handle changes of the rev2 select button.
295 </p>
296 <dl>
297
298 <dt><i>checked</i></dt>
299 <dd>
300 state of the button (boolean)
301 </dd>
302 </dl>
303 <a NAME="GitRevisionsSelectionDialog.on_rev2Edit_textChanged" ID="GitRevisionsSelectionDialog.on_rev2Edit_textChanged"></a>
304 <h4>GitRevisionsSelectionDialog.on_rev2Edit_textChanged</h4>
305 <b>on_rev2Edit_textChanged</b>(<i>txt</i>)
306
307 <p>
308 Private slot to handle changes of the rev2 edit.
309 </p>
310 <dl>
311
312 <dt><i>txt</i></dt>
313 <dd>
314 text of the edit (string)
315 </dd>
316 </dl>
317 <a NAME="GitRevisionsSelectionDialog.on_tag1Button_toggled" ID="GitRevisionsSelectionDialog.on_tag1Button_toggled"></a>
318 <h4>GitRevisionsSelectionDialog.on_tag1Button_toggled</h4>
319 <b>on_tag1Button_toggled</b>(<i>checked</i>)
320
321 <p>
322 Private slot to handle changes of the Tag1 select button.
323 </p>
324 <dl>
325
326 <dt><i>checked</i></dt>
327 <dd>
328 state of the button (boolean)
329 </dd>
330 </dl>
331 <a NAME="GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged"></a>
332 <h4>GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged</h4>
333 <b>on_tag1Combo_editTextChanged</b>(<i>txt</i>)
334
335 <p>
336 Private slot to handle changes of the Tag1 combo.
337 </p>
338 <dl>
339
340 <dt><i>txt</i></dt>
341 <dd>
342 text of the combo (string)
343 </dd>
344 </dl>
345 <a NAME="GitRevisionsSelectionDialog.on_tag2Button_toggled" ID="GitRevisionsSelectionDialog.on_tag2Button_toggled"></a>
346 <h4>GitRevisionsSelectionDialog.on_tag2Button_toggled</h4>
347 <b>on_tag2Button_toggled</b>(<i>checked</i>)
348
349 <p>
350 Private slot to handle changes of the Tag2 select button.
351 </p>
352 <dl>
353
354 <dt><i>checked</i></dt>
355 <dd>
356 state of the button (boolean)
357 </dd>
358 </dl>
359 <a NAME="GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged"></a>
360 <h4>GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged</h4>
361 <b>on_tag2Combo_editTextChanged</b>(<i>txt</i>)
362
363 <p>
364 Private slot to handle changes of the Tag2 combo.
365 </p>
366 <dl>
367
368 <dt><i>txt</i></dt>
369 <dd>
370 text of the combo (string)
371 </dd>
372 </dl>
373 <div align="right"><a href="#top">Up</a></div>
374 <hr />
375 </body></html>

eric ide

mercurial