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