5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to show a list of applied and unapplied patches. |
11 Module implementing a dialog to show a list of applied and unapplied patches. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgQueuesListDialog">HgQueuesListDialog</a></td> |
22 <td><a href="#HgQueuesListDialog">HgQueuesListDialog</a></td> |
25 <td>Class implementing a dialog to show a list of applied and unapplied patches.</td> |
23 <td>Class implementing a dialog to show a list of applied and unapplied patches.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgQueuesListDialog" ID="HgQueuesListDialog"></a> |
34 <a NAME="HgQueuesListDialog" ID="HgQueuesListDialog"></a> |
36 <h2>HgQueuesListDialog</h2> |
35 <h2>HgQueuesListDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to show a list of applied and unapplied |
37 Class implementing a dialog to show a list of applied and unapplied |
40 patches. |
38 patches. |
41 </p> |
39 </p> |
|
40 |
42 <h3>Derived from</h3> |
41 <h3>Derived from</h3> |
43 QDialog, Ui_HgQueuesListDialog |
42 QDialog, Ui_HgQueuesListDialog |
44 <h3>Class Attributes</h3> |
43 <h3>Class Attributes</h3> |
45 |
44 <table> |
46 <table> |
45 <tr><td>None</td></tr> |
47 <tr><td>None</td></tr> |
46 </table> |
48 </table> |
47 |
49 <h3>Class Methods</h3> |
48 <h3>Class Methods</h3> |
50 |
49 <table> |
51 <table> |
50 <tr><td>None</td></tr> |
52 <tr><td>None</td></tr> |
51 </table> |
53 </table> |
52 |
54 <h3>Methods</h3> |
53 <h3>Methods</h3> |
55 |
54 <table> |
56 <table> |
|
57 |
|
58 <tr> |
55 <tr> |
59 <td><a href="#HgQueuesListDialog.__init__">HgQueuesListDialog</a></td> |
56 <td><a href="#HgQueuesListDialog.__init__">HgQueuesListDialog</a></td> |
60 <td>Constructor</td> |
57 <td>Constructor</td> |
61 </tr> |
58 </tr> |
62 <tr> |
59 <tr> |
106 <tr> |
103 <tr> |
107 <td><a href="#HgQueuesListDialog.start">start</a></td> |
104 <td><a href="#HgQueuesListDialog.start">start</a></td> |
108 <td>Public slot to start the list command.</td> |
105 <td>Public slot to start the list command.</td> |
109 </tr> |
106 </tr> |
110 </table> |
107 </table> |
|
108 |
111 <h3>Static Methods</h3> |
109 <h3>Static Methods</h3> |
112 |
110 <table> |
113 <table> |
111 <tr><td>None</td></tr> |
114 <tr><td>None</td></tr> |
112 </table> |
115 </table> |
113 |
116 |
114 |
117 <a NAME="HgQueuesListDialog.__init__" ID="HgQueuesListDialog.__init__"></a> |
115 <a NAME="HgQueuesListDialog.__init__" ID="HgQueuesListDialog.__init__"></a> |
118 <h4>HgQueuesListDialog (Constructor)</h4> |
116 <h4>HgQueuesListDialog (Constructor)</h4> |
119 <b>HgQueuesListDialog</b>(<i>vcs, parent=None</i>) |
117 <b>HgQueuesListDialog</b>(<i>vcs, parent=None</i>) |
120 |
|
121 <p> |
118 <p> |
122 Constructor |
119 Constructor |
123 </p> |
120 </p> |
|
121 |
124 <dl> |
122 <dl> |
125 |
123 |
126 <dt><i>vcs</i> (Hg)</dt> |
124 <dt><i>vcs</i> (Hg)</dt> |
127 <dd> |
125 <dd> |
128 reference to the vcs object |
126 reference to the vcs object |
133 </dd> |
131 </dd> |
134 </dl> |
132 </dl> |
135 <a NAME="HgQueuesListDialog.__finish" ID="HgQueuesListDialog.__finish"></a> |
133 <a NAME="HgQueuesListDialog.__finish" ID="HgQueuesListDialog.__finish"></a> |
136 <h4>HgQueuesListDialog.__finish</h4> |
134 <h4>HgQueuesListDialog.__finish</h4> |
137 <b>__finish</b>(<i></i>) |
135 <b>__finish</b>(<i></i>) |
138 |
|
139 <p> |
136 <p> |
140 Private slot called when the process finished or the user pressed |
137 Private slot called when the process finished or the user pressed |
141 the button. |
138 the button. |
142 </p> |
139 </p> |
|
140 |
143 <a NAME="HgQueuesListDialog.__generateItem" ID="HgQueuesListDialog.__generateItem"></a> |
141 <a NAME="HgQueuesListDialog.__generateItem" ID="HgQueuesListDialog.__generateItem"></a> |
144 <h4>HgQueuesListDialog.__generateItem</h4> |
142 <h4>HgQueuesListDialog.__generateItem</h4> |
145 <b>__generateItem</b>(<i>index, status, name, summary, error=False</i>) |
143 <b>__generateItem</b>(<i>index, status, name, summary, error=False</i>) |
146 |
|
147 <p> |
144 <p> |
148 Private method to generate a patch item in the list of patches. |
145 Private method to generate a patch item in the list of patches. |
149 </p> |
146 </p> |
|
147 |
150 <dl> |
148 <dl> |
151 |
149 |
152 <dt><i>index</i> (int)</dt> |
150 <dt><i>index</i> (int)</dt> |
153 <dd> |
151 <dd> |
154 index of the patch (-1 for missing) |
152 index of the patch (-1 for missing) |
187 </dd> |
185 </dd> |
188 </dl> |
186 </dl> |
189 <a NAME="HgQueuesListDialog.__getTop" ID="HgQueuesListDialog.__getTop"></a> |
187 <a NAME="HgQueuesListDialog.__getTop" ID="HgQueuesListDialog.__getTop"></a> |
190 <h4>HgQueuesListDialog.__getTop</h4> |
188 <h4>HgQueuesListDialog.__getTop</h4> |
191 <b>__getTop</b>(<i></i>) |
189 <b>__getTop</b>(<i></i>) |
192 |
|
193 <p> |
190 <p> |
194 Private slot to get patch at the top of the stack. |
191 Private slot to get patch at the top of the stack. |
195 </p> |
192 </p> |
|
193 |
196 <a NAME="HgQueuesListDialog.__markTopItem" ID="HgQueuesListDialog.__markTopItem"></a> |
194 <a NAME="HgQueuesListDialog.__markTopItem" ID="HgQueuesListDialog.__markTopItem"></a> |
197 <h4>HgQueuesListDialog.__markTopItem</h4> |
195 <h4>HgQueuesListDialog.__markTopItem</h4> |
198 <b>__markTopItem</b>(<i>name</i>) |
196 <b>__markTopItem</b>(<i>name</i>) |
199 |
|
200 <p> |
197 <p> |
201 Private slot to mark the top patch entry. |
198 Private slot to mark the top patch entry. |
202 </p> |
199 </p> |
|
200 |
203 <dl> |
201 <dl> |
204 |
202 |
205 <dt><i>name</i> (str)</dt> |
203 <dt><i>name</i> (str)</dt> |
206 <dd> |
204 <dd> |
207 name of the patch |
205 name of the patch |
208 </dd> |
206 </dd> |
209 </dl> |
207 </dl> |
210 <a NAME="HgQueuesListDialog.__processOutputLine" ID="HgQueuesListDialog.__processOutputLine"></a> |
208 <a NAME="HgQueuesListDialog.__processOutputLine" ID="HgQueuesListDialog.__processOutputLine"></a> |
211 <h4>HgQueuesListDialog.__processOutputLine</h4> |
209 <h4>HgQueuesListDialog.__processOutputLine</h4> |
212 <b>__processOutputLine</b>(<i>line</i>) |
210 <b>__processOutputLine</b>(<i>line</i>) |
213 |
|
214 <p> |
211 <p> |
215 Private method to process the lines of output. |
212 Private method to process the lines of output. |
216 </p> |
213 </p> |
|
214 |
217 <dl> |
215 <dl> |
218 |
216 |
219 <dt><i>line</i> (str)</dt> |
217 <dt><i>line</i> (str)</dt> |
220 <dd> |
218 <dd> |
221 output line to be processed |
219 output line to be processed |
222 </dd> |
220 </dd> |
223 </dl> |
221 </dl> |
224 <a NAME="HgQueuesListDialog.__resizeColumns" ID="HgQueuesListDialog.__resizeColumns"></a> |
222 <a NAME="HgQueuesListDialog.__resizeColumns" ID="HgQueuesListDialog.__resizeColumns"></a> |
225 <h4>HgQueuesListDialog.__resizeColumns</h4> |
223 <h4>HgQueuesListDialog.__resizeColumns</h4> |
226 <b>__resizeColumns</b>(<i></i>) |
224 <b>__resizeColumns</b>(<i></i>) |
227 |
|
228 <p> |
225 <p> |
229 Private method to resize the list columns. |
226 Private method to resize the list columns. |
230 </p> |
227 </p> |
|
228 |
231 <a NAME="HgQueuesListDialog.__resort" ID="HgQueuesListDialog.__resort"></a> |
229 <a NAME="HgQueuesListDialog.__resort" ID="HgQueuesListDialog.__resort"></a> |
232 <h4>HgQueuesListDialog.__resort</h4> |
230 <h4>HgQueuesListDialog.__resort</h4> |
233 <b>__resort</b>(<i></i>) |
231 <b>__resort</b>(<i></i>) |
234 |
|
235 <p> |
232 <p> |
236 Private method to resort the tree. |
233 Private method to resort the tree. |
237 </p> |
234 </p> |
|
235 |
238 <a NAME="HgQueuesListDialog.__showError" ID="HgQueuesListDialog.__showError"></a> |
236 <a NAME="HgQueuesListDialog.__showError" ID="HgQueuesListDialog.__showError"></a> |
239 <h4>HgQueuesListDialog.__showError</h4> |
237 <h4>HgQueuesListDialog.__showError</h4> |
240 <b>__showError</b>(<i>out</i>) |
238 <b>__showError</b>(<i>out</i>) |
241 |
|
242 <p> |
239 <p> |
243 Private slot to show some error. |
240 Private slot to show some error. |
244 </p> |
241 </p> |
|
242 |
245 <dl> |
243 <dl> |
246 |
244 |
247 <dt><i>out</i> (str)</dt> |
245 <dt><i>out</i> (str)</dt> |
248 <dd> |
246 <dd> |
249 error to be shown |
247 error to be shown |
250 </dd> |
248 </dd> |
251 </dl> |
249 </dl> |
252 <a NAME="HgQueuesListDialog.closeEvent" ID="HgQueuesListDialog.closeEvent"></a> |
250 <a NAME="HgQueuesListDialog.closeEvent" ID="HgQueuesListDialog.closeEvent"></a> |
253 <h4>HgQueuesListDialog.closeEvent</h4> |
251 <h4>HgQueuesListDialog.closeEvent</h4> |
254 <b>closeEvent</b>(<i>e</i>) |
252 <b>closeEvent</b>(<i>e</i>) |
255 |
|
256 <p> |
253 <p> |
257 Protected slot implementing a close event handler. |
254 Protected slot implementing a close event handler. |
258 </p> |
255 </p> |
|
256 |
259 <dl> |
257 <dl> |
260 |
258 |
261 <dt><i>e</i> (QCloseEvent)</dt> |
259 <dt><i>e</i> (QCloseEvent)</dt> |
262 <dd> |
260 <dd> |
263 close event |
261 close event |
264 </dd> |
262 </dd> |
265 </dl> |
263 </dl> |
266 <a NAME="HgQueuesListDialog.on_buttonBox_clicked" ID="HgQueuesListDialog.on_buttonBox_clicked"></a> |
264 <a NAME="HgQueuesListDialog.on_buttonBox_clicked" ID="HgQueuesListDialog.on_buttonBox_clicked"></a> |
267 <h4>HgQueuesListDialog.on_buttonBox_clicked</h4> |
265 <h4>HgQueuesListDialog.on_buttonBox_clicked</h4> |
268 <b>on_buttonBox_clicked</b>(<i>button</i>) |
266 <b>on_buttonBox_clicked</b>(<i>button</i>) |
269 |
|
270 <p> |
267 <p> |
271 Private slot called by a button of the button box clicked. |
268 Private slot called by a button of the button box clicked. |
272 </p> |
269 </p> |
|
270 |
273 <dl> |
271 <dl> |
274 |
272 |
275 <dt><i>button</i> (QAbstractButton)</dt> |
273 <dt><i>button</i> (QAbstractButton)</dt> |
276 <dd> |
274 <dd> |
277 button that was clicked |
275 button that was clicked |
278 </dd> |
276 </dd> |
279 </dl> |
277 </dl> |
280 <a NAME="HgQueuesListDialog.start" ID="HgQueuesListDialog.start"></a> |
278 <a NAME="HgQueuesListDialog.start" ID="HgQueuesListDialog.start"></a> |
281 <h4>HgQueuesListDialog.start</h4> |
279 <h4>HgQueuesListDialog.start</h4> |
282 <b>start</b>(<i></i>) |
280 <b>start</b>(<i></i>) |
283 |
|
284 <p> |
281 <p> |
285 Public slot to start the list command. |
282 Public slot to start the list command. |
286 </p> |
283 </p> |
|
284 |
287 <div align="right"><a href="#top">Up</a></div> |
285 <div align="right"><a href="#top">Up</a></div> |
288 <hr /> |
286 <hr /> |
289 </body></html> |
287 </body></html> |