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