Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitRevisionsSelectionDialog.html

changeset 6020
baf6da1ae288
equal deleted inserted replaced
6019:58ecdaf0b789 6020:baf6da1ae288
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitRevisionsSelectionDialog</h1>
23 <p>
24 Module implementing a dialog to enter the revisions for the git 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="#GitRevisionsSelectionDialog">GitRevisionsSelectionDialog</a></td>
34 <td>Class implementing a dialog to enter the revisions for the git 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="GitRevisionsSelectionDialog" ID="GitRevisionsSelectionDialog"></a>
43 <h2>GitRevisionsSelectionDialog</h2>
44 <p>
45 Class implementing a dialog to enter the revisions for the git diff
46 command.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_GitRevisionsSelectionDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Class Methods</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59 <table>
60 <tr>
61 <td><a href="#GitRevisionsSelectionDialog.__init__">GitRevisionsSelectionDialog</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#GitRevisionsSelectionDialog.__getRevision">__getRevision</a></td>
65 <td>Private method to generate the revision.</td>
66 </tr><tr>
67 <td><a href="#GitRevisionsSelectionDialog.__updateOK">__updateOK</a></td>
68 <td>Private slot to update the OK button.</td>
69 </tr><tr>
70 <td><a href="#GitRevisionsSelectionDialog.getRevisions">getRevisions</a></td>
71 <td>Public method to get the revisions.</td>
72 </tr><tr>
73 <td><a href="#GitRevisionsSelectionDialog.on_branch1Button_toggled">on_branch1Button_toggled</a></td>
74 <td>Private slot to handle changes of the Branch1 select button.</td>
75 </tr><tr>
76 <td><a href="#GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged">on_branch1Combo_editTextChanged</a></td>
77 <td>Private slot to handle changes of the Branch1 combo.</td>
78 </tr><tr>
79 <td><a href="#GitRevisionsSelectionDialog.on_branch2Button_toggled">on_branch2Button_toggled</a></td>
80 <td>Private slot to handle changes of the Branch2 select button.</td>
81 </tr><tr>
82 <td><a href="#GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged">on_branch2Combo_editTextChanged</a></td>
83 <td>Private slot to handle changes of the Branch2 combo.</td>
84 </tr><tr>
85 <td><a href="#GitRevisionsSelectionDialog.on_rev1Button_toggled">on_rev1Button_toggled</a></td>
86 <td>Private slot to handle changes of the rev1 select button.</td>
87 </tr><tr>
88 <td><a href="#GitRevisionsSelectionDialog.on_rev1Edit_textChanged">on_rev1Edit_textChanged</a></td>
89 <td>Private slot to handle changes of the rev1 edit.</td>
90 </tr><tr>
91 <td><a href="#GitRevisionsSelectionDialog.on_rev2Button_toggled">on_rev2Button_toggled</a></td>
92 <td>Private slot to handle changes of the rev2 select button.</td>
93 </tr><tr>
94 <td><a href="#GitRevisionsSelectionDialog.on_rev2Edit_textChanged">on_rev2Edit_textChanged</a></td>
95 <td>Private slot to handle changes of the rev2 edit.</td>
96 </tr><tr>
97 <td><a href="#GitRevisionsSelectionDialog.on_tag1Button_toggled">on_tag1Button_toggled</a></td>
98 <td>Private slot to handle changes of the Tag1 select button.</td>
99 </tr><tr>
100 <td><a href="#GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged">on_tag1Combo_editTextChanged</a></td>
101 <td>Private slot to handle changes of the Tag1 combo.</td>
102 </tr><tr>
103 <td><a href="#GitRevisionsSelectionDialog.on_tag2Button_toggled">on_tag2Button_toggled</a></td>
104 <td>Private slot to handle changes of the Tag2 select button.</td>
105 </tr><tr>
106 <td><a href="#GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged">on_tag2Combo_editTextChanged</a></td>
107 <td>Private slot to handle changes of the Tag2 combo.</td>
108 </tr>
109 </table>
110 <h3>Static Methods</h3>
111 <table>
112 <tr><td>None</td></tr>
113 </table>
114 <a NAME="GitRevisionsSelectionDialog.__init__" ID="GitRevisionsSelectionDialog.__init__"></a>
115 <h4>GitRevisionsSelectionDialog (Constructor)</h4>
116 <b>GitRevisionsSelectionDialog</b>(<i>tagsList, branchesList, parent=None</i>)
117 <p>
118 Constructor
119 </p><dl>
120 <dt><i>tagsList</i></dt>
121 <dd>
122 list of tags (list of strings)
123 </dd><dt><i>branchesList</i></dt>
124 <dd>
125 list of branches (list of strings)
126 </dd><dt><i>parent</i></dt>
127 <dd>
128 parent widget of the dialog (QWidget)
129 </dd>
130 </dl><a NAME="GitRevisionsSelectionDialog.__getRevision" ID="GitRevisionsSelectionDialog.__getRevision"></a>
131 <h4>GitRevisionsSelectionDialog.__getRevision</h4>
132 <b>__getRevision</b>(<i>no</i>)
133 <p>
134 Private method to generate the revision.
135 </p><dl>
136 <dt><i>no</i></dt>
137 <dd>
138 revision number to generate (1 or 2)
139 </dd>
140 </dl><dl>
141 <dt>Returns:</dt>
142 <dd>
143 revision (string)
144 </dd>
145 </dl><a NAME="GitRevisionsSelectionDialog.__updateOK" ID="GitRevisionsSelectionDialog.__updateOK"></a>
146 <h4>GitRevisionsSelectionDialog.__updateOK</h4>
147 <b>__updateOK</b>(<i></i>)
148 <p>
149 Private slot to update the OK button.
150 </p><a NAME="GitRevisionsSelectionDialog.getRevisions" ID="GitRevisionsSelectionDialog.getRevisions"></a>
151 <h4>GitRevisionsSelectionDialog.getRevisions</h4>
152 <b>getRevisions</b>(<i></i>)
153 <p>
154 Public method to get the revisions.
155 </p><dl>
156 <dt>Returns:</dt>
157 <dd>
158 list of two revisions (list of strings)
159 </dd>
160 </dl><a NAME="GitRevisionsSelectionDialog.on_branch1Button_toggled" ID="GitRevisionsSelectionDialog.on_branch1Button_toggled"></a>
161 <h4>GitRevisionsSelectionDialog.on_branch1Button_toggled</h4>
162 <b>on_branch1Button_toggled</b>(<i>checked</i>)
163 <p>
164 Private slot to handle changes of the Branch1 select button.
165 </p><dl>
166 <dt><i>checked</i></dt>
167 <dd>
168 state of the button (boolean)
169 </dd>
170 </dl><a NAME="GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged"></a>
171 <h4>GitRevisionsSelectionDialog.on_branch1Combo_editTextChanged</h4>
172 <b>on_branch1Combo_editTextChanged</b>(<i>txt</i>)
173 <p>
174 Private slot to handle changes of the Branch1 combo.
175 </p><dl>
176 <dt><i>txt</i></dt>
177 <dd>
178 text of the combo (string)
179 </dd>
180 </dl><a NAME="GitRevisionsSelectionDialog.on_branch2Button_toggled" ID="GitRevisionsSelectionDialog.on_branch2Button_toggled"></a>
181 <h4>GitRevisionsSelectionDialog.on_branch2Button_toggled</h4>
182 <b>on_branch2Button_toggled</b>(<i>checked</i>)
183 <p>
184 Private slot to handle changes of the Branch2 select button.
185 </p><dl>
186 <dt><i>checked</i></dt>
187 <dd>
188 state of the button (boolean)
189 </dd>
190 </dl><a NAME="GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged"></a>
191 <h4>GitRevisionsSelectionDialog.on_branch2Combo_editTextChanged</h4>
192 <b>on_branch2Combo_editTextChanged</b>(<i>txt</i>)
193 <p>
194 Private slot to handle changes of the Branch2 combo.
195 </p><dl>
196 <dt><i>txt</i></dt>
197 <dd>
198 text of the combo (string)
199 </dd>
200 </dl><a NAME="GitRevisionsSelectionDialog.on_rev1Button_toggled" ID="GitRevisionsSelectionDialog.on_rev1Button_toggled"></a>
201 <h4>GitRevisionsSelectionDialog.on_rev1Button_toggled</h4>
202 <b>on_rev1Button_toggled</b>(<i>checked</i>)
203 <p>
204 Private slot to handle changes of the rev1 select button.
205 </p><dl>
206 <dt><i>checked</i></dt>
207 <dd>
208 state of the button (boolean)
209 </dd>
210 </dl><a NAME="GitRevisionsSelectionDialog.on_rev1Edit_textChanged" ID="GitRevisionsSelectionDialog.on_rev1Edit_textChanged"></a>
211 <h4>GitRevisionsSelectionDialog.on_rev1Edit_textChanged</h4>
212 <b>on_rev1Edit_textChanged</b>(<i>txt</i>)
213 <p>
214 Private slot to handle changes of the rev1 edit.
215 </p><dl>
216 <dt><i>txt</i></dt>
217 <dd>
218 text of the edit (string)
219 </dd>
220 </dl><a NAME="GitRevisionsSelectionDialog.on_rev2Button_toggled" ID="GitRevisionsSelectionDialog.on_rev2Button_toggled"></a>
221 <h4>GitRevisionsSelectionDialog.on_rev2Button_toggled</h4>
222 <b>on_rev2Button_toggled</b>(<i>checked</i>)
223 <p>
224 Private slot to handle changes of the rev2 select button.
225 </p><dl>
226 <dt><i>checked</i></dt>
227 <dd>
228 state of the button (boolean)
229 </dd>
230 </dl><a NAME="GitRevisionsSelectionDialog.on_rev2Edit_textChanged" ID="GitRevisionsSelectionDialog.on_rev2Edit_textChanged"></a>
231 <h4>GitRevisionsSelectionDialog.on_rev2Edit_textChanged</h4>
232 <b>on_rev2Edit_textChanged</b>(<i>txt</i>)
233 <p>
234 Private slot to handle changes of the rev2 edit.
235 </p><dl>
236 <dt><i>txt</i></dt>
237 <dd>
238 text of the edit (string)
239 </dd>
240 </dl><a NAME="GitRevisionsSelectionDialog.on_tag1Button_toggled" ID="GitRevisionsSelectionDialog.on_tag1Button_toggled"></a>
241 <h4>GitRevisionsSelectionDialog.on_tag1Button_toggled</h4>
242 <b>on_tag1Button_toggled</b>(<i>checked</i>)
243 <p>
244 Private slot to handle changes of the Tag1 select button.
245 </p><dl>
246 <dt><i>checked</i></dt>
247 <dd>
248 state of the button (boolean)
249 </dd>
250 </dl><a NAME="GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged"></a>
251 <h4>GitRevisionsSelectionDialog.on_tag1Combo_editTextChanged</h4>
252 <b>on_tag1Combo_editTextChanged</b>(<i>txt</i>)
253 <p>
254 Private slot to handle changes of the Tag1 combo.
255 </p><dl>
256 <dt><i>txt</i></dt>
257 <dd>
258 text of the combo (string)
259 </dd>
260 </dl><a NAME="GitRevisionsSelectionDialog.on_tag2Button_toggled" ID="GitRevisionsSelectionDialog.on_tag2Button_toggled"></a>
261 <h4>GitRevisionsSelectionDialog.on_tag2Button_toggled</h4>
262 <b>on_tag2Button_toggled</b>(<i>checked</i>)
263 <p>
264 Private slot to handle changes of the Tag2 select button.
265 </p><dl>
266 <dt><i>checked</i></dt>
267 <dd>
268 state of the button (boolean)
269 </dd>
270 </dl><a NAME="GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged" ID="GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged"></a>
271 <h4>GitRevisionsSelectionDialog.on_tag2Combo_editTextChanged</h4>
272 <b>on_tag2Combo_editTextChanged</b>(<i>txt</i>)
273 <p>
274 Private slot to handle changes of the Tag2 combo.
275 </p><dl>
276 <dt><i>txt</i></dt>
277 <dd>
278 text of the combo (string)
279 </dd>
280 </dl>
281 <div align="right"><a href="#top">Up</a></div>
282 <hr />
283 </body></html>

eric ide

mercurial