src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitRevisionsSelectionDialog.html

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

eric ide

mercurial