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.ProjectBrowserHelper</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.ProjectBrowserHelper</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the VCS project browser helper for Mercurial. |
26 Module implementing the VCS project browser helper for Mercurial. |
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="#HgProjectBrowserHelper">HgProjectBrowserHelper</a></td> |
38 <td><a href="#HgProjectBrowserHelper">HgProjectBrowserHelper</a></td> |
34 <td>Class implementing the VCS project browser helper for Mercurial.</td> |
39 <td>Class implementing the VCS project browser helper for Mercurial.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="HgProjectBrowserHelper" ID="HgProjectBrowserHelper"></a> |
49 <a NAME="HgProjectBrowserHelper" ID="HgProjectBrowserHelper"></a> |
43 <h2>HgProjectBrowserHelper</h2> |
50 <h2>HgProjectBrowserHelper</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the VCS project browser helper for Mercurial. |
53 Class implementing the VCS project browser helper for Mercurial. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 VcsProjectBrowserHelper |
56 VcsProjectBrowserHelper |
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="#HgProjectBrowserHelper.__init__">HgProjectBrowserHelper</a></td> |
72 <td><a href="#HgProjectBrowserHelper.__init__">HgProjectBrowserHelper</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#HgProjectBrowserHelper.__HgAnnotate">__HgAnnotate</a></td> |
76 <td><a href="#HgProjectBrowserHelper.__HgAnnotate">__HgAnnotate</a></td> |
64 <td>Private slot called by the context menu to show the annotations of a file.</td> |
77 <td>Private slot called by the context menu to show the annotations of a file.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#HgProjectBrowserHelper.__HgConfigure">__HgConfigure</a></td> |
80 <td><a href="#HgProjectBrowserHelper.__HgConfigure">__HgConfigure</a></td> |
67 <td>Private method to open the configuration dialog.</td> |
81 <td>Private method to open the configuration dialog.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#HgProjectBrowserHelper.__HgCopy">__HgCopy</a></td> |
84 <td><a href="#HgProjectBrowserHelper.__HgCopy">__HgCopy</a></td> |
70 <td>Private slot called by the context menu to copy the selected file.</td> |
85 <td>Private slot called by the context menu to copy the selected file.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#HgProjectBrowserHelper.__HgExtendedDiff">__HgExtendedDiff</a></td> |
88 <td><a href="#HgProjectBrowserHelper.__HgExtendedDiff">__HgExtendedDiff</a></td> |
73 <td>Private slot called by the context menu to show the difference of a file to the repository.</td> |
89 <td>Private slot called by the context menu to show the difference of a file to the repository.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#HgProjectBrowserHelper.__HgForget">__HgForget</a></td> |
92 <td><a href="#HgProjectBrowserHelper.__HgForget">__HgForget</a></td> |
76 <td>Private slot called by the context menu to remove the selected file from the Mercurial repository leaving a copy in the project directory.</td> |
93 <td>Private slot called by the context menu to remove the selected file from the Mercurial repository leaving a copy in the project directory.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#HgProjectBrowserHelper.__HgMove">__HgMove</a></td> |
96 <td><a href="#HgProjectBrowserHelper.__HgMove">__HgMove</a></td> |
79 <td>Private slot called by the context menu to move the selected file.</td> |
97 <td>Private slot called by the context menu to move the selected file.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#HgProjectBrowserHelper.__HgReMerge">__HgReMerge</a></td> |
100 <td><a href="#HgProjectBrowserHelper.__HgReMerge">__HgReMerge</a></td> |
82 <td>Private slot called by the context menu to re-merge a file.</td> |
101 <td>Private slot called by the context menu to re-merge a file.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#HgProjectBrowserHelper.__HgResolved">__HgResolved</a></td> |
104 <td><a href="#HgProjectBrowserHelper.__HgResolved">__HgResolved</a></td> |
85 <td>Private slot called by the context menu to mark conflicts of a file as being resolved.</td> |
105 <td>Private slot called by the context menu to mark conflicts of a file as being resolved.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#HgProjectBrowserHelper.__HgRevert">__HgRevert</a></td> |
108 <td><a href="#HgProjectBrowserHelper.__HgRevert">__HgRevert</a></td> |
88 <td>Private slot called by the context menu to revert changes made.</td> |
109 <td>Private slot called by the context menu to revert changes made.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#HgProjectBrowserHelper.__HgSbsDiff">__HgSbsDiff</a></td> |
112 <td><a href="#HgProjectBrowserHelper.__HgSbsDiff">__HgSbsDiff</a></td> |
91 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td> |
113 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#HgProjectBrowserHelper.__HgSbsExtendedDiff">__HgSbsExtendedDiff</a></td> |
116 <td><a href="#HgProjectBrowserHelper.__HgSbsExtendedDiff">__HgSbsExtendedDiff</a></td> |
94 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td> |
117 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#HgProjectBrowserHelper.__HgUnresolved">__HgUnresolved</a></td> |
120 <td><a href="#HgProjectBrowserHelper.__HgUnresolved">__HgUnresolved</a></td> |
97 <td>Private slot called by the context menu to mark conflicts of a file as being unresolved.</td> |
121 <td>Private slot called by the context menu to mark conflicts of a file as being unresolved.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#HgProjectBrowserHelper.__addExtensionsMenu">__addExtensionsMenu</a></td> |
124 <td><a href="#HgProjectBrowserHelper.__addExtensionsMenu">__addExtensionsMenu</a></td> |
100 <td>Private method to add an extension menu entry.</td> |
125 <td>Private method to add an extension menu entry.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#HgProjectBrowserHelper.__showExtensionMenu">__showExtensionMenu</a></td> |
128 <td><a href="#HgProjectBrowserHelper.__showExtensionMenu">__showExtensionMenu</a></td> |
103 <td>Private slot showing the extensions menu.</td> |
129 <td>Private slot showing the extensions menu.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#HgProjectBrowserHelper._addVCSMenu">_addVCSMenu</a></td> |
132 <td><a href="#HgProjectBrowserHelper._addVCSMenu">_addVCSMenu</a></td> |
106 <td>Protected method used to add the VCS menu to all project browsers.</td> |
133 <td>Protected method used to add the VCS menu to all project browsers.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#HgProjectBrowserHelper._addVCSMenuBack">_addVCSMenuBack</a></td> |
136 <td><a href="#HgProjectBrowserHelper._addVCSMenuBack">_addVCSMenuBack</a></td> |
109 <td>Protected method used to add the VCS menu to all project browsers.</td> |
137 <td>Protected method used to add the VCS menu to all project browsers.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#HgProjectBrowserHelper._addVCSMenuDir">_addVCSMenuDir</a></td> |
140 <td><a href="#HgProjectBrowserHelper._addVCSMenuDir">_addVCSMenuDir</a></td> |
112 <td>Protected method used to add the VCS menu to all project browsers.</td> |
141 <td>Protected method used to add the VCS menu to all project browsers.</td> |
113 </tr><tr> |
142 </tr> |
|
143 <tr> |
114 <td><a href="#HgProjectBrowserHelper._addVCSMenuDirMulti">_addVCSMenuDirMulti</a></td> |
144 <td><a href="#HgProjectBrowserHelper._addVCSMenuDirMulti">_addVCSMenuDirMulti</a></td> |
115 <td>Protected method used to add the VCS menu to all project browsers.</td> |
145 <td>Protected method used to add the VCS menu to all project browsers.</td> |
116 </tr><tr> |
146 </tr> |
|
147 <tr> |
117 <td><a href="#HgProjectBrowserHelper._addVCSMenuMulti">_addVCSMenuMulti</a></td> |
148 <td><a href="#HgProjectBrowserHelper._addVCSMenuMulti">_addVCSMenuMulti</a></td> |
118 <td>Protected method used to add the VCS menu for multi selection to all project browsers.</td> |
149 <td>Protected method used to add the VCS menu for multi selection to all project browsers.</td> |
119 </tr><tr> |
150 </tr> |
|
151 <tr> |
120 <td><a href="#HgProjectBrowserHelper.showContextMenu">showContextMenu</a></td> |
152 <td><a href="#HgProjectBrowserHelper.showContextMenu">showContextMenu</a></td> |
121 <td>Public slot called before the context menu is shown.</td> |
153 <td>Public slot called before the context menu is shown.</td> |
122 </tr><tr> |
154 </tr> |
|
155 <tr> |
123 <td><a href="#HgProjectBrowserHelper.showContextMenuDir">showContextMenuDir</a></td> |
156 <td><a href="#HgProjectBrowserHelper.showContextMenuDir">showContextMenuDir</a></td> |
124 <td>Public slot called before the context menu is shown.</td> |
157 <td>Public slot called before the context menu is shown.</td> |
125 </tr><tr> |
158 </tr> |
|
159 <tr> |
126 <td><a href="#HgProjectBrowserHelper.showContextMenuDirMulti">showContextMenuDirMulti</a></td> |
160 <td><a href="#HgProjectBrowserHelper.showContextMenuDirMulti">showContextMenuDirMulti</a></td> |
127 <td>Public slot called before the context menu is shown.</td> |
161 <td>Public slot called before the context menu is shown.</td> |
128 </tr><tr> |
162 </tr> |
|
163 <tr> |
129 <td><a href="#HgProjectBrowserHelper.showContextMenuMulti">showContextMenuMulti</a></td> |
164 <td><a href="#HgProjectBrowserHelper.showContextMenuMulti">showContextMenuMulti</a></td> |
130 <td>Public slot called before the context menu (multiple selections) is shown.</td> |
165 <td>Public slot called before the context menu (multiple selections) is shown.</td> |
131 </tr> |
166 </tr> |
132 </table> |
167 </table> |
133 <h3>Static Methods</h3> |
168 <h3>Static Methods</h3> |
|
169 |
134 <table> |
170 <table> |
135 <tr><td>None</td></tr> |
171 <tr><td>None</td></tr> |
136 </table> |
172 </table> |
|
173 |
137 <a NAME="HgProjectBrowserHelper.__init__" ID="HgProjectBrowserHelper.__init__"></a> |
174 <a NAME="HgProjectBrowserHelper.__init__" ID="HgProjectBrowserHelper.__init__"></a> |
138 <h4>HgProjectBrowserHelper (Constructor)</h4> |
175 <h4>HgProjectBrowserHelper (Constructor)</h4> |
139 <b>HgProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject, isTranslationsBrowser, parent=None, name=None</i>) |
176 <b>HgProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject, isTranslationsBrowser, parent=None, name=None</i>) |
|
177 |
140 <p> |
178 <p> |
141 Constructor |
179 Constructor |
142 </p><dl> |
180 </p> |
|
181 <dl> |
|
182 |
143 <dt><i>vcsObject</i></dt> |
183 <dt><i>vcsObject</i></dt> |
144 <dd> |
184 <dd> |
145 reference to the vcs object |
185 reference to the vcs object |
146 </dd><dt><i>browserObject</i></dt> |
186 </dd> |
|
187 <dt><i>browserObject</i></dt> |
147 <dd> |
188 <dd> |
148 reference to the project browser object |
189 reference to the project browser object |
149 </dd><dt><i>projectObject</i></dt> |
190 </dd> |
|
191 <dt><i>projectObject</i></dt> |
150 <dd> |
192 <dd> |
151 reference to the project object |
193 reference to the project object |
152 </dd><dt><i>isTranslationsBrowser</i></dt> |
194 </dd> |
|
195 <dt><i>isTranslationsBrowser</i></dt> |
153 <dd> |
196 <dd> |
154 flag indicating, the helper is requested |
197 flag indicating, the helper is requested |
155 for the translations browser (this needs some special treatment) |
198 for the translations browser (this needs some special treatment) |
156 </dd><dt><i>parent</i></dt> |
199 </dd> |
|
200 <dt><i>parent</i></dt> |
157 <dd> |
201 <dd> |
158 parent widget (QWidget) |
202 parent widget (QWidget) |
159 </dd><dt><i>name</i></dt> |
203 </dd> |
|
204 <dt><i>name</i></dt> |
160 <dd> |
205 <dd> |
161 name of this object (string) |
206 name of this object (string) |
162 </dd> |
207 </dd> |
163 </dl><a NAME="HgProjectBrowserHelper.__HgAnnotate" ID="HgProjectBrowserHelper.__HgAnnotate"></a> |
208 </dl> |
|
209 <a NAME="HgProjectBrowserHelper.__HgAnnotate" ID="HgProjectBrowserHelper.__HgAnnotate"></a> |
164 <h4>HgProjectBrowserHelper.__HgAnnotate</h4> |
210 <h4>HgProjectBrowserHelper.__HgAnnotate</h4> |
165 <b>__HgAnnotate</b>(<i></i>) |
211 <b>__HgAnnotate</b>(<i></i>) |
|
212 |
166 <p> |
213 <p> |
167 Private slot called by the context menu to show the annotations of a |
214 Private slot called by the context menu to show the annotations of a |
168 file. |
215 file. |
169 </p><a NAME="HgProjectBrowserHelper.__HgConfigure" ID="HgProjectBrowserHelper.__HgConfigure"></a> |
216 </p> |
|
217 <a NAME="HgProjectBrowserHelper.__HgConfigure" ID="HgProjectBrowserHelper.__HgConfigure"></a> |
170 <h4>HgProjectBrowserHelper.__HgConfigure</h4> |
218 <h4>HgProjectBrowserHelper.__HgConfigure</h4> |
171 <b>__HgConfigure</b>(<i></i>) |
219 <b>__HgConfigure</b>(<i></i>) |
|
220 |
172 <p> |
221 <p> |
173 Private method to open the configuration dialog. |
222 Private method to open the configuration dialog. |
174 </p><a NAME="HgProjectBrowserHelper.__HgCopy" ID="HgProjectBrowserHelper.__HgCopy"></a> |
223 </p> |
|
224 <a NAME="HgProjectBrowserHelper.__HgCopy" ID="HgProjectBrowserHelper.__HgCopy"></a> |
175 <h4>HgProjectBrowserHelper.__HgCopy</h4> |
225 <h4>HgProjectBrowserHelper.__HgCopy</h4> |
176 <b>__HgCopy</b>(<i></i>) |
226 <b>__HgCopy</b>(<i></i>) |
|
227 |
177 <p> |
228 <p> |
178 Private slot called by the context menu to copy the selected file. |
229 Private slot called by the context menu to copy the selected file. |
179 </p><a NAME="HgProjectBrowserHelper.__HgExtendedDiff" ID="HgProjectBrowserHelper.__HgExtendedDiff"></a> |
230 </p> |
|
231 <a NAME="HgProjectBrowserHelper.__HgExtendedDiff" ID="HgProjectBrowserHelper.__HgExtendedDiff"></a> |
180 <h4>HgProjectBrowserHelper.__HgExtendedDiff</h4> |
232 <h4>HgProjectBrowserHelper.__HgExtendedDiff</h4> |
181 <b>__HgExtendedDiff</b>(<i></i>) |
233 <b>__HgExtendedDiff</b>(<i></i>) |
|
234 |
182 <p> |
235 <p> |
183 Private slot called by the context menu to show the difference of a |
236 Private slot called by the context menu to show the difference of a |
184 file to the repository. |
237 file to the repository. |
185 </p><p> |
238 </p> |
|
239 <p> |
186 This gives the chance to enter the revisions to compare. |
240 This gives the chance to enter the revisions to compare. |
187 </p><a NAME="HgProjectBrowserHelper.__HgForget" ID="HgProjectBrowserHelper.__HgForget"></a> |
241 </p> |
|
242 <a NAME="HgProjectBrowserHelper.__HgForget" ID="HgProjectBrowserHelper.__HgForget"></a> |
188 <h4>HgProjectBrowserHelper.__HgForget</h4> |
243 <h4>HgProjectBrowserHelper.__HgForget</h4> |
189 <b>__HgForget</b>(<i></i>) |
244 <b>__HgForget</b>(<i></i>) |
|
245 |
190 <p> |
246 <p> |
191 Private slot called by the context menu to remove the selected file |
247 Private slot called by the context menu to remove the selected file |
192 from the Mercurial repository leaving a copy in the project directory. |
248 from the Mercurial repository leaving a copy in the project directory. |
193 </p><a NAME="HgProjectBrowserHelper.__HgMove" ID="HgProjectBrowserHelper.__HgMove"></a> |
249 </p> |
|
250 <a NAME="HgProjectBrowserHelper.__HgMove" ID="HgProjectBrowserHelper.__HgMove"></a> |
194 <h4>HgProjectBrowserHelper.__HgMove</h4> |
251 <h4>HgProjectBrowserHelper.__HgMove</h4> |
195 <b>__HgMove</b>(<i></i>) |
252 <b>__HgMove</b>(<i></i>) |
|
253 |
196 <p> |
254 <p> |
197 Private slot called by the context menu to move the selected file. |
255 Private slot called by the context menu to move the selected file. |
198 </p><a NAME="HgProjectBrowserHelper.__HgReMerge" ID="HgProjectBrowserHelper.__HgReMerge"></a> |
256 </p> |
|
257 <a NAME="HgProjectBrowserHelper.__HgReMerge" ID="HgProjectBrowserHelper.__HgReMerge"></a> |
199 <h4>HgProjectBrowserHelper.__HgReMerge</h4> |
258 <h4>HgProjectBrowserHelper.__HgReMerge</h4> |
200 <b>__HgReMerge</b>(<i></i>) |
259 <b>__HgReMerge</b>(<i></i>) |
|
260 |
201 <p> |
261 <p> |
202 Private slot called by the context menu to re-merge a file. |
262 Private slot called by the context menu to re-merge a file. |
203 </p><a NAME="HgProjectBrowserHelper.__HgResolved" ID="HgProjectBrowserHelper.__HgResolved"></a> |
263 </p> |
|
264 <a NAME="HgProjectBrowserHelper.__HgResolved" ID="HgProjectBrowserHelper.__HgResolved"></a> |
204 <h4>HgProjectBrowserHelper.__HgResolved</h4> |
265 <h4>HgProjectBrowserHelper.__HgResolved</h4> |
205 <b>__HgResolved</b>(<i></i>) |
266 <b>__HgResolved</b>(<i></i>) |
|
267 |
206 <p> |
268 <p> |
207 Private slot called by the context menu to mark conflicts of a file |
269 Private slot called by the context menu to mark conflicts of a file |
208 as being resolved. |
270 as being resolved. |
209 </p><a NAME="HgProjectBrowserHelper.__HgRevert" ID="HgProjectBrowserHelper.__HgRevert"></a> |
271 </p> |
|
272 <a NAME="HgProjectBrowserHelper.__HgRevert" ID="HgProjectBrowserHelper.__HgRevert"></a> |
210 <h4>HgProjectBrowserHelper.__HgRevert</h4> |
273 <h4>HgProjectBrowserHelper.__HgRevert</h4> |
211 <b>__HgRevert</b>(<i></i>) |
274 <b>__HgRevert</b>(<i></i>) |
|
275 |
212 <p> |
276 <p> |
213 Private slot called by the context menu to revert changes made. |
277 Private slot called by the context menu to revert changes made. |
214 </p><a NAME="HgProjectBrowserHelper.__HgSbsDiff" ID="HgProjectBrowserHelper.__HgSbsDiff"></a> |
278 </p> |
|
279 <a NAME="HgProjectBrowserHelper.__HgSbsDiff" ID="HgProjectBrowserHelper.__HgSbsDiff"></a> |
215 <h4>HgProjectBrowserHelper.__HgSbsDiff</h4> |
280 <h4>HgProjectBrowserHelper.__HgSbsDiff</h4> |
216 <b>__HgSbsDiff</b>(<i></i>) |
281 <b>__HgSbsDiff</b>(<i></i>) |
|
282 |
217 <p> |
283 <p> |
218 Private slot called by the context menu to show the difference of a |
284 Private slot called by the context menu to show the difference of a |
219 file to the repository side-by-side. |
285 file to the repository side-by-side. |
220 </p><a NAME="HgProjectBrowserHelper.__HgSbsExtendedDiff" ID="HgProjectBrowserHelper.__HgSbsExtendedDiff"></a> |
286 </p> |
|
287 <a NAME="HgProjectBrowserHelper.__HgSbsExtendedDiff" ID="HgProjectBrowserHelper.__HgSbsExtendedDiff"></a> |
221 <h4>HgProjectBrowserHelper.__HgSbsExtendedDiff</h4> |
288 <h4>HgProjectBrowserHelper.__HgSbsExtendedDiff</h4> |
222 <b>__HgSbsExtendedDiff</b>(<i></i>) |
289 <b>__HgSbsExtendedDiff</b>(<i></i>) |
|
290 |
223 <p> |
291 <p> |
224 Private slot called by the context menu to show the difference of a |
292 Private slot called by the context menu to show the difference of a |
225 file to the repository side-by-side. |
293 file to the repository side-by-side. |
226 </p><p> |
294 </p> |
|
295 <p> |
227 It allows the selection of revisions to compare. |
296 It allows the selection of revisions to compare. |
228 </p><a NAME="HgProjectBrowserHelper.__HgUnresolved" ID="HgProjectBrowserHelper.__HgUnresolved"></a> |
297 </p> |
|
298 <a NAME="HgProjectBrowserHelper.__HgUnresolved" ID="HgProjectBrowserHelper.__HgUnresolved"></a> |
229 <h4>HgProjectBrowserHelper.__HgUnresolved</h4> |
299 <h4>HgProjectBrowserHelper.__HgUnresolved</h4> |
230 <b>__HgUnresolved</b>(<i></i>) |
300 <b>__HgUnresolved</b>(<i></i>) |
|
301 |
231 <p> |
302 <p> |
232 Private slot called by the context menu to mark conflicts of a file |
303 Private slot called by the context menu to mark conflicts of a file |
233 as being unresolved. |
304 as being unresolved. |
234 </p><a NAME="HgProjectBrowserHelper.__addExtensionsMenu" ID="HgProjectBrowserHelper.__addExtensionsMenu"></a> |
305 </p> |
|
306 <a NAME="HgProjectBrowserHelper.__addExtensionsMenu" ID="HgProjectBrowserHelper.__addExtensionsMenu"></a> |
235 <h4>HgProjectBrowserHelper.__addExtensionsMenu</h4> |
307 <h4>HgProjectBrowserHelper.__addExtensionsMenu</h4> |
236 <b>__addExtensionsMenu</b>(<i>menu, key</i>) |
308 <b>__addExtensionsMenu</b>(<i>menu, key</i>) |
|
309 |
237 <p> |
310 <p> |
238 Private method to add an extension menu entry. |
311 Private method to add an extension menu entry. |
239 </p><dl> |
312 </p> |
|
313 <dl> |
|
314 |
240 <dt><i>menu</i></dt> |
315 <dt><i>menu</i></dt> |
241 <dd> |
316 <dd> |
242 menu to add it to (QMenu) |
317 menu to add it to (QMenu) |
243 </dd><dt><i>key</i></dt> |
318 </dd> |
|
319 <dt><i>key</i></dt> |
244 <dd> |
320 <dd> |
245 menu key (string, one of 'mainMenu', 'multiMenu', |
321 menu key (string, one of 'mainMenu', 'multiMenu', |
246 'backMenu', 'dirMenu' or 'dirMultiMenu') |
322 'backMenu', 'dirMenu' or 'dirMultiMenu') |
247 </dd> |
323 </dd> |
248 </dl><dl> |
324 </dl> |
|
325 <dl> |
249 <dt>Returns:</dt> |
326 <dt>Returns:</dt> |
250 <dd> |
327 <dd> |
251 reference to the menu action (QAction) |
328 reference to the menu action (QAction) |
252 </dd> |
329 </dd> |
253 </dl><a NAME="HgProjectBrowserHelper.__showExtensionMenu" ID="HgProjectBrowserHelper.__showExtensionMenu"></a> |
330 </dl> |
|
331 <a NAME="HgProjectBrowserHelper.__showExtensionMenu" ID="HgProjectBrowserHelper.__showExtensionMenu"></a> |
254 <h4>HgProjectBrowserHelper.__showExtensionMenu</h4> |
332 <h4>HgProjectBrowserHelper.__showExtensionMenu</h4> |
255 <b>__showExtensionMenu</b>(<i>key, controlled</i>) |
333 <b>__showExtensionMenu</b>(<i>key, controlled</i>) |
|
334 |
256 <p> |
335 <p> |
257 Private slot showing the extensions menu. |
336 Private slot showing the extensions menu. |
258 </p><dl> |
337 </p> |
|
338 <dl> |
|
339 |
259 <dt><i>key</i></dt> |
340 <dt><i>key</i></dt> |
260 <dd> |
341 <dd> |
261 menu key (string, one of 'mainMenu', 'multiMenu', |
342 menu key (string, one of 'mainMenu', 'multiMenu', |
262 'backMenu', 'dirMenu' or 'dirMultiMenu') |
343 'backMenu', 'dirMenu' or 'dirMultiMenu') |
263 </dd><dt><i>controlled</i></dt> |
344 </dd> |
|
345 <dt><i>controlled</i></dt> |
264 <dd> |
346 <dd> |
265 flag indicating to show the menu for a |
347 flag indicating to show the menu for a |
266 version controlled entry or a non-version controlled entry |
348 version controlled entry or a non-version controlled entry |
267 (boolean) |
349 (boolean) |
268 </dd> |
350 </dd> |
269 </dl><a NAME="HgProjectBrowserHelper._addVCSMenu" ID="HgProjectBrowserHelper._addVCSMenu"></a> |
351 </dl> |
|
352 <a NAME="HgProjectBrowserHelper._addVCSMenu" ID="HgProjectBrowserHelper._addVCSMenu"></a> |
270 <h4>HgProjectBrowserHelper._addVCSMenu</h4> |
353 <h4>HgProjectBrowserHelper._addVCSMenu</h4> |
271 <b>_addVCSMenu</b>(<i>mainMenu</i>) |
354 <b>_addVCSMenu</b>(<i>mainMenu</i>) |
|
355 |
272 <p> |
356 <p> |
273 Protected method used to add the VCS menu to all project browsers. |
357 Protected method used to add the VCS menu to all project browsers. |
274 </p><dl> |
358 </p> |
|
359 <dl> |
|
360 |
275 <dt><i>mainMenu</i></dt> |
361 <dt><i>mainMenu</i></dt> |
276 <dd> |
362 <dd> |
277 reference to the menu to be amended |
363 reference to the menu to be amended |
278 </dd> |
364 </dd> |
279 </dl><a NAME="HgProjectBrowserHelper._addVCSMenuBack" ID="HgProjectBrowserHelper._addVCSMenuBack"></a> |
365 </dl> |
|
366 <a NAME="HgProjectBrowserHelper._addVCSMenuBack" ID="HgProjectBrowserHelper._addVCSMenuBack"></a> |
280 <h4>HgProjectBrowserHelper._addVCSMenuBack</h4> |
367 <h4>HgProjectBrowserHelper._addVCSMenuBack</h4> |
281 <b>_addVCSMenuBack</b>(<i>mainMenu</i>) |
368 <b>_addVCSMenuBack</b>(<i>mainMenu</i>) |
|
369 |
282 <p> |
370 <p> |
283 Protected method used to add the VCS menu to all project browsers. |
371 Protected method used to add the VCS menu to all project browsers. |
284 </p><dl> |
372 </p> |
|
373 <dl> |
|
374 |
285 <dt><i>mainMenu</i></dt> |
375 <dt><i>mainMenu</i></dt> |
286 <dd> |
376 <dd> |
287 reference to the menu to be amended |
377 reference to the menu to be amended |
288 </dd> |
378 </dd> |
289 </dl><a NAME="HgProjectBrowserHelper._addVCSMenuDir" ID="HgProjectBrowserHelper._addVCSMenuDir"></a> |
379 </dl> |
|
380 <a NAME="HgProjectBrowserHelper._addVCSMenuDir" ID="HgProjectBrowserHelper._addVCSMenuDir"></a> |
290 <h4>HgProjectBrowserHelper._addVCSMenuDir</h4> |
381 <h4>HgProjectBrowserHelper._addVCSMenuDir</h4> |
291 <b>_addVCSMenuDir</b>(<i>mainMenu</i>) |
382 <b>_addVCSMenuDir</b>(<i>mainMenu</i>) |
|
383 |
292 <p> |
384 <p> |
293 Protected method used to add the VCS menu to all project browsers. |
385 Protected method used to add the VCS menu to all project browsers. |
294 </p><dl> |
386 </p> |
|
387 <dl> |
|
388 |
295 <dt><i>mainMenu</i></dt> |
389 <dt><i>mainMenu</i></dt> |
296 <dd> |
390 <dd> |
297 reference to the menu to be amended |
391 reference to the menu to be amended |
298 </dd> |
392 </dd> |
299 </dl><a NAME="HgProjectBrowserHelper._addVCSMenuDirMulti" ID="HgProjectBrowserHelper._addVCSMenuDirMulti"></a> |
393 </dl> |
|
394 <a NAME="HgProjectBrowserHelper._addVCSMenuDirMulti" ID="HgProjectBrowserHelper._addVCSMenuDirMulti"></a> |
300 <h4>HgProjectBrowserHelper._addVCSMenuDirMulti</h4> |
395 <h4>HgProjectBrowserHelper._addVCSMenuDirMulti</h4> |
301 <b>_addVCSMenuDirMulti</b>(<i>mainMenu</i>) |
396 <b>_addVCSMenuDirMulti</b>(<i>mainMenu</i>) |
|
397 |
302 <p> |
398 <p> |
303 Protected method used to add the VCS menu to all project browsers. |
399 Protected method used to add the VCS menu to all project browsers. |
304 </p><dl> |
400 </p> |
|
401 <dl> |
|
402 |
305 <dt><i>mainMenu</i></dt> |
403 <dt><i>mainMenu</i></dt> |
306 <dd> |
404 <dd> |
307 reference to the menu to be amended |
405 reference to the menu to be amended |
308 </dd> |
406 </dd> |
309 </dl><a NAME="HgProjectBrowserHelper._addVCSMenuMulti" ID="HgProjectBrowserHelper._addVCSMenuMulti"></a> |
407 </dl> |
|
408 <a NAME="HgProjectBrowserHelper._addVCSMenuMulti" ID="HgProjectBrowserHelper._addVCSMenuMulti"></a> |
310 <h4>HgProjectBrowserHelper._addVCSMenuMulti</h4> |
409 <h4>HgProjectBrowserHelper._addVCSMenuMulti</h4> |
311 <b>_addVCSMenuMulti</b>(<i>mainMenu</i>) |
410 <b>_addVCSMenuMulti</b>(<i>mainMenu</i>) |
|
411 |
312 <p> |
412 <p> |
313 Protected method used to add the VCS menu for multi selection to all |
413 Protected method used to add the VCS menu for multi selection to all |
314 project browsers. |
414 project browsers. |
315 </p><dl> |
415 </p> |
|
416 <dl> |
|
417 |
316 <dt><i>mainMenu</i></dt> |
418 <dt><i>mainMenu</i></dt> |
317 <dd> |
419 <dd> |
318 reference to the menu to be amended |
420 reference to the menu to be amended |
319 </dd> |
421 </dd> |
320 </dl><a NAME="HgProjectBrowserHelper.showContextMenu" ID="HgProjectBrowserHelper.showContextMenu"></a> |
422 </dl> |
|
423 <a NAME="HgProjectBrowserHelper.showContextMenu" ID="HgProjectBrowserHelper.showContextMenu"></a> |
321 <h4>HgProjectBrowserHelper.showContextMenu</h4> |
424 <h4>HgProjectBrowserHelper.showContextMenu</h4> |
322 <b>showContextMenu</b>(<i>menu, standardItems</i>) |
425 <b>showContextMenu</b>(<i>menu, standardItems</i>) |
|
426 |
323 <p> |
427 <p> |
324 Public slot called before the context menu is shown. |
428 Public slot called before the context menu is shown. |
325 </p><p> |
429 </p> |
|
430 <p> |
326 It enables/disables the VCS menu entries depending on the overall |
431 It enables/disables the VCS menu entries depending on the overall |
327 VCS status and the file status. |
432 VCS status and the file status. |
328 </p><dl> |
433 </p> |
|
434 <dl> |
|
435 |
329 <dt><i>menu</i></dt> |
436 <dt><i>menu</i></dt> |
330 <dd> |
437 <dd> |
331 reference to the menu to be shown |
438 reference to the menu to be shown |
332 </dd><dt><i>standardItems</i></dt> |
439 </dd> |
|
440 <dt><i>standardItems</i></dt> |
333 <dd> |
441 <dd> |
334 array of standard items that need |
442 array of standard items that need |
335 activation/deactivation depending on the overall VCS status |
443 activation/deactivation depending on the overall VCS status |
336 </dd> |
444 </dd> |
337 </dl><a NAME="HgProjectBrowserHelper.showContextMenuDir" ID="HgProjectBrowserHelper.showContextMenuDir"></a> |
445 </dl> |
|
446 <a NAME="HgProjectBrowserHelper.showContextMenuDir" ID="HgProjectBrowserHelper.showContextMenuDir"></a> |
338 <h4>HgProjectBrowserHelper.showContextMenuDir</h4> |
447 <h4>HgProjectBrowserHelper.showContextMenuDir</h4> |
339 <b>showContextMenuDir</b>(<i>menu, standardItems</i>) |
448 <b>showContextMenuDir</b>(<i>menu, standardItems</i>) |
|
449 |
340 <p> |
450 <p> |
341 Public slot called before the context menu is shown. |
451 Public slot called before the context menu is shown. |
342 </p><p> |
452 </p> |
|
453 <p> |
343 It enables/disables the VCS menu entries depending on the overall |
454 It enables/disables the VCS menu entries depending on the overall |
344 VCS status and the directory status. |
455 VCS status and the directory status. |
345 </p><dl> |
456 </p> |
|
457 <dl> |
|
458 |
346 <dt><i>menu</i></dt> |
459 <dt><i>menu</i></dt> |
347 <dd> |
460 <dd> |
348 reference to the menu to be shown |
461 reference to the menu to be shown |
349 </dd><dt><i>standardItems</i></dt> |
462 </dd> |
|
463 <dt><i>standardItems</i></dt> |
350 <dd> |
464 <dd> |
351 array of standard items that need |
465 array of standard items that need |
352 activation/deactivation depending on the overall VCS status |
466 activation/deactivation depending on the overall VCS status |
353 </dd> |
467 </dd> |
354 </dl><a NAME="HgProjectBrowserHelper.showContextMenuDirMulti" ID="HgProjectBrowserHelper.showContextMenuDirMulti"></a> |
468 </dl> |
|
469 <a NAME="HgProjectBrowserHelper.showContextMenuDirMulti" ID="HgProjectBrowserHelper.showContextMenuDirMulti"></a> |
355 <h4>HgProjectBrowserHelper.showContextMenuDirMulti</h4> |
470 <h4>HgProjectBrowserHelper.showContextMenuDirMulti</h4> |
356 <b>showContextMenuDirMulti</b>(<i>menu, standardItems</i>) |
471 <b>showContextMenuDirMulti</b>(<i>menu, standardItems</i>) |
|
472 |
357 <p> |
473 <p> |
358 Public slot called before the context menu is shown. |
474 Public slot called before the context menu is shown. |
359 </p><p> |
475 </p> |
|
476 <p> |
360 It enables/disables the VCS menu entries depending on the overall |
477 It enables/disables the VCS menu entries depending on the overall |
361 VCS status and the directory status. |
478 VCS status and the directory status. |
362 </p><dl> |
479 </p> |
|
480 <dl> |
|
481 |
363 <dt><i>menu</i></dt> |
482 <dt><i>menu</i></dt> |
364 <dd> |
483 <dd> |
365 reference to the menu to be shown |
484 reference to the menu to be shown |
366 </dd><dt><i>standardItems</i></dt> |
485 </dd> |
|
486 <dt><i>standardItems</i></dt> |
367 <dd> |
487 <dd> |
368 array of standard items that need |
488 array of standard items that need |
369 activation/deactivation depending on the overall VCS status |
489 activation/deactivation depending on the overall VCS status |
370 </dd> |
490 </dd> |
371 </dl><a NAME="HgProjectBrowserHelper.showContextMenuMulti" ID="HgProjectBrowserHelper.showContextMenuMulti"></a> |
491 </dl> |
|
492 <a NAME="HgProjectBrowserHelper.showContextMenuMulti" ID="HgProjectBrowserHelper.showContextMenuMulti"></a> |
372 <h4>HgProjectBrowserHelper.showContextMenuMulti</h4> |
493 <h4>HgProjectBrowserHelper.showContextMenuMulti</h4> |
373 <b>showContextMenuMulti</b>(<i>menu, standardItems</i>) |
494 <b>showContextMenuMulti</b>(<i>menu, standardItems</i>) |
|
495 |
374 <p> |
496 <p> |
375 Public slot called before the context menu (multiple selections) is |
497 Public slot called before the context menu (multiple selections) is |
376 shown. |
498 shown. |
377 </p><p> |
499 </p> |
|
500 <p> |
378 It enables/disables the VCS menu entries depending on the overall |
501 It enables/disables the VCS menu entries depending on the overall |
379 VCS status and the files status. |
502 VCS status and the files status. |
380 </p><dl> |
503 </p> |
|
504 <dl> |
|
505 |
381 <dt><i>menu</i></dt> |
506 <dt><i>menu</i></dt> |
382 <dd> |
507 <dd> |
383 reference to the menu to be shown |
508 reference to the menu to be shown |
384 </dd><dt><i>standardItems</i></dt> |
509 </dd> |
|
510 <dt><i>standardItems</i></dt> |
385 <dd> |
511 <dd> |
386 array of standard items that need |
512 array of standard items that need |
387 activation/deactivation depending on the overall VCS status |
513 activation/deactivation depending on the overall VCS status |
388 </dd> |
514 </dd> |
389 </dl> |
515 </dl> |