eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.ProjectBrowserHelper.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.vcsGit.ProjectBrowserHelper</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsGit.ProjectBrowserHelper</h1>
24
23 <p> 25 <p>
24 Module implementing the VCS project browser helper for Git. 26 Module implementing the VCS project browser helper for Git.
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="#GitProjectBrowserHelper">GitProjectBrowserHelper</a></td> 38 <td><a href="#GitProjectBrowserHelper">GitProjectBrowserHelper</a></td>
34 <td>Class implementing the VCS project browser helper for Git.</td> 39 <td>Class implementing the VCS project browser helper for Git.</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="GitProjectBrowserHelper" ID="GitProjectBrowserHelper"></a> 49 <a NAME="GitProjectBrowserHelper" ID="GitProjectBrowserHelper"></a>
43 <h2>GitProjectBrowserHelper</h2> 50 <h2>GitProjectBrowserHelper</h2>
51
44 <p> 52 <p>
45 Class implementing the VCS project browser helper for Git. 53 Class implementing the VCS project browser helper for Git.
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="#GitProjectBrowserHelper.__init__">GitProjectBrowserHelper</a></td> 72 <td><a href="#GitProjectBrowserHelper.__init__">GitProjectBrowserHelper</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#GitProjectBrowserHelper.__GitBlame">__GitBlame</a></td> 76 <td><a href="#GitProjectBrowserHelper.__GitBlame">__GitBlame</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="#GitProjectBrowserHelper.__GitConfigure">__GitConfigure</a></td> 80 <td><a href="#GitProjectBrowserHelper.__GitConfigure">__GitConfigure</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="#GitProjectBrowserHelper.__GitCopy">__GitCopy</a></td> 84 <td><a href="#GitProjectBrowserHelper.__GitCopy">__GitCopy</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="#GitProjectBrowserHelper.__GitExtendedDiff">__GitExtendedDiff</a></td> 88 <td><a href="#GitProjectBrowserHelper.__GitExtendedDiff">__GitExtendedDiff</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="#GitProjectBrowserHelper.__GitForget">__GitForget</a></td> 92 <td><a href="#GitProjectBrowserHelper.__GitForget">__GitForget</a></td>
76 <td>Private slot called by the context menu to remove the selected file from the Git 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 Git repository leaving a copy in the project directory.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#GitProjectBrowserHelper.__GitMove">__GitMove</a></td> 96 <td><a href="#GitProjectBrowserHelper.__GitMove">__GitMove</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="#GitProjectBrowserHelper.__GitRevert">__GitRevert</a></td> 100 <td><a href="#GitProjectBrowserHelper.__GitRevert">__GitRevert</a></td>
82 <td>Private slot to revert changes of the working area.</td> 101 <td>Private slot to revert changes of the working area.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#GitProjectBrowserHelper.__GitSbsDiff">__GitSbsDiff</a></td> 104 <td><a href="#GitProjectBrowserHelper.__GitSbsDiff">__GitSbsDiff</a></td>
85 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td> 105 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#GitProjectBrowserHelper.__GitSbsExtendedDiff">__GitSbsExtendedDiff</a></td> 108 <td><a href="#GitProjectBrowserHelper.__GitSbsExtendedDiff">__GitSbsExtendedDiff</a></td>
88 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td> 109 <td>Private slot called by the context menu to show the difference of a file to the repository side-by-side.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#GitProjectBrowserHelper.__GitUnstage">__GitUnstage</a></td> 112 <td><a href="#GitProjectBrowserHelper.__GitUnstage">__GitUnstage</a></td>
91 <td>Private slot to unstage changes.</td> 113 <td>Private slot to unstage changes.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#GitProjectBrowserHelper._addVCSMenu">_addVCSMenu</a></td> 116 <td><a href="#GitProjectBrowserHelper._addVCSMenu">_addVCSMenu</a></td>
94 <td>Protected method used to add the VCS menu to all project browsers.</td> 117 <td>Protected method used to add the VCS menu to all project browsers.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#GitProjectBrowserHelper._addVCSMenuBack">_addVCSMenuBack</a></td> 120 <td><a href="#GitProjectBrowserHelper._addVCSMenuBack">_addVCSMenuBack</a></td>
97 <td>Protected method used to add the VCS menu to all project browsers.</td> 121 <td>Protected method used to add the VCS menu to all project browsers.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#GitProjectBrowserHelper._addVCSMenuDir">_addVCSMenuDir</a></td> 124 <td><a href="#GitProjectBrowserHelper._addVCSMenuDir">_addVCSMenuDir</a></td>
100 <td>Protected method used to add the VCS menu to all project browsers.</td> 125 <td>Protected method used to add the VCS menu to all project browsers.</td>
101 </tr><tr> 126 </tr>
127 <tr>
102 <td><a href="#GitProjectBrowserHelper._addVCSMenuDirMulti">_addVCSMenuDirMulti</a></td> 128 <td><a href="#GitProjectBrowserHelper._addVCSMenuDirMulti">_addVCSMenuDirMulti</a></td>
103 <td>Protected method used to add the VCS menu to all project browsers.</td> 129 <td>Protected method used to add the VCS menu to all project browsers.</td>
104 </tr><tr> 130 </tr>
131 <tr>
105 <td><a href="#GitProjectBrowserHelper._addVCSMenuMulti">_addVCSMenuMulti</a></td> 132 <td><a href="#GitProjectBrowserHelper._addVCSMenuMulti">_addVCSMenuMulti</a></td>
106 <td>Protected method used to add the VCS menu for multi selection to all project browsers.</td> 133 <td>Protected method used to add the VCS menu for multi selection to all project browsers.</td>
107 </tr><tr> 134 </tr>
135 <tr>
108 <td><a href="#GitProjectBrowserHelper.showContextMenu">showContextMenu</a></td> 136 <td><a href="#GitProjectBrowserHelper.showContextMenu">showContextMenu</a></td>
109 <td>Public slot called before the context menu is shown.</td> 137 <td>Public slot called before the context menu is shown.</td>
110 </tr><tr> 138 </tr>
139 <tr>
111 <td><a href="#GitProjectBrowserHelper.showContextMenuDir">showContextMenuDir</a></td> 140 <td><a href="#GitProjectBrowserHelper.showContextMenuDir">showContextMenuDir</a></td>
112 <td>Public slot called before the context menu is shown.</td> 141 <td>Public slot called before the context menu is shown.</td>
113 </tr><tr> 142 </tr>
143 <tr>
114 <td><a href="#GitProjectBrowserHelper.showContextMenuDirMulti">showContextMenuDirMulti</a></td> 144 <td><a href="#GitProjectBrowserHelper.showContextMenuDirMulti">showContextMenuDirMulti</a></td>
115 <td>Public slot called before the context menu is shown.</td> 145 <td>Public slot called before the context menu is shown.</td>
116 </tr><tr> 146 </tr>
147 <tr>
117 <td><a href="#GitProjectBrowserHelper.showContextMenuMulti">showContextMenuMulti</a></td> 148 <td><a href="#GitProjectBrowserHelper.showContextMenuMulti">showContextMenuMulti</a></td>
118 <td>Public slot called before the context menu (multiple selections) is shown.</td> 149 <td>Public slot called before the context menu (multiple selections) is shown.</td>
119 </tr> 150 </tr>
120 </table> 151 </table>
121 <h3>Static Methods</h3> 152 <h3>Static Methods</h3>
153
122 <table> 154 <table>
123 <tr><td>None</td></tr> 155 <tr><td>None</td></tr>
124 </table> 156 </table>
157
125 <a NAME="GitProjectBrowserHelper.__init__" ID="GitProjectBrowserHelper.__init__"></a> 158 <a NAME="GitProjectBrowserHelper.__init__" ID="GitProjectBrowserHelper.__init__"></a>
126 <h4>GitProjectBrowserHelper (Constructor)</h4> 159 <h4>GitProjectBrowserHelper (Constructor)</h4>
127 <b>GitProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject, isTranslationsBrowser, parent=None, name=None</i>) 160 <b>GitProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject, isTranslationsBrowser, parent=None, name=None</i>)
161
128 <p> 162 <p>
129 Constructor 163 Constructor
130 </p><dl> 164 </p>
165 <dl>
166
131 <dt><i>vcsObject</i></dt> 167 <dt><i>vcsObject</i></dt>
132 <dd> 168 <dd>
133 reference to the vcs object 169 reference to the vcs object
134 </dd><dt><i>browserObject</i></dt> 170 </dd>
171 <dt><i>browserObject</i></dt>
135 <dd> 172 <dd>
136 reference to the project browser object 173 reference to the project browser object
137 </dd><dt><i>projectObject</i></dt> 174 </dd>
175 <dt><i>projectObject</i></dt>
138 <dd> 176 <dd>
139 reference to the project object 177 reference to the project object
140 </dd><dt><i>isTranslationsBrowser</i></dt> 178 </dd>
179 <dt><i>isTranslationsBrowser</i></dt>
141 <dd> 180 <dd>
142 flag indicating, the helper is requested 181 flag indicating, the helper is requested
143 for the translations browser (this needs some special treatment) 182 for the translations browser (this needs some special treatment)
144 </dd><dt><i>parent</i></dt> 183 </dd>
184 <dt><i>parent</i></dt>
145 <dd> 185 <dd>
146 parent widget (QWidget) 186 parent widget (QWidget)
147 </dd><dt><i>name</i></dt> 187 </dd>
188 <dt><i>name</i></dt>
148 <dd> 189 <dd>
149 name of this object (string) 190 name of this object (string)
150 </dd> 191 </dd>
151 </dl><a NAME="GitProjectBrowserHelper.__GitBlame" ID="GitProjectBrowserHelper.__GitBlame"></a> 192 </dl>
193 <a NAME="GitProjectBrowserHelper.__GitBlame" ID="GitProjectBrowserHelper.__GitBlame"></a>
152 <h4>GitProjectBrowserHelper.__GitBlame</h4> 194 <h4>GitProjectBrowserHelper.__GitBlame</h4>
153 <b>__GitBlame</b>(<i></i>) 195 <b>__GitBlame</b>(<i></i>)
196
154 <p> 197 <p>
155 Private slot called by the context menu to show the annotations of a 198 Private slot called by the context menu to show the annotations of a
156 file. 199 file.
157 </p><a NAME="GitProjectBrowserHelper.__GitConfigure" ID="GitProjectBrowserHelper.__GitConfigure"></a> 200 </p>
201 <a NAME="GitProjectBrowserHelper.__GitConfigure" ID="GitProjectBrowserHelper.__GitConfigure"></a>
158 <h4>GitProjectBrowserHelper.__GitConfigure</h4> 202 <h4>GitProjectBrowserHelper.__GitConfigure</h4>
159 <b>__GitConfigure</b>(<i></i>) 203 <b>__GitConfigure</b>(<i></i>)
204
160 <p> 205 <p>
161 Private method to open the configuration dialog. 206 Private method to open the configuration dialog.
162 </p><a NAME="GitProjectBrowserHelper.__GitCopy" ID="GitProjectBrowserHelper.__GitCopy"></a> 207 </p>
208 <a NAME="GitProjectBrowserHelper.__GitCopy" ID="GitProjectBrowserHelper.__GitCopy"></a>
163 <h4>GitProjectBrowserHelper.__GitCopy</h4> 209 <h4>GitProjectBrowserHelper.__GitCopy</h4>
164 <b>__GitCopy</b>(<i></i>) 210 <b>__GitCopy</b>(<i></i>)
211
165 <p> 212 <p>
166 Private slot called by the context menu to copy the selected file. 213 Private slot called by the context menu to copy the selected file.
167 </p><a NAME="GitProjectBrowserHelper.__GitExtendedDiff" ID="GitProjectBrowserHelper.__GitExtendedDiff"></a> 214 </p>
215 <a NAME="GitProjectBrowserHelper.__GitExtendedDiff" ID="GitProjectBrowserHelper.__GitExtendedDiff"></a>
168 <h4>GitProjectBrowserHelper.__GitExtendedDiff</h4> 216 <h4>GitProjectBrowserHelper.__GitExtendedDiff</h4>
169 <b>__GitExtendedDiff</b>(<i></i>) 217 <b>__GitExtendedDiff</b>(<i></i>)
218
170 <p> 219 <p>
171 Private slot called by the context menu to show the difference of a 220 Private slot called by the context menu to show the difference of a
172 file to the repository. 221 file to the repository.
173 </p><p> 222 </p>
223 <p>
174 This gives the chance to enter the revisions to compare. 224 This gives the chance to enter the revisions to compare.
175 </p><a NAME="GitProjectBrowserHelper.__GitForget" ID="GitProjectBrowserHelper.__GitForget"></a> 225 </p>
226 <a NAME="GitProjectBrowserHelper.__GitForget" ID="GitProjectBrowserHelper.__GitForget"></a>
176 <h4>GitProjectBrowserHelper.__GitForget</h4> 227 <h4>GitProjectBrowserHelper.__GitForget</h4>
177 <b>__GitForget</b>(<i></i>) 228 <b>__GitForget</b>(<i></i>)
229
178 <p> 230 <p>
179 Private slot called by the context menu to remove the selected file 231 Private slot called by the context menu to remove the selected file
180 from the Git repository leaving a copy in the project directory. 232 from the Git repository leaving a copy in the project directory.
181 </p><a NAME="GitProjectBrowserHelper.__GitMove" ID="GitProjectBrowserHelper.__GitMove"></a> 233 </p>
234 <a NAME="GitProjectBrowserHelper.__GitMove" ID="GitProjectBrowserHelper.__GitMove"></a>
182 <h4>GitProjectBrowserHelper.__GitMove</h4> 235 <h4>GitProjectBrowserHelper.__GitMove</h4>
183 <b>__GitMove</b>(<i></i>) 236 <b>__GitMove</b>(<i></i>)
237
184 <p> 238 <p>
185 Private slot called by the context menu to move the selected file. 239 Private slot called by the context menu to move the selected file.
186 </p><a NAME="GitProjectBrowserHelper.__GitRevert" ID="GitProjectBrowserHelper.__GitRevert"></a> 240 </p>
241 <a NAME="GitProjectBrowserHelper.__GitRevert" ID="GitProjectBrowserHelper.__GitRevert"></a>
187 <h4>GitProjectBrowserHelper.__GitRevert</h4> 242 <h4>GitProjectBrowserHelper.__GitRevert</h4>
188 <b>__GitRevert</b>(<i></i>) 243 <b>__GitRevert</b>(<i></i>)
244
189 <p> 245 <p>
190 Private slot to revert changes of the working area. 246 Private slot to revert changes of the working area.
191 </p><a NAME="GitProjectBrowserHelper.__GitSbsDiff" ID="GitProjectBrowserHelper.__GitSbsDiff"></a> 247 </p>
248 <a NAME="GitProjectBrowserHelper.__GitSbsDiff" ID="GitProjectBrowserHelper.__GitSbsDiff"></a>
192 <h4>GitProjectBrowserHelper.__GitSbsDiff</h4> 249 <h4>GitProjectBrowserHelper.__GitSbsDiff</h4>
193 <b>__GitSbsDiff</b>(<i></i>) 250 <b>__GitSbsDiff</b>(<i></i>)
251
194 <p> 252 <p>
195 Private slot called by the context menu to show the difference of a 253 Private slot called by the context menu to show the difference of a
196 file to the repository side-by-side. 254 file to the repository side-by-side.
197 </p><a NAME="GitProjectBrowserHelper.__GitSbsExtendedDiff" ID="GitProjectBrowserHelper.__GitSbsExtendedDiff"></a> 255 </p>
256 <a NAME="GitProjectBrowserHelper.__GitSbsExtendedDiff" ID="GitProjectBrowserHelper.__GitSbsExtendedDiff"></a>
198 <h4>GitProjectBrowserHelper.__GitSbsExtendedDiff</h4> 257 <h4>GitProjectBrowserHelper.__GitSbsExtendedDiff</h4>
199 <b>__GitSbsExtendedDiff</b>(<i></i>) 258 <b>__GitSbsExtendedDiff</b>(<i></i>)
259
200 <p> 260 <p>
201 Private slot called by the context menu to show the difference of a 261 Private slot called by the context menu to show the difference of a
202 file to the repository side-by-side. 262 file to the repository side-by-side.
203 </p><p> 263 </p>
264 <p>
204 It allows the selection of revisions to compare. 265 It allows the selection of revisions to compare.
205 </p><a NAME="GitProjectBrowserHelper.__GitUnstage" ID="GitProjectBrowserHelper.__GitUnstage"></a> 266 </p>
267 <a NAME="GitProjectBrowserHelper.__GitUnstage" ID="GitProjectBrowserHelper.__GitUnstage"></a>
206 <h4>GitProjectBrowserHelper.__GitUnstage</h4> 268 <h4>GitProjectBrowserHelper.__GitUnstage</h4>
207 <b>__GitUnstage</b>(<i></i>) 269 <b>__GitUnstage</b>(<i></i>)
270
208 <p> 271 <p>
209 Private slot to unstage changes. 272 Private slot to unstage changes.
210 </p><a NAME="GitProjectBrowserHelper._addVCSMenu" ID="GitProjectBrowserHelper._addVCSMenu"></a> 273 </p>
274 <a NAME="GitProjectBrowserHelper._addVCSMenu" ID="GitProjectBrowserHelper._addVCSMenu"></a>
211 <h4>GitProjectBrowserHelper._addVCSMenu</h4> 275 <h4>GitProjectBrowserHelper._addVCSMenu</h4>
212 <b>_addVCSMenu</b>(<i>mainMenu</i>) 276 <b>_addVCSMenu</b>(<i>mainMenu</i>)
277
213 <p> 278 <p>
214 Protected method used to add the VCS menu to all project browsers. 279 Protected method used to add the VCS menu to all project browsers.
215 </p><dl> 280 </p>
281 <dl>
282
216 <dt><i>mainMenu</i></dt> 283 <dt><i>mainMenu</i></dt>
217 <dd> 284 <dd>
218 reference to the menu to be amended 285 reference to the menu to be amended
219 </dd> 286 </dd>
220 </dl><a NAME="GitProjectBrowserHelper._addVCSMenuBack" ID="GitProjectBrowserHelper._addVCSMenuBack"></a> 287 </dl>
288 <a NAME="GitProjectBrowserHelper._addVCSMenuBack" ID="GitProjectBrowserHelper._addVCSMenuBack"></a>
221 <h4>GitProjectBrowserHelper._addVCSMenuBack</h4> 289 <h4>GitProjectBrowserHelper._addVCSMenuBack</h4>
222 <b>_addVCSMenuBack</b>(<i>mainMenu</i>) 290 <b>_addVCSMenuBack</b>(<i>mainMenu</i>)
291
223 <p> 292 <p>
224 Protected method used to add the VCS menu to all project browsers. 293 Protected method used to add the VCS menu to all project browsers.
225 </p><dl> 294 </p>
295 <dl>
296
226 <dt><i>mainMenu</i></dt> 297 <dt><i>mainMenu</i></dt>
227 <dd> 298 <dd>
228 reference to the menu to be amended 299 reference to the menu to be amended
229 </dd> 300 </dd>
230 </dl><a NAME="GitProjectBrowserHelper._addVCSMenuDir" ID="GitProjectBrowserHelper._addVCSMenuDir"></a> 301 </dl>
302 <a NAME="GitProjectBrowserHelper._addVCSMenuDir" ID="GitProjectBrowserHelper._addVCSMenuDir"></a>
231 <h4>GitProjectBrowserHelper._addVCSMenuDir</h4> 303 <h4>GitProjectBrowserHelper._addVCSMenuDir</h4>
232 <b>_addVCSMenuDir</b>(<i>mainMenu</i>) 304 <b>_addVCSMenuDir</b>(<i>mainMenu</i>)
305
233 <p> 306 <p>
234 Protected method used to add the VCS menu to all project browsers. 307 Protected method used to add the VCS menu to all project browsers.
235 </p><dl> 308 </p>
309 <dl>
310
236 <dt><i>mainMenu</i></dt> 311 <dt><i>mainMenu</i></dt>
237 <dd> 312 <dd>
238 reference to the menu to be amended 313 reference to the menu to be amended
239 </dd> 314 </dd>
240 </dl><a NAME="GitProjectBrowserHelper._addVCSMenuDirMulti" ID="GitProjectBrowserHelper._addVCSMenuDirMulti"></a> 315 </dl>
316 <a NAME="GitProjectBrowserHelper._addVCSMenuDirMulti" ID="GitProjectBrowserHelper._addVCSMenuDirMulti"></a>
241 <h4>GitProjectBrowserHelper._addVCSMenuDirMulti</h4> 317 <h4>GitProjectBrowserHelper._addVCSMenuDirMulti</h4>
242 <b>_addVCSMenuDirMulti</b>(<i>mainMenu</i>) 318 <b>_addVCSMenuDirMulti</b>(<i>mainMenu</i>)
319
243 <p> 320 <p>
244 Protected method used to add the VCS menu to all project browsers. 321 Protected method used to add the VCS menu to all project browsers.
245 </p><dl> 322 </p>
323 <dl>
324
246 <dt><i>mainMenu</i></dt> 325 <dt><i>mainMenu</i></dt>
247 <dd> 326 <dd>
248 reference to the menu to be amended 327 reference to the menu to be amended
249 </dd> 328 </dd>
250 </dl><a NAME="GitProjectBrowserHelper._addVCSMenuMulti" ID="GitProjectBrowserHelper._addVCSMenuMulti"></a> 329 </dl>
330 <a NAME="GitProjectBrowserHelper._addVCSMenuMulti" ID="GitProjectBrowserHelper._addVCSMenuMulti"></a>
251 <h4>GitProjectBrowserHelper._addVCSMenuMulti</h4> 331 <h4>GitProjectBrowserHelper._addVCSMenuMulti</h4>
252 <b>_addVCSMenuMulti</b>(<i>mainMenu</i>) 332 <b>_addVCSMenuMulti</b>(<i>mainMenu</i>)
333
253 <p> 334 <p>
254 Protected method used to add the VCS menu for multi selection to all 335 Protected method used to add the VCS menu for multi selection to all
255 project browsers. 336 project browsers.
256 </p><dl> 337 </p>
338 <dl>
339
257 <dt><i>mainMenu</i></dt> 340 <dt><i>mainMenu</i></dt>
258 <dd> 341 <dd>
259 reference to the menu to be amended 342 reference to the menu to be amended
260 </dd> 343 </dd>
261 </dl><a NAME="GitProjectBrowserHelper.showContextMenu" ID="GitProjectBrowserHelper.showContextMenu"></a> 344 </dl>
345 <a NAME="GitProjectBrowserHelper.showContextMenu" ID="GitProjectBrowserHelper.showContextMenu"></a>
262 <h4>GitProjectBrowserHelper.showContextMenu</h4> 346 <h4>GitProjectBrowserHelper.showContextMenu</h4>
263 <b>showContextMenu</b>(<i>menu, standardItems</i>) 347 <b>showContextMenu</b>(<i>menu, standardItems</i>)
348
264 <p> 349 <p>
265 Public slot called before the context menu is shown. 350 Public slot called before the context menu is shown.
266 </p><p> 351 </p>
352 <p>
267 It enables/disables the VCS menu entries depending on the overall 353 It enables/disables the VCS menu entries depending on the overall
268 VCS status and the file status. 354 VCS status and the file status.
269 </p><dl> 355 </p>
356 <dl>
357
270 <dt><i>menu</i></dt> 358 <dt><i>menu</i></dt>
271 <dd> 359 <dd>
272 reference to the menu to be shown 360 reference to the menu to be shown
273 </dd><dt><i>standardItems</i></dt> 361 </dd>
362 <dt><i>standardItems</i></dt>
274 <dd> 363 <dd>
275 array of standard items that need 364 array of standard items that need
276 activation/deactivation depending on the overall VCS status 365 activation/deactivation depending on the overall VCS status
277 </dd> 366 </dd>
278 </dl><a NAME="GitProjectBrowserHelper.showContextMenuDir" ID="GitProjectBrowserHelper.showContextMenuDir"></a> 367 </dl>
368 <a NAME="GitProjectBrowserHelper.showContextMenuDir" ID="GitProjectBrowserHelper.showContextMenuDir"></a>
279 <h4>GitProjectBrowserHelper.showContextMenuDir</h4> 369 <h4>GitProjectBrowserHelper.showContextMenuDir</h4>
280 <b>showContextMenuDir</b>(<i>menu, standardItems</i>) 370 <b>showContextMenuDir</b>(<i>menu, standardItems</i>)
371
281 <p> 372 <p>
282 Public slot called before the context menu is shown. 373 Public slot called before the context menu is shown.
283 </p><p> 374 </p>
375 <p>
284 It enables/disables the VCS menu entries depending on the overall 376 It enables/disables the VCS menu entries depending on the overall
285 VCS status and the directory status. 377 VCS status and the directory status.
286 </p><dl> 378 </p>
379 <dl>
380
287 <dt><i>menu</i></dt> 381 <dt><i>menu</i></dt>
288 <dd> 382 <dd>
289 reference to the menu to be shown 383 reference to the menu to be shown
290 </dd><dt><i>standardItems</i></dt> 384 </dd>
385 <dt><i>standardItems</i></dt>
291 <dd> 386 <dd>
292 array of standard items that need 387 array of standard items that need
293 activation/deactivation depending on the overall VCS status 388 activation/deactivation depending on the overall VCS status
294 </dd> 389 </dd>
295 </dl><a NAME="GitProjectBrowserHelper.showContextMenuDirMulti" ID="GitProjectBrowserHelper.showContextMenuDirMulti"></a> 390 </dl>
391 <a NAME="GitProjectBrowserHelper.showContextMenuDirMulti" ID="GitProjectBrowserHelper.showContextMenuDirMulti"></a>
296 <h4>GitProjectBrowserHelper.showContextMenuDirMulti</h4> 392 <h4>GitProjectBrowserHelper.showContextMenuDirMulti</h4>
297 <b>showContextMenuDirMulti</b>(<i>menu, standardItems</i>) 393 <b>showContextMenuDirMulti</b>(<i>menu, standardItems</i>)
394
298 <p> 395 <p>
299 Public slot called before the context menu is shown. 396 Public slot called before the context menu is shown.
300 </p><p> 397 </p>
398 <p>
301 It enables/disables the VCS menu entries depending on the overall 399 It enables/disables the VCS menu entries depending on the overall
302 VCS status and the directory status. 400 VCS status and the directory status.
303 </p><dl> 401 </p>
402 <dl>
403
304 <dt><i>menu</i></dt> 404 <dt><i>menu</i></dt>
305 <dd> 405 <dd>
306 reference to the menu to be shown 406 reference to the menu to be shown
307 </dd><dt><i>standardItems</i></dt> 407 </dd>
408 <dt><i>standardItems</i></dt>
308 <dd> 409 <dd>
309 array of standard items that need 410 array of standard items that need
310 activation/deactivation depending on the overall VCS status 411 activation/deactivation depending on the overall VCS status
311 </dd> 412 </dd>
312 </dl><a NAME="GitProjectBrowserHelper.showContextMenuMulti" ID="GitProjectBrowserHelper.showContextMenuMulti"></a> 413 </dl>
414 <a NAME="GitProjectBrowserHelper.showContextMenuMulti" ID="GitProjectBrowserHelper.showContextMenuMulti"></a>
313 <h4>GitProjectBrowserHelper.showContextMenuMulti</h4> 415 <h4>GitProjectBrowserHelper.showContextMenuMulti</h4>
314 <b>showContextMenuMulti</b>(<i>menu, standardItems</i>) 416 <b>showContextMenuMulti</b>(<i>menu, standardItems</i>)
417
315 <p> 418 <p>
316 Public slot called before the context menu (multiple selections) is 419 Public slot called before the context menu (multiple selections) is
317 shown. 420 shown.
318 </p><p> 421 </p>
422 <p>
319 It enables/disables the VCS menu entries depending on the overall 423 It enables/disables the VCS menu entries depending on the overall
320 VCS status and the files status. 424 VCS status and the files status.
321 </p><dl> 425 </p>
426 <dl>
427
322 <dt><i>menu</i></dt> 428 <dt><i>menu</i></dt>
323 <dd> 429 <dd>
324 reference to the menu to be shown 430 reference to the menu to be shown
325 </dd><dt><i>standardItems</i></dt> 431 </dd>
432 <dt><i>standardItems</i></dt>
326 <dd> 433 <dd>
327 array of standard items that need 434 array of standard items that need
328 activation/deactivation depending on the overall VCS status 435 activation/deactivation depending on the overall VCS status
329 </dd> 436 </dd>
330 </dl> 437 </dl>

eric ide

mercurial