|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgConflictsListDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgConflictsListDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to show a list of files which had or still have |
|
13 conflicts. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 |
|
22 <table> |
|
23 |
|
24 <tr> |
|
25 <td><a href="#HgConflictsListDialog">HgConflictsListDialog</a></td> |
|
26 <td>Class implementing a dialog to show a list of files which had or still have conflicts.</td> |
|
27 </tr> |
|
28 </table> |
|
29 <h3>Functions</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <hr /> |
|
35 <hr /> |
|
36 <a NAME="HgConflictsListDialog" ID="HgConflictsListDialog"></a> |
|
37 <h2>HgConflictsListDialog</h2> |
|
38 |
|
39 <p> |
|
40 Class implementing a dialog to show a list of files which had or still |
|
41 have conflicts. |
|
42 </p> |
|
43 <h3>Derived from</h3> |
|
44 QWidget, Ui_HgConflictsListDialog |
|
45 <h3>Class Attributes</h3> |
|
46 |
|
47 <table> |
|
48 <tr><td>FilenameRole</td></tr><tr><td>StatusRole</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
|
51 |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 |
|
57 <table> |
|
58 |
|
59 <tr> |
|
60 <td><a href="#HgConflictsListDialog.__init__">HgConflictsListDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><a href="#HgConflictsListDialog.__finish">__finish</a></td> |
|
65 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
66 </tr> |
|
67 <tr> |
|
68 <td><a href="#HgConflictsListDialog.__generateItem">__generateItem</a></td> |
|
69 <td>Private method to generate a tag item in the tag list.</td> |
|
70 </tr> |
|
71 <tr> |
|
72 <td><a href="#HgConflictsListDialog.__getEntries">__getEntries</a></td> |
|
73 <td>Private method to get the conflict entries.</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgConflictsListDialog.__processOutputLine">__processOutputLine</a></td> |
|
77 <td>Private method to process the lines of output.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgConflictsListDialog.__resizeColumns">__resizeColumns</a></td> |
|
81 <td>Private method to resize the list columns.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgConflictsListDialog.__resort">__resort</a></td> |
|
85 <td>Private method to resort the tree.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#HgConflictsListDialog.__showError">__showError</a></td> |
|
89 <td>Private slot to show some error.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#HgConflictsListDialog.closeEvent">closeEvent</a></td> |
|
93 <td>Protected slot implementing a close event handler.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#HgConflictsListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
97 <td>Private slot called by a button of the button box clicked.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#HgConflictsListDialog.on_conflictsList_itemDoubleClicked">on_conflictsList_itemDoubleClicked</a></td> |
|
101 <td>Private slot to open the double clicked entry.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#HgConflictsListDialog.on_conflictsList_itemSelectionChanged">on_conflictsList_itemSelectionChanged</a></td> |
|
105 <td>Private slot to handle a change of selected conflict entries.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#HgConflictsListDialog.on_editButton_clicked">on_editButton_clicked</a></td> |
|
109 <td>Private slot to open the selected file in an editor.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#HgConflictsListDialog.on_reMergeButton_clicked">on_reMergeButton_clicked</a></td> |
|
113 <td>Private slot to re-merge the selected entries.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#HgConflictsListDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
|
117 <td>Private slot to refresh the log.</td> |
|
118 </tr> |
|
119 <tr> |
|
120 <td><a href="#HgConflictsListDialog.on_resolvedButton_clicked">on_resolvedButton_clicked</a></td> |
|
121 <td>Private slot to mark the selected entries as resolved.</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td><a href="#HgConflictsListDialog.on_unresolvedButton_clicked">on_unresolvedButton_clicked</a></td> |
|
125 <td>Private slot to mark the selected entries as unresolved.</td> |
|
126 </tr> |
|
127 <tr> |
|
128 <td><a href="#HgConflictsListDialog.show">show</a></td> |
|
129 <td>Public slot to show the dialog.</td> |
|
130 </tr> |
|
131 <tr> |
|
132 <td><a href="#HgConflictsListDialog.start">start</a></td> |
|
133 <td>Public slot to start the tags command.</td> |
|
134 </tr> |
|
135 </table> |
|
136 <h3>Static Methods</h3> |
|
137 |
|
138 <table> |
|
139 <tr><td>None</td></tr> |
|
140 </table> |
|
141 |
|
142 <a NAME="HgConflictsListDialog.__init__" ID="HgConflictsListDialog.__init__"></a> |
|
143 <h4>HgConflictsListDialog (Constructor)</h4> |
|
144 <b>HgConflictsListDialog</b>(<i>vcs, parent=None</i>) |
|
145 |
|
146 <p> |
|
147 Constructor |
|
148 </p> |
|
149 <dl> |
|
150 |
|
151 <dt><i>vcs</i></dt> |
|
152 <dd> |
|
153 reference to the vcs object |
|
154 </dd> |
|
155 <dt><i>parent</i></dt> |
|
156 <dd> |
|
157 parent widget (QWidget) |
|
158 </dd> |
|
159 </dl> |
|
160 <a NAME="HgConflictsListDialog.__finish" ID="HgConflictsListDialog.__finish"></a> |
|
161 <h4>HgConflictsListDialog.__finish</h4> |
|
162 <b>__finish</b>(<i></i>) |
|
163 |
|
164 <p> |
|
165 Private slot called when the process finished or the user pressed |
|
166 the button. |
|
167 </p> |
|
168 <a NAME="HgConflictsListDialog.__generateItem" ID="HgConflictsListDialog.__generateItem"></a> |
|
169 <h4>HgConflictsListDialog.__generateItem</h4> |
|
170 <b>__generateItem</b>(<i>status, name</i>) |
|
171 |
|
172 <p> |
|
173 Private method to generate a tag item in the tag list. |
|
174 </p> |
|
175 <dl> |
|
176 |
|
177 <dt><i>status</i></dt> |
|
178 <dd> |
|
179 status of the file (string) |
|
180 </dd> |
|
181 <dt><i>name</i></dt> |
|
182 <dd> |
|
183 name of the file (string) |
|
184 </dd> |
|
185 </dl> |
|
186 <a NAME="HgConflictsListDialog.__getEntries" ID="HgConflictsListDialog.__getEntries"></a> |
|
187 <h4>HgConflictsListDialog.__getEntries</h4> |
|
188 <b>__getEntries</b>(<i></i>) |
|
189 |
|
190 <p> |
|
191 Private method to get the conflict entries. |
|
192 </p> |
|
193 <a NAME="HgConflictsListDialog.__processOutputLine" ID="HgConflictsListDialog.__processOutputLine"></a> |
|
194 <h4>HgConflictsListDialog.__processOutputLine</h4> |
|
195 <b>__processOutputLine</b>(<i>line</i>) |
|
196 |
|
197 <p> |
|
198 Private method to process the lines of output. |
|
199 </p> |
|
200 <dl> |
|
201 |
|
202 <dt><i>line</i></dt> |
|
203 <dd> |
|
204 output line to be processed (string) |
|
205 </dd> |
|
206 </dl> |
|
207 <a NAME="HgConflictsListDialog.__resizeColumns" ID="HgConflictsListDialog.__resizeColumns"></a> |
|
208 <h4>HgConflictsListDialog.__resizeColumns</h4> |
|
209 <b>__resizeColumns</b>(<i></i>) |
|
210 |
|
211 <p> |
|
212 Private method to resize the list columns. |
|
213 </p> |
|
214 <a NAME="HgConflictsListDialog.__resort" ID="HgConflictsListDialog.__resort"></a> |
|
215 <h4>HgConflictsListDialog.__resort</h4> |
|
216 <b>__resort</b>(<i></i>) |
|
217 |
|
218 <p> |
|
219 Private method to resort the tree. |
|
220 </p> |
|
221 <a NAME="HgConflictsListDialog.__showError" ID="HgConflictsListDialog.__showError"></a> |
|
222 <h4>HgConflictsListDialog.__showError</h4> |
|
223 <b>__showError</b>(<i>out</i>) |
|
224 |
|
225 <p> |
|
226 Private slot to show some error. |
|
227 </p> |
|
228 <dl> |
|
229 |
|
230 <dt><i>out</i></dt> |
|
231 <dd> |
|
232 error to be shown (string) |
|
233 </dd> |
|
234 </dl> |
|
235 <a NAME="HgConflictsListDialog.closeEvent" ID="HgConflictsListDialog.closeEvent"></a> |
|
236 <h4>HgConflictsListDialog.closeEvent</h4> |
|
237 <b>closeEvent</b>(<i>e</i>) |
|
238 |
|
239 <p> |
|
240 Protected slot implementing a close event handler. |
|
241 </p> |
|
242 <dl> |
|
243 |
|
244 <dt><i>e</i></dt> |
|
245 <dd> |
|
246 close event (QCloseEvent) |
|
247 </dd> |
|
248 </dl> |
|
249 <a NAME="HgConflictsListDialog.on_buttonBox_clicked" ID="HgConflictsListDialog.on_buttonBox_clicked"></a> |
|
250 <h4>HgConflictsListDialog.on_buttonBox_clicked</h4> |
|
251 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
252 |
|
253 <p> |
|
254 Private slot called by a button of the button box clicked. |
|
255 </p> |
|
256 <dl> |
|
257 |
|
258 <dt><i>button</i></dt> |
|
259 <dd> |
|
260 button that was clicked (QAbstractButton) |
|
261 </dd> |
|
262 </dl> |
|
263 <a NAME="HgConflictsListDialog.on_conflictsList_itemDoubleClicked" ID="HgConflictsListDialog.on_conflictsList_itemDoubleClicked"></a> |
|
264 <h4>HgConflictsListDialog.on_conflictsList_itemDoubleClicked</h4> |
|
265 <b>on_conflictsList_itemDoubleClicked</b>(<i>item, column</i>) |
|
266 |
|
267 <p> |
|
268 Private slot to open the double clicked entry. |
|
269 </p> |
|
270 <dl> |
|
271 |
|
272 <dt><i>item</i></dt> |
|
273 <dd> |
|
274 reference to the double clicked item (QTreeWidgetItem) |
|
275 </dd> |
|
276 <dt><i>column</i></dt> |
|
277 <dd> |
|
278 column that was double clicked (integer) |
|
279 </dd> |
|
280 </dl> |
|
281 <a NAME="HgConflictsListDialog.on_conflictsList_itemSelectionChanged" ID="HgConflictsListDialog.on_conflictsList_itemSelectionChanged"></a> |
|
282 <h4>HgConflictsListDialog.on_conflictsList_itemSelectionChanged</h4> |
|
283 <b>on_conflictsList_itemSelectionChanged</b>(<i></i>) |
|
284 |
|
285 <p> |
|
286 Private slot to handle a change of selected conflict entries. |
|
287 </p> |
|
288 <a NAME="HgConflictsListDialog.on_editButton_clicked" ID="HgConflictsListDialog.on_editButton_clicked"></a> |
|
289 <h4>HgConflictsListDialog.on_editButton_clicked</h4> |
|
290 <b>on_editButton_clicked</b>(<i></i>) |
|
291 |
|
292 <p> |
|
293 Private slot to open the selected file in an editor. |
|
294 </p> |
|
295 <a NAME="HgConflictsListDialog.on_reMergeButton_clicked" ID="HgConflictsListDialog.on_reMergeButton_clicked"></a> |
|
296 <h4>HgConflictsListDialog.on_reMergeButton_clicked</h4> |
|
297 <b>on_reMergeButton_clicked</b>(<i></i>) |
|
298 |
|
299 <p> |
|
300 Private slot to re-merge the selected entries. |
|
301 </p> |
|
302 <a NAME="HgConflictsListDialog.on_refreshButton_clicked" ID="HgConflictsListDialog.on_refreshButton_clicked"></a> |
|
303 <h4>HgConflictsListDialog.on_refreshButton_clicked</h4> |
|
304 <b>on_refreshButton_clicked</b>(<i></i>) |
|
305 |
|
306 <p> |
|
307 Private slot to refresh the log. |
|
308 </p> |
|
309 <a NAME="HgConflictsListDialog.on_resolvedButton_clicked" ID="HgConflictsListDialog.on_resolvedButton_clicked"></a> |
|
310 <h4>HgConflictsListDialog.on_resolvedButton_clicked</h4> |
|
311 <b>on_resolvedButton_clicked</b>(<i></i>) |
|
312 |
|
313 <p> |
|
314 Private slot to mark the selected entries as resolved. |
|
315 </p> |
|
316 <a NAME="HgConflictsListDialog.on_unresolvedButton_clicked" ID="HgConflictsListDialog.on_unresolvedButton_clicked"></a> |
|
317 <h4>HgConflictsListDialog.on_unresolvedButton_clicked</h4> |
|
318 <b>on_unresolvedButton_clicked</b>(<i></i>) |
|
319 |
|
320 <p> |
|
321 Private slot to mark the selected entries as unresolved. |
|
322 </p> |
|
323 <a NAME="HgConflictsListDialog.show" ID="HgConflictsListDialog.show"></a> |
|
324 <h4>HgConflictsListDialog.show</h4> |
|
325 <b>show</b>(<i></i>) |
|
326 |
|
327 <p> |
|
328 Public slot to show the dialog. |
|
329 </p> |
|
330 <a NAME="HgConflictsListDialog.start" ID="HgConflictsListDialog.start"></a> |
|
331 <h4>HgConflictsListDialog.start</h4> |
|
332 <b>start</b>(<i></i>) |
|
333 |
|
334 <p> |
|
335 Public slot to start the tags command. |
|
336 </p> |
|
337 <div align="right"><a href="#top">Up</a></div> |
|
338 <hr /> |
|
339 </body></html> |