|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitRevisionSelectionDialog</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.GitRevisionSelectionDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to select a revision. |
|
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="#GitRevisionSelectionDialog">GitRevisionSelectionDialog</a></td> |
|
39 <td>Class implementing a dialog to select a revision.</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="GitRevisionSelectionDialog" ID="GitRevisionSelectionDialog"></a> |
|
50 <h2>GitRevisionSelectionDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to select a revision. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_GitRevisionSelectionDialog |
|
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="#GitRevisionSelectionDialog.__init__">GitRevisionSelectionDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#GitRevisionSelectionDialog.__updateOK">__updateOK</a></td> |
|
77 <td>Private slot to update the OK button.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#GitRevisionSelectionDialog.getRevision">getRevision</a></td> |
|
81 <td>Public method to retrieve the selected revision.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#GitRevisionSelectionDialog.on_branchButton_toggled">on_branchButton_toggled</a></td> |
|
85 <td>Private slot to handle changes of the Branch select button.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#GitRevisionSelectionDialog.on_branchCombo_editTextChanged">on_branchCombo_editTextChanged</a></td> |
|
89 <td>Private slot to handle changes of the Branch combo.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#GitRevisionSelectionDialog.on_remoteBranchButton_toggled">on_remoteBranchButton_toggled</a></td> |
|
93 <td>Private slot to handle changes of the Remote Branch select button.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#GitRevisionSelectionDialog.on_remoteBranchCombo_editTextChanged">on_remoteBranchCombo_editTextChanged</a></td> |
|
97 <td>Private slot to handle changes of the Remote Branch combo.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#GitRevisionSelectionDialog.on_revButton_toggled">on_revButton_toggled</a></td> |
|
101 <td>Private slot to handle changes of the rev select button.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#GitRevisionSelectionDialog.on_revEdit_textChanged">on_revEdit_textChanged</a></td> |
|
105 <td>Private slot to handle changes of the rev edit.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#GitRevisionSelectionDialog.on_tagButton_toggled">on_tagButton_toggled</a></td> |
|
109 <td>Private slot to handle changes of the Tag select button.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#GitRevisionSelectionDialog.on_tagCombo_editTextChanged">on_tagCombo_editTextChanged</a></td> |
|
113 <td>Private slot to handle changes of the Tag combo.</td> |
|
114 </tr> |
|
115 </table> |
|
116 <h3>Static Methods</h3> |
|
117 |
|
118 <table> |
|
119 <tr><td>None</td></tr> |
|
120 </table> |
|
121 |
|
122 <a NAME="GitRevisionSelectionDialog.__init__" ID="GitRevisionSelectionDialog.__init__"></a> |
|
123 <h4>GitRevisionSelectionDialog (Constructor)</h4> |
|
124 <b>GitRevisionSelectionDialog</b>(<i>tagsList, branchesList, trackingBranchesList=None, noneLabel="", showBranches=True, showHead=True, parent=None</i>) |
|
125 |
|
126 <p> |
|
127 Constructor |
|
128 </p> |
|
129 <dl> |
|
130 |
|
131 <dt><i>tagsList</i></dt> |
|
132 <dd> |
|
133 list of tags (list of strings) |
|
134 </dd> |
|
135 <dt><i>branchesList</i></dt> |
|
136 <dd> |
|
137 list of branches (list of strings) |
|
138 </dd> |
|
139 <dt><i>trackingBranchesList</i></dt> |
|
140 <dd> |
|
141 list of remote branches (list of strings) |
|
142 </dd> |
|
143 <dt><i>noneLabel</i></dt> |
|
144 <dd> |
|
145 label text for "no revision selected" (string) |
|
146 </dd> |
|
147 <dt><i>showBranches</i></dt> |
|
148 <dd> |
|
149 flag indicating to show the branch selection |
|
150 (boolean) |
|
151 </dd> |
|
152 <dt><i>showHead</i></dt> |
|
153 <dd> |
|
154 flag indicating to show the head selection (boolean) |
|
155 </dd> |
|
156 <dt><i>parent</i></dt> |
|
157 <dd> |
|
158 parent widget (QWidget) |
|
159 </dd> |
|
160 </dl> |
|
161 <a NAME="GitRevisionSelectionDialog.__updateOK" ID="GitRevisionSelectionDialog.__updateOK"></a> |
|
162 <h4>GitRevisionSelectionDialog.__updateOK</h4> |
|
163 <b>__updateOK</b>(<i></i>) |
|
164 |
|
165 <p> |
|
166 Private slot to update the OK button. |
|
167 </p> |
|
168 <a NAME="GitRevisionSelectionDialog.getRevision" ID="GitRevisionSelectionDialog.getRevision"></a> |
|
169 <h4>GitRevisionSelectionDialog.getRevision</h4> |
|
170 <b>getRevision</b>(<i></i>) |
|
171 |
|
172 <p> |
|
173 Public method to retrieve the selected revision. |
|
174 </p> |
|
175 <dl> |
|
176 <dt>Return:</dt> |
|
177 <dd> |
|
178 selected revision (string) |
|
179 </dd> |
|
180 </dl> |
|
181 <a NAME="GitRevisionSelectionDialog.on_branchButton_toggled" ID="GitRevisionSelectionDialog.on_branchButton_toggled"></a> |
|
182 <h4>GitRevisionSelectionDialog.on_branchButton_toggled</h4> |
|
183 <b>on_branchButton_toggled</b>(<i>checked</i>) |
|
184 |
|
185 <p> |
|
186 Private slot to handle changes of the Branch select button. |
|
187 </p> |
|
188 <dl> |
|
189 |
|
190 <dt><i>checked</i></dt> |
|
191 <dd> |
|
192 state of the button (boolean) |
|
193 </dd> |
|
194 </dl> |
|
195 <a NAME="GitRevisionSelectionDialog.on_branchCombo_editTextChanged" ID="GitRevisionSelectionDialog.on_branchCombo_editTextChanged"></a> |
|
196 <h4>GitRevisionSelectionDialog.on_branchCombo_editTextChanged</h4> |
|
197 <b>on_branchCombo_editTextChanged</b>(<i>txt</i>) |
|
198 |
|
199 <p> |
|
200 Private slot to handle changes of the Branch combo. |
|
201 </p> |
|
202 <dl> |
|
203 |
|
204 <dt><i>txt</i></dt> |
|
205 <dd> |
|
206 text of the combo (string) |
|
207 </dd> |
|
208 </dl> |
|
209 <a NAME="GitRevisionSelectionDialog.on_remoteBranchButton_toggled" ID="GitRevisionSelectionDialog.on_remoteBranchButton_toggled"></a> |
|
210 <h4>GitRevisionSelectionDialog.on_remoteBranchButton_toggled</h4> |
|
211 <b>on_remoteBranchButton_toggled</b>(<i>checked</i>) |
|
212 |
|
213 <p> |
|
214 Private slot to handle changes of the Remote Branch select button. |
|
215 </p> |
|
216 <dl> |
|
217 |
|
218 <dt><i>checked</i></dt> |
|
219 <dd> |
|
220 state of the button (boolean) |
|
221 </dd> |
|
222 </dl> |
|
223 <a NAME="GitRevisionSelectionDialog.on_remoteBranchCombo_editTextChanged" ID="GitRevisionSelectionDialog.on_remoteBranchCombo_editTextChanged"></a> |
|
224 <h4>GitRevisionSelectionDialog.on_remoteBranchCombo_editTextChanged</h4> |
|
225 <b>on_remoteBranchCombo_editTextChanged</b>(<i>txt</i>) |
|
226 |
|
227 <p> |
|
228 Private slot to handle changes of the Remote Branch combo. |
|
229 </p> |
|
230 <dl> |
|
231 |
|
232 <dt><i>txt</i></dt> |
|
233 <dd> |
|
234 text of the combo (string) |
|
235 </dd> |
|
236 </dl> |
|
237 <a NAME="GitRevisionSelectionDialog.on_revButton_toggled" ID="GitRevisionSelectionDialog.on_revButton_toggled"></a> |
|
238 <h4>GitRevisionSelectionDialog.on_revButton_toggled</h4> |
|
239 <b>on_revButton_toggled</b>(<i>checked</i>) |
|
240 |
|
241 <p> |
|
242 Private slot to handle changes of the rev select button. |
|
243 </p> |
|
244 <dl> |
|
245 |
|
246 <dt><i>checked</i></dt> |
|
247 <dd> |
|
248 state of the button (boolean) |
|
249 </dd> |
|
250 </dl> |
|
251 <a NAME="GitRevisionSelectionDialog.on_revEdit_textChanged" ID="GitRevisionSelectionDialog.on_revEdit_textChanged"></a> |
|
252 <h4>GitRevisionSelectionDialog.on_revEdit_textChanged</h4> |
|
253 <b>on_revEdit_textChanged</b>(<i>txt</i>) |
|
254 |
|
255 <p> |
|
256 Private slot to handle changes of the rev edit. |
|
257 </p> |
|
258 <dl> |
|
259 |
|
260 <dt><i>txt</i></dt> |
|
261 <dd> |
|
262 text of the edit (string) |
|
263 </dd> |
|
264 </dl> |
|
265 <a NAME="GitRevisionSelectionDialog.on_tagButton_toggled" ID="GitRevisionSelectionDialog.on_tagButton_toggled"></a> |
|
266 <h4>GitRevisionSelectionDialog.on_tagButton_toggled</h4> |
|
267 <b>on_tagButton_toggled</b>(<i>checked</i>) |
|
268 |
|
269 <p> |
|
270 Private slot to handle changes of the Tag select button. |
|
271 </p> |
|
272 <dl> |
|
273 |
|
274 <dt><i>checked</i></dt> |
|
275 <dd> |
|
276 state of the button (boolean) |
|
277 </dd> |
|
278 </dl> |
|
279 <a NAME="GitRevisionSelectionDialog.on_tagCombo_editTextChanged" ID="GitRevisionSelectionDialog.on_tagCombo_editTextChanged"></a> |
|
280 <h4>GitRevisionSelectionDialog.on_tagCombo_editTextChanged</h4> |
|
281 <b>on_tagCombo_editTextChanged</b>(<i>txt</i>) |
|
282 |
|
283 <p> |
|
284 Private slot to handle changes of the Tag combo. |
|
285 </p> |
|
286 <dl> |
|
287 |
|
288 <dt><i>txt</i></dt> |
|
289 <dd> |
|
290 text of the combo (string) |
|
291 </dd> |
|
292 </dl> |
|
293 <div align="right"><a href="#top">Up</a></div> |
|
294 <hr /> |
|
295 </body></html> |