eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListDialog</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.QueuesExtension.HgQueuesListDialog</h1>
24
25 <p>
26 Module implementing a dialog to show a list of applied and unapplied patches.
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="#HgQueuesListDialog">HgQueuesListDialog</a></td>
39 <td>Class implementing a dialog to show a list of applied and unapplied patches.</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="HgQueuesListDialog" ID="HgQueuesListDialog"></a>
50 <h2>HgQueuesListDialog</h2>
51
52 <p>
53 Class implementing a dialog to show a list of applied and unapplied
54 patches.
55 </p>
56 <h3>Derived from</h3>
57 QDialog, Ui_HgQueuesListDialog
58 <h3>Class Attributes</h3>
59
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Class Methods</h3>
64
65 <table>
66 <tr><td>None</td></tr>
67 </table>
68 <h3>Methods</h3>
69
70 <table>
71
72 <tr>
73 <td><a href="#HgQueuesListDialog.__init__">HgQueuesListDialog</a></td>
74 <td>Constructor</td>
75 </tr>
76 <tr>
77 <td><a href="#HgQueuesListDialog.__finish">__finish</a></td>
78 <td>Private slot called when the process finished or the user pressed the button.</td>
79 </tr>
80 <tr>
81 <td><a href="#HgQueuesListDialog.__generateItem">__generateItem</a></td>
82 <td>Private method to generate a patch item in the list of patches.</td>
83 </tr>
84 <tr>
85 <td><a href="#HgQueuesListDialog.__getSeries">__getSeries</a></td>
86 <td>Private slot to get the list of applied, unapplied and guarded patches and patches missing in the series file.</td>
87 </tr>
88 <tr>
89 <td><a href="#HgQueuesListDialog.__getTop">__getTop</a></td>
90 <td>Private slot to get patch at the top of the stack.</td>
91 </tr>
92 <tr>
93 <td><a href="#HgQueuesListDialog.__markTopItem">__markTopItem</a></td>
94 <td>Private slot to mark the top patch entry.</td>
95 </tr>
96 <tr>
97 <td><a href="#HgQueuesListDialog.__processOutputLine">__processOutputLine</a></td>
98 <td>Private method to process the lines of output.</td>
99 </tr>
100 <tr>
101 <td><a href="#HgQueuesListDialog.__resizeColumns">__resizeColumns</a></td>
102 <td>Private method to resize the list columns.</td>
103 </tr>
104 <tr>
105 <td><a href="#HgQueuesListDialog.__resort">__resort</a></td>
106 <td>Private method to resort the tree.</td>
107 </tr>
108 <tr>
109 <td><a href="#HgQueuesListDialog.__showError">__showError</a></td>
110 <td>Private slot to show some error.</td>
111 </tr>
112 <tr>
113 <td><a href="#HgQueuesListDialog.closeEvent">closeEvent</a></td>
114 <td>Protected slot implementing a close event handler.</td>
115 </tr>
116 <tr>
117 <td><a href="#HgQueuesListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
118 <td>Private slot called by a button of the button box clicked.</td>
119 </tr>
120 <tr>
121 <td><a href="#HgQueuesListDialog.start">start</a></td>
122 <td>Public slot to start the list command.</td>
123 </tr>
124 </table>
125 <h3>Static Methods</h3>
126
127 <table>
128 <tr><td>None</td></tr>
129 </table>
130
131 <a NAME="HgQueuesListDialog.__init__" ID="HgQueuesListDialog.__init__"></a>
132 <h4>HgQueuesListDialog (Constructor)</h4>
133 <b>HgQueuesListDialog</b>(<i>vcs, parent=None</i>)
134
135 <p>
136 Constructor
137 </p>
138 <dl>
139
140 <dt><i>vcs</i></dt>
141 <dd>
142 reference to the vcs object
143 </dd>
144 <dt><i>parent</i></dt>
145 <dd>
146 parent widget (QWidget)
147 </dd>
148 </dl>
149 <a NAME="HgQueuesListDialog.__finish" ID="HgQueuesListDialog.__finish"></a>
150 <h4>HgQueuesListDialog.__finish</h4>
151 <b>__finish</b>(<i></i>)
152
153 <p>
154 Private slot called when the process finished or the user pressed
155 the button.
156 </p>
157 <a NAME="HgQueuesListDialog.__generateItem" ID="HgQueuesListDialog.__generateItem"></a>
158 <h4>HgQueuesListDialog.__generateItem</h4>
159 <b>__generateItem</b>(<i>index, status, name, summary, error=False</i>)
160
161 <p>
162 Private method to generate a patch item in the list of patches.
163 </p>
164 <dl>
165
166 <dt><i>index</i></dt>
167 <dd>
168 index of the patch (integer, -1 for missing)
169 </dd>
170 <dt><i>status</i></dt>
171 <dd>
172 status of the patch (string)
173 </dd>
174 <dt><i>name</i></dt>
175 <dd>
176 name of the patch (string)
177 </dd>
178 <dt><i>summary</i></dt>
179 <dd>
180 first line of the patch header (string)
181 </dd>
182 <dt><i>error</i></dt>
183 <dd>
184 flag indicating an error entry (boolean)
185 </dd>
186 </dl>
187 <a NAME="HgQueuesListDialog.__getSeries" ID="HgQueuesListDialog.__getSeries"></a>
188 <h4>HgQueuesListDialog.__getSeries</h4>
189 <b>__getSeries</b>(<i>missing=False</i>)
190
191 <p>
192 Private slot to get the list of applied, unapplied and guarded patches
193 and patches missing in the series file.
194 </p>
195 <dl>
196
197 <dt><i>missing</i></dt>
198 <dd>
199 flag indicating to get the patches missing in the
200 series file (boolean)
201 </dd>
202 </dl>
203 <a NAME="HgQueuesListDialog.__getTop" ID="HgQueuesListDialog.__getTop"></a>
204 <h4>HgQueuesListDialog.__getTop</h4>
205 <b>__getTop</b>(<i></i>)
206
207 <p>
208 Private slot to get patch at the top of the stack.
209 </p>
210 <a NAME="HgQueuesListDialog.__markTopItem" ID="HgQueuesListDialog.__markTopItem"></a>
211 <h4>HgQueuesListDialog.__markTopItem</h4>
212 <b>__markTopItem</b>(<i>name</i>)
213
214 <p>
215 Private slot to mark the top patch entry.
216 </p>
217 <dl>
218
219 <dt><i>name</i></dt>
220 <dd>
221 name of the patch (string)
222 </dd>
223 </dl>
224 <a NAME="HgQueuesListDialog.__processOutputLine" ID="HgQueuesListDialog.__processOutputLine"></a>
225 <h4>HgQueuesListDialog.__processOutputLine</h4>
226 <b>__processOutputLine</b>(<i>line</i>)
227
228 <p>
229 Private method to process the lines of output.
230 </p>
231 <dl>
232
233 <dt><i>line</i></dt>
234 <dd>
235 output line to be processed (string)
236 </dd>
237 </dl>
238 <a NAME="HgQueuesListDialog.__resizeColumns" ID="HgQueuesListDialog.__resizeColumns"></a>
239 <h4>HgQueuesListDialog.__resizeColumns</h4>
240 <b>__resizeColumns</b>(<i></i>)
241
242 <p>
243 Private method to resize the list columns.
244 </p>
245 <a NAME="HgQueuesListDialog.__resort" ID="HgQueuesListDialog.__resort"></a>
246 <h4>HgQueuesListDialog.__resort</h4>
247 <b>__resort</b>(<i></i>)
248
249 <p>
250 Private method to resort the tree.
251 </p>
252 <a NAME="HgQueuesListDialog.__showError" ID="HgQueuesListDialog.__showError"></a>
253 <h4>HgQueuesListDialog.__showError</h4>
254 <b>__showError</b>(<i>out</i>)
255
256 <p>
257 Private slot to show some error.
258 </p>
259 <dl>
260
261 <dt><i>out</i></dt>
262 <dd>
263 error to be shown (string)
264 </dd>
265 </dl>
266 <a NAME="HgQueuesListDialog.closeEvent" ID="HgQueuesListDialog.closeEvent"></a>
267 <h4>HgQueuesListDialog.closeEvent</h4>
268 <b>closeEvent</b>(<i>e</i>)
269
270 <p>
271 Protected slot implementing a close event handler.
272 </p>
273 <dl>
274
275 <dt><i>e</i></dt>
276 <dd>
277 close event (QCloseEvent)
278 </dd>
279 </dl>
280 <a NAME="HgQueuesListDialog.on_buttonBox_clicked" ID="HgQueuesListDialog.on_buttonBox_clicked"></a>
281 <h4>HgQueuesListDialog.on_buttonBox_clicked</h4>
282 <b>on_buttonBox_clicked</b>(<i>button</i>)
283
284 <p>
285 Private slot called by a button of the button box clicked.
286 </p>
287 <dl>
288
289 <dt><i>button</i></dt>
290 <dd>
291 button that was clicked (QAbstractButton)
292 </dd>
293 </dl>
294 <a NAME="HgQueuesListDialog.start" ID="HgQueuesListDialog.start"></a>
295 <h4>HgQueuesListDialog.start</h4>
296 <b>start</b>(<i></i>)
297
298 <p>
299 Public slot to start the list command.
300 </p>
301 <div align="right"><a href="#top">Up</a></div>
302 <hr />
303 </body></html>

eric ide

mercurial